testsuite: Only include termios10/termios11 tests if compiled with POSIX

Both need POSIX support
This commit is contained in:
Hesham Almatary
2019-11-20 14:55:18 +00:00
parent 11455b2e6d
commit 1a95dd738f

View File

@@ -1489,6 +1489,7 @@ termios09_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_termios09) \
endif endif
if TEST_termios10 if TEST_termios10
if HAS_POSIX
lib_tests += termios10 lib_tests += termios10
lib_screens += termios10/termios10.scn lib_screens += termios10/termios10.scn
lib_docs += termios10/termios10.doc lib_docs += termios10/termios10.doc
@@ -1497,8 +1498,10 @@ termios10_SOURCES += termios03/termios_testdriver_polled.c
termios10_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_termios10) \ termios10_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_termios10) \
$(support_includes) $(support_includes)
endif endif
endif
if TEST_termios11 if TEST_termios11
if HAS_POSIX
lib_tests += termios11 lib_tests += termios11
lib_screens += termios11/termios11.scn lib_screens += termios11/termios11.scn
lib_docs += termios11/termios11.doc lib_docs += termios11/termios11.doc
@@ -1507,6 +1510,7 @@ termios11_SOURCES += termios04/termios_testdriver_intr.c
termios11_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_termios11) \ termios11_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_termios11) \
$(support_includes) $(support_includes)
endif endif
endif
if TEST_top if TEST_top
lib_tests += top lib_tests += top