diff options
author | Stefano Lattarini <stefano.lattarini@gmail.com> | 2012-07-25 18:14:23 +0200 |
---|---|---|
committer | Stefano Lattarini <stefano.lattarini@gmail.com> | 2012-07-26 14:11:33 +0200 |
commit | ecbceb3e4cb88019e490c4814ca7a7382e4e2299 (patch) | |
tree | 428f75bf2d28fe5bac8f1d06d46e2d596ed0824f /gen-testsuite-part | |
parent | 69f0f0a143dd9e8ddf45da1b0db2a99f305f2202 (diff) | |
download | automake-ecbceb3e4cb88019e490c4814ca7a7382e4e2299.tar.gz |
test defs: move in 't/ax/test-defs.sh'
We can do so with minimal churn, now that the early setup of $PATH in
both 'runtest' and AM_TESTS_ENVIRONMENT allow the '.' built-in to find
to-be-sourced shell scripts in 't/ax' automatically, both in in-tree
and VPATH builds.
With this change, we take another step forward a more rational and
"segregated" organization of our testsuite framework.
* defs-static.in: Rename ...
* t/ax/test-defs.in: ... like this, and adjust.
* Makefile.am, syntax-checks.mk, t/README, gen-testsuite-part,
t/tests-init.sh, t/ax/tap-setup.sh, t/tap-summary.sh, .gitignore,
t/testsuite-summary-color.sh, t/testsuite-summary-count.sh,
t/self-check-tap.sh, defs: Adjust.
Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
Diffstat (limited to 'gen-testsuite-part')
-rwxr-xr-x | gen-testsuite-part | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gen-testsuite-part b/gen-testsuite-part index 2e7905794..d646b2769 100755 --- a/gen-testsuite-part +++ b/gen-testsuite-part @@ -96,7 +96,7 @@ sub write_wrapper_script ($$$) print $file_handle unindent <<EOF; #! /bin/sh # This file has been automatically generated. DO NOT EDIT BY HAND! - . ./defs-static || exit 1 + . test-defs.sh $shell_setup_code # In the spirit of VPATH, we prefer a test in the build tree # over one in the source tree. |