[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug-tar] Honor TESTSUITEFLAGS
From: |
Eric Blake |
Subject: |
[Bug-tar] Honor TESTSUITEFLAGS |
Date: |
Tue, 12 May 2009 19:58:45 +0000 (UTC) |
User-agent: |
Loom/3.14 (http://gmane.org/) |
The autoconf manual recommends that packages that use autotest should allow for
user control over the testsuite via make (such as setting extra env-vars, or
selecting only a subset of tests) by passing TESTSUITEFLAGS in the Makefile.
Until such time as automake makes autotest integration easy, we have to support
it manually.
From: Eric Blake <address@hidden>
Date: Tue, 12 May 2009 13:54:21 -0600
Subject: [PATCH] Follow autoconf recommendation for TESTSUITEFLAGS.
* tests/Makefile.am (check-local, installcheck-local): Honor
TESTSUITEFLAGS.
Signed-off-by: Eric Blake <address@hidden>
---
tests/Makefile.am | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/tests/Makefile.am b/tests/Makefile.am
index 2c13231..e44dad7 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -140,7 +140,7 @@ clean-local:
test ! -f $(TESTSUITE) || $(SHELL) $(TESTSUITE) --clean
check-local: atconfig atlocal $(TESTSUITE)
- $(SHELL) $(TESTSUITE)
+ $(SHELL) $(TESTSUITE) $(TESTSUITEFLAGS)
check-full:
FULL_TEST=1 $(MAKE) check
@@ -149,7 +149,7 @@ check-full:
# Run the test suite on the *installed* tree.
installcheck-local:
- $(SHELL) $(TESTSUITE) AUTOTEST_PATH=$(exec_prefix)/bin
+ $(SHELL) $(TESTSUITE) $(TESTSUITEFLAGS) AUTOTEST_PATH=$(exec_prefix)/bin
## ------------ ##
--
1.6.2.4
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Bug-tar] Honor TESTSUITEFLAGS,
Eric Blake <=