]> git.ipfire.org Git - thirdparty/kmod.git/commitdiff
Makefile.am: Add target to all cross-compilation of testsuite
authorSaul Wold <sgw@linux.intel.com>
Thu, 10 Oct 2013 01:09:52 +0000 (18:09 -0700)
committerLucas De Marchi <lucas.demarchi@intel.com>
Thu, 10 Oct 2013 04:17:09 +0000 (01:17 -0300)
The buildtest-TESTS target allows for cross-compilation of the testsuites
without the actual running of the tests that check normally does.

Makefile.am

index c28d2b42eacb6ff723488b7029ef043e0130c29a..3ec70d26a78c7f5b9115aad027982e495c6d52f0 100644 (file)
@@ -216,6 +216,9 @@ DISTCHECK_CONFIGURE_FLAGS=--enable-gtk-doc --sysconfdir=/etc --with-zlib \
 
 distclean-local: $(DISTCLEAN_LOCAL_HOOKS)
 
+buildtest-TESTS:
+       $(MAKE) $(AM_MAKEFLAGS) $(check_LTLIBRARIES) $(check_PROGRAMS)
+
 # ------------------------------------------------------------------------------
 # custom release helpers
 # ------------------------------------------------------------------------------