summaryrefslogtreecommitdiff
path: root/tests/ext.test
diff options
context:
space:
mode:
authorRalf Wildenhues <Ralf.Wildenhues@gmx.de>2010-05-27 07:49:04 +0200
committerRalf Wildenhues <Ralf.Wildenhues@gmx.de>2010-06-06 14:21:10 +0200
commit949d1f0e14c06caa70c5b2b1b791e24c931cf56d (patch)
tree5aae92768944c9e1dd20bdd99d1b57767464399f /tests/ext.test
parent71288283bca6ba61325feb86badbc7719bc90234 (diff)
downloadautomake-949d1f0e14c06caa70c5b2b1b791e24c931cf56d.tar.gz
Enable `errexit' shell flag in some test scripts.
* tests/dash.test: Enable `errexit' shell flag, and related changes. * tests/defun.test: Likewise. * tests/defun2.test: Likewise. * tests/dejagnu.test: Likewise. * tests/double.test: Likewise. * tests/distcom2.test: Likewise. * tests/empty2.test: Likewise. * tests/empty3.test: Likewise. * tests/empty4.test: Likewise. * tests/exdir.test: Likewise. * tests/ext.test: Likewise. * tests/extra.test: Likewise. * tests/extra2.test: Likewise. * tests/extra3.test: Likewise. * tests/extra4.test: Likewise. * tests/flibs.test: Likewise. * tests/fnoc.test: Likewise. * tests/fo.test: Likewise. * tests/instexec.test: Likewise. * tests/ltdeps.test: Likewise. * tests/nodep.test: Likewise. * tests/nodepcomp.test: Likewise. * tests/f90only.test: Likewise, and remove botched/obsoleted comments and unecessary commands. * tests/fonly.test: Likewise, and removed botched/obsolted comments and unecessary commands. * tests/discover.test: Likewise, and made stricter. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Diffstat (limited to 'tests/ext.test')
-rwxr-xr-xtests/ext.test9
1 files changed, 6 insertions, 3 deletions
diff --git a/tests/ext.test b/tests/ext.test
index 929afd54f..ef877b0da 100755
--- a/tests/ext.test
+++ b/tests/ext.test
@@ -1,5 +1,6 @@
#! /bin/sh
-# Copyright (C) 1999, 2001, 2002, 2006 Free Software Foundation, Inc.
+# Copyright (C) 1999, 2001, 2002, 2006, 2010 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
@@ -18,6 +19,8 @@
. ./defs || Exit 1
+set -e
+
cat >> configure.in << 'END'
AC_PROG_F77
AC_PROG_FC
@@ -30,8 +33,8 @@ bin_PROGRAMS = foo
foo_SOURCES = 1.f 2.for 3.f90 4.f95 5.F 6.F90 7.F95 8.r 9.m 10.upc
END
-$ACLOCAL || Exit 1
-$AUTOMAKE || Exit 1
+$ACLOCAL
+$AUTOMAKE
for ext in f for f90 f95 F F90 F95 r m upc
do