From: Pekka Paalanen <[email protected]>

Put also test programs into noinst_PROGRAMS so that they get always
built. In check_PROGRAMS they are built for 'make check' but not for
'make'.

This makes it harder to accidentally break the test programs.

Signed-off-by: Pekka Paalanen <[email protected]>
---
 Makefile.am | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/Makefile.am b/Makefile.am
index be372da..457f451 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -178,11 +178,9 @@ AM_TESTS_ENVIRONMENT =                                     
                \
 TESTS = $(built_test_programs)                 \
        tests/scanner-test.sh
 
-check_PROGRAMS =                               \
-       $(built_test_programs)                  \
-       exec-fd-leak-checker
-
 noinst_PROGRAMS =                              \
+       $(built_test_programs)                  \
+       exec-fd-leak-checker                    \
        fixed-benchmark
 
 check_LTLIBRARIES = libtest-runner.la
-- 
2.7.3

_______________________________________________
wayland-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/wayland-devel

Reply via email to