tests: always build tests
authorPeter Hutterer <peter.hutterer@who-t.net>
Wed, 11 Sep 2013 05:58:07 +0000 (15:58 +1000)
committerKristian Høgsberg <krh@bitplanet.net>
Wed, 11 Sep 2013 20:38:03 +0000 (13:38 -0700)
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

index 82bf630..398a275 100644 (file)
@@ -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 =                                  \