From: Alexandre Duret-Lutz Date: Mon, 26 Nov 2001 18:05:43 +0000 (+0000) Subject: * tests/subdirbuiltsources.test: Set -e after sourcing defs, not X-Git-Tag: Release-1-5b~11 X-Git-Url: https://sourceware.org/git/?a=commitdiff_plain;h=1e94f7089b18cdba09b8665e697c9e09a6e4b656;p=automake.git * tests/subdirbuiltsources.test: Set -e after sourcing defs, not before. --- diff --git a/ChangeLog b/ChangeLog index 33f99e86..0b3096e4 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2001-11-26 Alexandre Duret-Lutz + + * tests/subdirbuiltsources.test: Set -e after sourcing defs, not + before. + 2001-11-26 Alexandre Duret-Lutz * tests/lex3.test: Require GNU Make. diff --git a/tests/subdirbuiltsources.test b/tests/subdirbuiltsources.test index 045a92eb..9ec8dcc6 100755 --- a/tests/subdirbuiltsources.test +++ b/tests/subdirbuiltsources.test @@ -1,11 +1,11 @@ #! /bin/sh -set -e # Make sure when using SUBDIR that all BUILT_SOURCES are built. # A bug occurred where subdirs do not have all-recursive or # all-recursive-am which depended on BUILT_SOURCES. . $srcdir/defs || exit 1 +set -e mkdir lib @@ -34,7 +34,7 @@ pkgdata_DATA = noinst_LIBRARIES = libfoo.a libfoo_a_SOURCES = foo.c BUILT_SOURCES=foo.h -foo.h: +foo.h: echo \#define FOO_DEFINE 1 >$@ END