summaryrefslogtreecommitdiff
path: root/tests/Makefile.am
diff options
context:
space:
mode:
authorStefano Lattarini <stefano.lattarini@gmail.com>2011-06-18 10:26:15 +0200
committerJim Meyering <meyering@redhat.com>2011-06-19 21:57:43 +0200
commita51c6e0356e5c66fd9c2539f220c6cd2ad2de1e7 (patch)
tree140be66a3b761344c06a19cac4fc92d84eec7ca5 /tests/Makefile.am
parente23f179557bc17bb7d2d72728d3b730d21aa41d8 (diff)
downloadcoreutils-a51c6e0356e5c66fd9c2539f220c6cd2ad2de1e7.tar.xz
tests: make test runner a script, not a shell function
This change implements a more correct and idiomatic use of the features of the Automake-provided 'parallel-tests' harness. Moreover, this change is required in order for the testsuite to continue to work with the new testsuite harness that is planned to be introduced in Automake 1.12 (which, as of the writing date, is still under development and in alpha state). * tests/shell-or-perl: New auxiliary script. * tests/Makefile.am (EXTRA_DIST): Distribute it. * tests/check.mk (TESTS_ENVIRONMENT): Remove definition of the `shell_or_perl_' shell function, whose code has been moved in the new script above (with a few improvements and extensions). Do not use it to run the test scripts. (LOG_COMPILER): New, properly invoking `shell-or-perl'.
Diffstat (limited to 'tests/Makefile.am')
-rw-r--r--tests/Makefile.am1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/Makefile.am b/tests/Makefile.am
index a324dc1eb..f8fbd38b8 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -20,6 +20,7 @@ EXTRA_DIST = \
other-fs-tmpdir \
require-perl \
sample-test \
+ shell-or-perl \
$(pr_data)
root_tests = \