summaryrefslogtreecommitdiff
path: root/tests/fo.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/fo.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/fo.test')
-rwxr-xr-xtests/fo.test9
1 files changed, 6 insertions, 3 deletions
diff --git a/tests/fo.test b/tests/fo.test
index 1d7809cd8..93d7d3f17 100755
--- a/tests/fo.test
+++ b/tests/fo.test
@@ -1,5 +1,6 @@
#! /bin/sh
-# Copyright (C) 1998, 1999, 2001, 2002 Free Software Foundation, Inc.
+# Copyright (C) 1998, 1999, 2001, 2002, 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
@@ -19,6 +20,8 @@
. ./defs || Exit 1
+set -e
+
cat >> configure.in << 'END'
AC_PROG_F77
END
@@ -30,7 +33,7 @@ END
: > doe.f
-$ACLOCAL || Exit 1
-$AUTOMAKE || Exit 1
+$ACLOCAL
+$AUTOMAKE
$FGREP 'doe.$(OBJEXT)' Makefile.in