summaryrefslogtreecommitdiff
path: root/t/subobj-c.sh
diff options
context:
space:
mode:
authorStefano Lattarini <stefano.lattarini@gmail.com>2012-10-27 18:22:58 +0200
committerStefano Lattarini <stefano.lattarini@gmail.com>2012-10-27 18:22:58 +0200
commit1a22cb32d6c2c385e6ab3d838c818b7057b29f6b (patch)
tree5bc1f5d9218cf9d68984b08de9f5fb9f5d5c23e7 /t/subobj-c.sh
parent90a874d77ae0143df410f18053b94c0416f6543d (diff)
downloadautomake-1a22cb32d6c2c385e6ab3d838c818b7057b29f6b.tar.gz
tests: prefer including 'test-init.sh' rather than './defs'
This is a follow-up to today's same-name commit v1.12.4-181-g5ddf100, which did the same for the test cases in master. * All tests: To run the common setup, use the command: . test-init.sh instead of the older, "historical" one: . ./defs || exit 1 Note that the "|| exit 1" wasn't really useful, since the 'errexit' shell flag is in effect in both './defs' and 'test-init.sh', and all the known shells that are good enough to run the automake testsuite do automatically exit with error when a sourced file cannot be found (at least, they do so in non-interactive mode, which is the only mode that concerns us in the testsuite). Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
Diffstat (limited to 't/subobj-c.sh')
-rwxr-xr-xt/subobj-c.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/subobj-c.sh b/t/subobj-c.sh
index eafecaf75..03964a3ce 100755
--- a/t/subobj-c.sh
+++ b/t/subobj-c.sh
@@ -18,7 +18,7 @@
# Keep in sync with sister test 'subobj-cxx.sh'.
required=cc
-. ./defs || exit 1
+. test-init.sh
cat >> configure.ac << 'END'
AC_PROG_CC