[PATCH weston 1/5] tests: always build tests

Peter Hutterer peter.hutterer at who-t.net
Tue Sep 10 22:58:07 PDT 2013


check_PROGRAMS and friends are only built during make check. Which is a
great way of introducing compiler errors in tests. Always build them, TESTS
defines what's being run during make check.
---
 tests/Makefile.am | 12 ++++--------
 1 file changed, 4 insertions(+), 8 deletions(-)

diff --git a/tests/Makefile.am b/tests/Makefile.am
index 82bf630..398a275 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -29,18 +29,14 @@ clean-local:
 export abs_builddir
 
 noinst_LTLIBRARIES =			\
-	$(weston_test)
+	$(weston_test)			\
+	$(module_tests)
 
 noinst_PROGRAMS =			\
 	$(setbacklight)			\
-	matrix-test
-
-check_LTLIBRARIES =			\
-	$(module_tests)
-
-check_PROGRAMS =			\
 	$(shared_tests)			\
-	$(weston_tests)
+	$(weston_tests)			\
+	matrix-test
 
 AM_CFLAGS = $(GCC_CFLAGS)
 AM_CPPFLAGS =					\
-- 
1.8.3.1



More information about the wayland-devel mailing list