From 1a95dd738f4b5cfb26e88b7089bc9c0836e4a0bc Mon Sep 17 00:00:00 2001 From: Hesham Almatary Date: Wed, 20 Nov 2019 14:55:18 +0000 Subject: testsuite: Only include termios10/termios11 tests if compiled with POSIX Both need POSIX support --- testsuites/libtests/Makefile.am | 4 ++++ 1 file changed, 4 insertions(+) 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 -- cgit v1.2.3