diff options
author | Ralf Wildenhues <Ralf.Wildenhues@gmx.de> | 2010-05-27 07:49:04 +0200 |
---|---|---|
committer | Ralf Wildenhues <Ralf.Wildenhues@gmx.de> | 2010-06-06 14:21:10 +0200 |
commit | 949d1f0e14c06caa70c5b2b1b791e24c931cf56d (patch) | |
tree | 5aae92768944c9e1dd20bdd99d1b57767464399f /tests/fonly.test | |
parent | 71288283bca6ba61325feb86badbc7719bc90234 (diff) | |
download | automake-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/fonly.test')
-rwxr-xr-x | tests/fonly.test | 25 |
1 files changed, 6 insertions, 19 deletions
diff --git a/tests/fonly.test b/tests/fonly.test index 6af719cef..b93b60290 100755 --- a/tests/fonly.test +++ b/tests/fonly.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,32 +20,18 @@ . ./defs || Exit 1 +set -e + cat >> configure.in << 'END' AC_PROG_F77 END -# Tue Aug 11 09:50:48 1998 Matthew D. Langston <langston@SLAC.Stanford.EDU> -# -# This test currently fails with automake v. 1.3 since automake assumes -# that elements of `bin_PROGRAMS' (e.g. zardoz) without a corresponding -# `_SOURCES' (e.g. zardoz_SOURCES) should be compiled from `zardoz.c' -# whether or not `zardoz.c' actually exists. For example, even if the -# file `zardoz.c' doesn't exist but the file `zardoz.f' does exist, this -# tests would still fail. -# -# Therefore, for now I have put in the line `zardoz_SOURCES = zardoz.f' -# (see below) so that automake's top-level `make check' won't fail, but -# this line should be removed once automake handles this situation -# correctly. - cat > Makefile.am <<'END' bin_PROGRAMS = zardoz zardoz_SOURCES = zardoz.f END -: > zardoz.f - -$ACLOCAL || Exit 1 -$AUTOMAKE || Exit 1 +$ACLOCAL +$AUTOMAKE grep 'zardoz.f' Makefile.in |