Skip to contentSkip to conversation

Makefile.am: Add target to all cross-compilation of testsuite

PATCH In review Saul Wold 2 participants 2 messages Oct 10, 2013 Kbuild

lore
Share & tools
lore

Saul Wold

author
#0 lore raw

PATCH 1/1 Makefile.am: Add target to all cross-compilation of testsuite

The buildtest-TESTS target allows for cross-compilation of the testsuites without the actual running of the tests that check normally does.

---
 Makefile.am | 3 +++
 1 file changed, 3 insertions(+)
Makefile.am +3 -0
index c165868..e22165c 100644
@@ -217,6 +217,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
 # ------------------------------------------------------------------------------
Signature · 1 line
1.8.3.1
#1 lore raw
Quoted 13 lines · Saul Wold

The buildtest-TESTS target allows for cross-compilation of the testsuites without the actual running of the tests that check normally does.

---
 Makefile.am | 3 +++
 1 file changed, 3 insertions(+)
Makefile.am +0 -0
index c165868..e22165c 100644

Makefile.am DISTCHECK_CONFIGURE_FLAGS=--enable-gtk-doc --sysconfdir=/etc --with-zlib

Quoted 10 lines
Makefile.am +3 -1
@@ -217,6 +217,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
 # ------------------------------------------------------------------------------
--

This patch has been applied. Thanks.

Lucas De Marchi