diff options
author | Hesham Almatary <Hesham.Almatary@cl.cam.ac.uk> | 2019-11-20 14:55:18 +0000 |
---|---|---|
committer | Hesham Almatary <Hesham.Almatary@cl.cam.ac.uk> | 2019-11-21 10:32:46 +0000 |
commit | 1a95dd738f4b5cfb26e88b7089bc9c0836e4a0bc (patch) | |
tree | 0bd1283bc56f9507fa411ea92ba23800a7789124 | |
parent | 11455b2e6d7799297332a31a09496177ab792b27 (diff) |
testsuite: Only include termios10/termios11 tests if compiled with POSIX
Both need POSIX support
-rw-r--r-- | testsuites/libtests/Makefile.am | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/testsuites/libtests/Makefile.am b/testsuites/libtests/Makefile.am index b7a102dc7f..a97a833966 100644 --- a/testsuites/libtests/Makefile.am +++ b/testsuites/libtests/Makefile.am @@ -1489,6 +1489,7 @@ termios09_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_termios09) \ endif if TEST_termios10 +if HAS_POSIX lib_tests += termios10 lib_screens += termios10/termios10.scn lib_docs += termios10/termios10.doc @@ -1497,8 +1498,10 @@ termios10_SOURCES += termios03/termios_testdriver_polled.c termios10_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_termios10) \ $(support_includes) endif +endif if TEST_termios11 +if HAS_POSIX lib_tests += termios11 lib_screens += termios11/termios11.scn lib_docs += termios11/termios11.doc @@ -1507,6 +1510,7 @@ termios11_SOURCES += termios04/termios_testdriver_intr.c termios11_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_termios11) \ $(support_includes) endif +endif if TEST_top lib_tests += top |