[PATCH wayland] Makefile: build also test programs during a normal build
Pekka Paalanen
ppaalanen at gmail.com
Wed Nov 16 11:46:08 UTC 2016
From: Pekka Paalanen <pekka.paalanen at collabora.co.uk>
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 <pekka.paalanen at collabora.co.uk>
---
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
More information about the wayland-devel
mailing list