]> git.ipfire.org Git - thirdparty/automake.git/commitdiff
tests: remove redundant settings of `errexit' shell flag
authorStefano Lattarini <stefano.lattarini@gmail.com>
Sun, 18 Sep 2011 17:25:38 +0000 (19:25 +0200)
committerStefano Lattarini <stefano.lattarini@gmail.com>
Sun, 18 Sep 2011 17:25:38 +0000 (19:25 +0200)
* tests/aclocal-acdir.test: Do not set the `errexit' shell
flag, as it is already set by `tests/defs'.
* tests/aclocal-print-acdir.test: Likewise.
* tests/distcheck-missing-m4.test: Likewise.
* tests/distcheck-outdated-m4.test: Likewise.
* tests/java-clean.test: Likewise.
* tests/java-compile-install.test: Likewise.
* tests/java-compile-run-flat.test: Likewise.
* tests/java-compile-run-nested.test: Likewise.
* tests/java-mix.test: Likewise.
* tests/java-no-duplicate.test: Likewise.
* tests/java-nobase.test: Likewise.
* tests/java-rebuild.test: Likewise.
* tests/java-sources.test: Likewise.
* tests/java-uninstall.test: Likewise.
* tests/javaflags.test: Likewise.
* tests/nobase-nodist.test: Likewise.
* tests/py-compile-basedir.test: Likewise.
* tests/py-compile-basic.test: Likewise.
* tests/py-compile-basic2.test: Likewise.
* tests/py-compile-destdir.test: Likewise.
* tests/py-compile-env.test: Likewise.
* tests/py-compile-option-terminate.test: Likewise.
* tests/py-compile-usage.test: Likewise.  Since we are at it,
add an extra blank line, for clarity.

24 files changed:
ChangeLog
tests/aclocal-acdir.test
tests/aclocal-print-acdir.test
tests/distcheck-missing-m4.test
tests/distcheck-outdated-m4.test
tests/java-clean.test
tests/java-compile-install.test
tests/java-compile-run-flat.test
tests/java-compile-run-nested.test
tests/java-mix.test
tests/java-no-duplicate.test
tests/java-nobase.test
tests/java-rebuild.test
tests/java-sources.test
tests/java-uninstall.test
tests/javaflags.test
tests/nobase-nodist.test
tests/py-compile-basedir.test
tests/py-compile-basic.test
tests/py-compile-basic2.test
tests/py-compile-destdir.test
tests/py-compile-env.test
tests/py-compile-option-terminate.test
tests/py-compile-usage.test

index a6de2e1990059b9462ad523418afa4462ede65c4..028d268a7fa1421a9f40a303e9094e74f293976e 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,32 @@
+2011-09-18  Stefano Lattarini  <stefano.lattarini@gmail.com>
+
+       tests: remove redundant settings of `errexit' shell flag
+       * tests/aclocal-acdir.test: Do not set the `errexit' shell
+       flag, as it is already set by `tests/defs'.
+       * tests/aclocal-print-acdir.test: Likewise.
+       * tests/distcheck-missing-m4.test: Likewise.
+       * tests/distcheck-outdated-m4.test: Likewise.
+       * tests/java-clean.test: Likewise.
+       * tests/java-compile-install.test: Likewise.
+       * tests/java-compile-run-flat.test: Likewise.
+       * tests/java-compile-run-nested.test: Likewise.
+       * tests/java-mix.test: Likewise.
+       * tests/java-no-duplicate.test: Likewise.
+       * tests/java-nobase.test: Likewise.
+       * tests/java-rebuild.test: Likewise.
+       * tests/java-sources.test: Likewise.
+       * tests/java-uninstall.test: Likewise.
+       * tests/javaflags.test: Likewise.
+       * tests/nobase-nodist.test: Likewise.
+       * tests/py-compile-basedir.test: Likewise.
+       * tests/py-compile-basic.test: Likewise.
+       * tests/py-compile-basic2.test: Likewise.
+       * tests/py-compile-destdir.test: Likewise.
+       * tests/py-compile-env.test: Likewise.
+       * tests/py-compile-option-terminate.test: Likewise.
+       * tests/py-compile-usage.test: Likewise.  Since we are at it,
+       add an extra blank line, for clarity.
+
 2011-09-16  Stefano Lattarini  <stefano.lattarini@gmail.com>
 
        automake: remove special handling of `ANSI2KNR' make variable
index e02db30e173f91a6daf25100c8205275178095bb..42f8b4534007f847929f130608047d18febbb094 100755 (executable)
@@ -20,8 +20,6 @@
 
 . ./defs || Exit 1
 
-set -e
-
 mkdir am sys
 
 cat >> configure.in <<'END'
index c55ae2b170c87e79458b568680389ebb279ca2c3..4094b3531160faaa7792ff37dcf63d0181e5696e 100755 (executable)
@@ -19,8 +19,6 @@
 am_create_testdir=empty
 . ./defs || Exit 1
 
-set -e
-
 $ACLOCAL --print-ac-dir
 test "`$ACLOCAL --print-ac-dir`" = "$am_system_acdir"
 
index f4e0edad6eef62b660fee9d442d1ec704d0ed08e..1e121433a0ed51355c6e47853eccc085b82c01ee 100755 (executable)
@@ -20,8 +20,6 @@
 
 . ./defs || Exit 1
 
-set -e
-
 cwd=`pwd` || fatal_ "cannot get current working directory"
 
 cp "$testsrcdir"/distcheck-hook-m4.am . \
index 74f2922a5668856268333901eacb0ff4bf5f4257..8a0e512a401ee7ea01bf2aae23c9b744c8abf2bc 100755 (executable)
@@ -20,8 +20,6 @@
 
 . ./defs || Exit 1
 
-set -e
-
 cwd=`pwd` || fatal_ "cannot get current working directory"
 
 cp "$testsrcdir"/distcheck-hook-m4.am . \
index 7db5e5371075154ae1a311059cab4e2cd515ffaa..c837ff7c5359ef6ebe391e750d0a6d4bdef66a56 100755 (executable)
@@ -19,8 +19,6 @@
 required=javac
 . ./defs || Exit 1
 
-set -e
-
 cat >> configure.in <<'END'
 AC_OUTPUT
 END
index 74b7a001feaeb0a08dfd4037642c51a06c734512..d947da38f4a3725c6d9e336a358aff74cbf79cd1 100755 (executable)
@@ -19,8 +19,6 @@
 required=javac
 . ./defs || Exit 1
 
-set -e
-
 cat >>configure.in <<'EOF'
 AC_OUTPUT
 EOF
index b5e1c3690e46ce211d6130e95a05f913c11e0a83..3e2bcfd8909e591da0c57a31bc8bb6aaec61cf40 100755 (executable)
@@ -27,8 +27,6 @@ required='java javac'
 am_parallel_tests=no
 . ./defs || Exit 1
 
-set -e
-
 echo "AC_SUBST([PATH_SEPARATOR], ['$PATH_SEPARATOR'])" >> configure.in
 
 cat >> configure.in <<'END'
index 9de874b859e3caaa90274bc1a2cae4f1d59b1e70..fd9ba4a633680aee1173a87de960ea45b54dbc85 100755 (executable)
@@ -28,8 +28,6 @@ required='java javac'
 am_parallel_tests=yes
 . ./defs || Exit 1
 
-set -e
-
 echo "AC_SUBST([PATH_SEPARATOR], ['$PATH_SEPARATOR'])" >> configure.in
 
 cat >> configure.in <<'END'
index d6a43e79edcd5447ba00774663767838da01bbf5..2bf4f727d1ef0c6b79ac49d0b341423610460046 100755 (executable)
@@ -20,8 +20,6 @@
 
 . ./defs || Exit 1
 
-set -e
-
 cat >> configure.in << 'END'
 AC_OUTPUT
 END
index ec42a3b09075b24d6601782f0dcba9e87f065534..d441c44339bd6775c26336285d601952835ce7b3 100755 (executable)
@@ -19,8 +19,6 @@
 
 . ./defs || Exit 1
 
-set -e
-
 cat > Makefile.am << 'END'
 javadir = $(datadir)/java
 java_JAVA = a.java
index 7b55290f4cdcc9856d6a057d396bd79bceeba1e6..b5e86dc5471411b7132037dcb4a5e105229cbcc6 100755 (executable)
@@ -19,8 +19,6 @@
 required=javac
 . ./defs || Exit 1
 
-set -e
-
 cat >>configure.in <<'END'
 AC_OUTPUT
 END
index 75be5f7339e7d25c41b929e0cc5d90a8f20adee1..0b5ad64f17fd0a85d9c4dcbda59be01ac5044602 100755 (executable)
@@ -19,8 +19,6 @@
 required='javac'
 . ./defs || Exit 1
 
-set -e
-
 cat >> configure.in <<'END'
 AC_OUTPUT
 END
index 770eb2d165416641d7d228baeb8bf378ebed154c..9bf8855f103ea259badd2fbdf899a3b02f353de6 100755 (executable)
@@ -19,8 +19,6 @@
 
 . ./defs || Exit 1
 
-set -e
-
 cat >> configure.in << 'END'
 AC_OUTPUT
 END
index 35d1e4a04bb1c2ab9647ff2360dae597779695c0..c1672e7b6120c92c0db57d7bca302cff2f6a26c2 100755 (executable)
@@ -19,8 +19,6 @@
 required=javac
 . ./defs || Exit 1
 
-set -e
-
 cat >> configure.in << 'END'
 AC_OUTPUT
 END
index 75643222f71150c8181ebd096037e6f30bfd78de..2b1e4716c4eda29fc106cbe4635c355ac63f0d51 100755 (executable)
@@ -18,8 +18,6 @@
 
 . ./defs || Exit 1
 
-set -e
-
 cat > fake-javac <<'END'
 #!/bin/sh
 echo "$*" > javaflags.list
index 90823e2a3c74f7e820a85d7a6a6258381bbb13a6..4ea9df4e4a7fd00860f978b9f7b7fbbd18f45212 100644 (file)
@@ -18,8 +18,6 @@
 
 . ./defs || Exit 1
 
-set -e
-
 # Simulate no emacs and no python (it shouldn't be needed in this test).
 EMACS="no" PYTHON=":"; export EMCAS PYTHON
 
index a277639cbc1854577ad411c2d863b34c94d4a992..d48301b1c172111c9e44b03f021b713194ff48bd 100755 (executable)
@@ -19,8 +19,6 @@
 required=python
 . ./defs || Exit 1
 
-set -e
-
 # We'll need to create files in `..', so we need one more subdirectory
 # level in order not to clutter up the top-level tests directory.
 mkdir sandbox
index a7a3f899cc58fc4e83d1c43880cc53abd76cfc55..6ea4d907fdccaafeb209440a6531a7b80b1fe643 100755 (executable)
@@ -21,8 +21,6 @@
 required=python
 . ./defs || Exit 1
 
-set -e
-
 cp "$testsrcdir/../lib/py-compile" .
 
 cat > foo.py <<'END'
index 0da0d42311ddc3989ad20bd46c66d11c1d099886..0e81e4386e5e2e5083df73e09a2d5c20bd5d5ced 100755 (executable)
@@ -21,8 +21,6 @@
 required=python
 . ./defs || Exit 1
 
-set -e
-
 ocwd=`pwd` || Exit 99
 
 pyfiles="
index 3d122e64b879c399a1f2eeb906c2084f8c3f41ef..59b7a7886b09a2781a509083b4a5e8520e118e23 100755 (executable)
@@ -19,8 +19,6 @@
 required=python
 . ./defs || Exit 1
 
-set -e
-
 cp "$testsrcdir/../lib/py-compile" .
 
 # Should not give false positives when grepping for it, so use
index a72d173c8ac275ca11bfb8dddfe1ff1db5bc14d9..028c7960e45aa90033144a5a93fa3cdabaedaaae 100755 (executable)
@@ -18,8 +18,6 @@
 
 . ./defs || Exit 1
 
-set -e
-
 cp "$testsrcdir/../lib/py-compile" .
 
 cat > my-py <<'END'
index 69f9bb5f181d136621008fa143eb32b6e934136a..20baca4e2dd607edda13da5e8f43b499bcc7da1b 100755 (executable)
@@ -20,8 +20,6 @@
 required=python
 . ./defs || Exit 1
 
-set -e
-
 cp "$testsrcdir/../lib/py-compile" .
 
 : > ./-o.py
index 7e8c786052bec8fd6cff01164800bb938a2a1f7d..0ec2427558ad5c32ad425a5406077280a383f09c 100755 (executable)
@@ -19,8 +19,6 @@
 
 . ./defs || Exit 1
 
-set -e
-
 cp "$testsrcdir/../lib/py-compile" .
 
 # --help
@@ -47,6 +45,7 @@ LC_ALL=C $EGREP "^py-compile $year-$month-$day\.$hour" stdout
 test `wc -l <stdout` -eq 1
 
 # Unknown option.
+
 for opt in -b -d --foo; do
   ./py-compile $opt 2>stderr && { cat stderr >&2; Exit 1; }
   cat stderr >&2