From 498d5f07cbf0c9bfc7532f1ed0e7bbe9ff0a9904 Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Wed, 11 Sep 2013 15:58:07 +1000 Subject: [PATCH] tests: always build tests 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 = \ -- 2.7.4