[PATCH weston 1/4] tests: Use check_* variables but build by default

Quentin Glidic sardemff7+wayland at sardemff7.net
Wed Oct 23 21:15:35 CEST 2013


From: Quentin Glidic <sardemff7+git at sardemff7.net>

Signed-off-by: Quentin Glidic <sardemff7+git at sardemff7.net>
---
 tests/Makefile.am | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/tests/Makefile.am b/tests/Makefile.am
index 5be52c6..d810d8a 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -31,16 +31,19 @@ clean-local:
 # To remove when automake 1.11 support is dropped
 export abs_builddir
 
-noinst_LTLIBRARIES =			\
+check_LTLIBRARIES =			\
 	$(weston_test)			\
 	$(module_tests)
 
-noinst_PROGRAMS =			\
+check_PROGRAMS =			\
 	$(setbacklight)			\
 	$(shared_tests)			\
 	$(weston_tests)			\
 	matrix-test
 
+# We build tests with the default "all" target too
+all-local: $(check_LTLIBRARIES) $(check_PROGRAMS)
+
 AM_CFLAGS = $(GCC_CFLAGS)
 AM_CPPFLAGS =					\
 	-I$(top_srcdir)/src			\
-- 
1.8.4.1



More information about the wayland-devel mailing list