On Wed, Sep 11, 2013 at 03:58:07PM +1000, Peter Hutterer wrote: > 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.
Yay, I like that. I thought you had to use check_* with for make check, but of course it's TESTS that matter. thanks, Kristian > --- > 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 > > _______________________________________________ > wayland-devel mailing list > wayland-devel@lists.freedesktop.org > http://lists.freedesktop.org/mailman/listinfo/wayland-devel _______________________________________________ wayland-devel mailing list wayland-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/wayland-devel