automake-patches
[Top][All Lists]
Advanced

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

subdirbuiltsources-set-e.patch


From: Alexandre Duret-Lutz
Subject: subdirbuiltsources-set-e.patch
Date: 25 Nov 2001 22:42:24 +0100
User-agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7

FAIL: subdirbuiltsources.test

This occurs when running the testsuite on OpenBSD 2.9.
/bin/sh is PD KSH v5.2.14, and with `set -e' it aborts when
running `unset MFLAGS' (from defs) because MFLAGS is not
defined.

Index: ChangeLog
--- ChangeLog
+++ ChangeLog
@@ -1,1 +1,6 @@
+2001-11-25  Alexandre Duret-Lutz  <address@hidden>
+
+       * tests/subdirbuiltsources.test: Set -e after sourcing defs, not
+       before.
+

Index: tests/subdirbuiltsources.test
===================================================================
RCS file: 
/home/adl/CVSROOT/automake-20011123-1047/tests/subdirbuiltsources.test,v
retrieving revision 1.1
diff -u -r1.1 subdirbuiltsources.test
--- tests/subdirbuiltsources.test       23 Nov 2001 09:48:08 -0000      1.1
+++ tests/subdirbuiltsources.test       25 Nov 2001 21:33:46 -0000
@@ -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 @@
 noinst_LIBRARIES = libfoo.a
 libfoo_a_SOURCES = foo.c
 BUILT_SOURCES=foo.h
-foo.h: 
+foo.h:
        echo \#define FOO_DEFINE 1 >$@
 END
 
-- 
Alexandre Duret-Lutz



reply via email to

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