summaryrefslogtreecommitdiff
path: root/t/ac-output-old.tap
diff options
context:
space:
mode:
authorStefano Lattarini <stefano.lattarini@gmail.com>2012-10-27 12:59:41 +0200
committerStefano Lattarini <stefano.lattarini@gmail.com>2012-10-27 12:59:41 +0200
commit0610fc8ebe02125d556bd81b6a78c3306efd25e2 (patch)
tree8096f5fdce968bc5b227195fe75105ba8b46d97b /t/ac-output-old.tap
parentd8f47b194d55dfb31a116106032eaf81bdf5656e (diff)
downloadautomake-0610fc8ebe02125d556bd81b6a78c3306efd25e2.tar.gz
tests: prepare to move ./defs to t/ax/test-init.sh
We don't do this in a sweeping passage, because that would cause endless headaches in the synchronization between the maint, master and ng/master branches. Instead, we setup our framework to allow test scripts to work by sourcing either './defs' or 'test-init.sh', so that we'll be able to make the transition gradual and painless. * t/ax/test-init.sh: New, copied from the previous ./defs file. * defs: Simply work by sourcing the new file. * Makefile.am (dist_noinst_DATA): List the new file. * t/README: Adjust to mandate the sourcing of 'test-init.sh' rather than of './defs'. * t/c-demo.sh: Source 'test-init.sh' instead of ./defs. This is done to verify our new setup actually works. * t/ac-output-old.tap: Likewise. Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
Diffstat (limited to 't/ac-output-old.tap')
-rwxr-xr-xt/ac-output-old.tap2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/ac-output-old.tap b/t/ac-output-old.tap
index be7e34976..e45fb5f28 100755
--- a/t/ac-output-old.tap
+++ b/t/ac-output-old.tap
@@ -18,7 +18,7 @@
# line breaking in the use of AC_OUTPUT. Synthesised by a bunch
# of older tests (referenced below).
-. ./defs || exit 1
+. test-init.sh
plan_ 22