Skip to content

Commit f911f8c

Browse files
hinxxanjohnson
authored andcommitted
fix Makefile test for including readlineTest
1 parent 693c95e commit f911f8c

1 file changed

Lines changed: 1 addition & 8 deletions

File tree

modules/libcom/test/Makefile

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -344,14 +344,7 @@ TESTS += nonEpicsThreadPriorityTest
344344
endif
345345
endif
346346

347-
# HK: improve detection of valid command line libraries
348-
ifeq ($(COMMANDLINE_LIBRARY),READLINE)
349-
TESTPROD_HOST += readlineTest
350-
readlineTest_SRCS += readlineTest.c
351-
TESTS += readlineTest
352-
TESTFILES += ../multiline-input.txt ../multiline-expect.txt
353-
endif
354-
ifeq ($(COMMANDLINE_LIBRARY),EPICS)
347+
ifneq ($(filter READLINE EPICS,$(COMMANDLINE_LIBRARY)),)
355348
TESTPROD_HOST += readlineTest
356349
readlineTest_SRCS += readlineTest.c
357350
TESTS += readlineTest

0 commit comments

Comments
 (0)