speechd-discuss
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH 1/1] implement testinstall rule


From: Andrei Kholodnyi
Subject: [PATCH 1/1] implement testinstall rule
Date: Wed, 29 Sep 2010 22:09:10 +0200

make testinstall runs all tests on installation
---
 Makefile.am           |    3 +++
 src/tests/Makefile.am |    5 +----
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/Makefile.am b/Makefile.am
index d4d8378..6657357 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -8,3 +8,6 @@ SUBDIRS= include src config doc po
 EXTRA_DIST=  build.sh
 
 MAINTAINERCLEANFILES=configure
+
+testinstall: install check
+       cd src/tests && $(MAKE) $(AM_MAKEFLAGS) testinstall
diff --git a/src/tests/Makefile.am b/src/tests/Makefile.am
index 824808e..f6f39e6 100644
--- a/src/tests/Makefile.am
+++ b/src/tests/Makefile.am
@@ -59,11 +59,8 @@ clean-local:
        rm -f *.tmp
        rm -f -r autom4te.cache
 
-check-local: atconfig $(TESTSUITE)
-       $(SHELL) $(TESTSUITE) $(TESTSUITEFLAGS)
-
 # Run the test suite on the *installed* tree.
-installcheck-local: atconfig $(TESTSUITE)
+testinstall: atconfig $(TESTSUITE)
        $(SHELL) $(TESTSUITE) AUTOTEST_PATH="$(bindir)" $(TESTSUITEFLAGS)
 
 CLEANFILES = package.m4
-- 
1.6.0.4




reply via email to

[Prev in Thread] Current Thread [Next in Thread]