automake-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[FYI] {master} tests: remove redundant 'set -e' calls


From: Stefano Lattarini
Subject: [FYI] {master} tests: remove redundant 'set -e' calls
Date: Sun, 22 Jan 2012 18:00:53 +0100

* tests/aclocal-install-absdir.test: Do not set the 'errexit' shell
flag, as it is already set by 'tests/defs'.
* tests/distcheck-pr10470.test: Likewise.
* tests/objext-pr10128.test: Likewise.
* tests/parallel-tests-dry-run-1.test: Likewise.
* tests/silent-nested-vars.test: Likewise.
* tests/tar-override.test: Likewise.
* tests/vala-mix.test: Likewise.
* tests/vala-vpath.test: Likewise.
---
 tests/aclocal-install-absdir.test   |    4 +---
 tests/distcheck-pr10470.test        |    2 --
 tests/objext-pr10128.test           |    2 --
 tests/parallel-tests-dry-run-1.test |    2 --
 tests/silent-nested-vars.test       |    4 +---
 tests/tar-override.test             |    4 +---
 tests/vala-mix.test                 |    2 --
 tests/vala-vpath.test               |    2 --
 8 files changed, 3 insertions(+), 19 deletions(-)

diff --git a/tests/aclocal-install-absdir.test 
b/tests/aclocal-install-absdir.test
index 1a642b5..64d9b62 100755
--- a/tests/aclocal-install-absdir.test
+++ b/tests/aclocal-install-absdir.test
@@ -1,5 +1,5 @@
 #! /bin/sh
-# Copyright (C) 2011 Free Software Foundation, Inc.
+# Copyright (C) 2011, 2012 Free Software Foundation, Inc.
 #
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
@@ -21,8 +21,6 @@
 
 . ./defs || Exit 1
 
-set -e
-
 mkdir loc sys
 
 echo 'AM_DUMMY_MACRO' >> configure.in
diff --git a/tests/distcheck-pr10470.test b/tests/distcheck-pr10470.test
index d3e4839..5e90d0a 100755
--- a/tests/distcheck-pr10470.test
+++ b/tests/distcheck-pr10470.test
@@ -22,8 +22,6 @@
 am_parallel_tests=no
 . ./defs || Exit 1
 
-set -e
-
 mkdir foo.d
 sh -c "cd foo.d && sleep '4'" &
 # Without this sleep, the "rm -rf foo.d" below would reliably beat
diff --git a/tests/objext-pr10128.test b/tests/objext-pr10128.test
index 0692164..120986c 100755
--- a/tests/objext-pr10128.test
+++ b/tests/objext-pr10128.test
@@ -19,8 +19,6 @@
 
 . ./defs || Exit 1
 
-set -e
-
 echo AC_OUTPUT >> configure.in
 
 cat > Makefile.am <<'END'
diff --git a/tests/parallel-tests-dry-run-1.test 
b/tests/parallel-tests-dry-run-1.test
index b0f94e5..4ed59f0 100755
--- a/tests/parallel-tests-dry-run-1.test
+++ b/tests/parallel-tests-dry-run-1.test
@@ -20,8 +20,6 @@
 am_parallel_tests=yes
 . ./defs || Exit 1
 
-set -e
-
 echo AC_OUTPUT >> configure.in
 
 cat > Makefile.am <<'END'
diff --git a/tests/silent-nested-vars.test b/tests/silent-nested-vars.test
index 0024b5d..4e5d73e 100755
--- a/tests/silent-nested-vars.test
+++ b/tests/silent-nested-vars.test
@@ -1,5 +1,5 @@
 #!/bin/sh
-# Copyright (C) 2011 Free Software Foundation, Inc.
+# Copyright (C) 2011, 2012 Free Software Foundation, Inc.
 #
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
@@ -19,8 +19,6 @@
 
 . ./defs || Exit 1
 
-set -e
-
 cat >>configure.in <<'EOF'
 AM_SILENT_RULES
 AC_PROG_CC
diff --git a/tests/tar-override.test b/tests/tar-override.test
index b08c9f8..3dd4180 100755
--- a/tests/tar-override.test
+++ b/tests/tar-override.test
@@ -1,5 +1,5 @@
 #! /bin/sh
-# Copyright (C) 2011 Free Software Foundation, Inc.
+# Copyright (C) 2011, 2012 Free Software Foundation, Inc.
 #
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
@@ -21,8 +21,6 @@
 
 . ./defs || Exit 1
 
-set -e
-
 cwd=`pwd` || fatal_ "couldn't get current working directory"
 
 echo AC_OUTPUT >> configure.in
diff --git a/tests/vala-mix.test b/tests/vala-mix.test
index 73a07d9..b1d1baf 100755
--- a/tests/vala-mix.test
+++ b/tests/vala-mix.test
@@ -19,8 +19,6 @@
 required='valac cc GNUmake'
 . ./defs || Exit 1
 
-set -e
-
 cat >> configure.in <<'END'
 AC_PROG_CC
 AM_PROG_CC_C_O
diff --git a/tests/vala-vpath.test b/tests/vala-vpath.test
index 8f2b677..c878c86 100755
--- a/tests/vala-vpath.test
+++ b/tests/vala-vpath.test
@@ -20,8 +20,6 @@
 required="valac GNUmake"
 . ./defs || Exit 1
 
-set -e
-
 cat >> configure.in << 'END'
 AC_CONFIG_SRCDIR([hello.vala])
 AC_PROG_CC
-- 
1.7.7.3




reply via email to

[Prev in Thread] Current Thread [Next in Thread]