bug-automake
[Top][All Lists]
Advanced

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

Re: make.test fails under NetBSD/sparc-1.5


From: Adrian Bunk
Subject: Re: make.test fails under NetBSD/sparc-1.5
Date: Wed, 29 Aug 2001 21:09:01 +0200 (CEST)

On 27 Aug 2001, Tom Tromey wrote:

> >>>>> "Adrian" == Adrian Bunk <address@hidden> writes:
>
> Adrian> this problem happens reproducable every time I run "make
> Adrian> check" in automake-1.5 (all other tests pass without any
> Adrian> problems):
>
> Thanks.  In all likelihood this is a bug in the test.
>
>
> Adrian> $ make check TESTS=make.test VERBOSE=t
> Adrian> config.status: creating Makefile
> Adrian> FAIL: make.test
>
> Could you help me find out what is going on?
>
> This might help:
>
>     grep '^am__include =' tests/testSubDir/Makefile

$ grep '^am__include =' tests/testSubDir/Makefile
am__include = include
$

The problem seems to be the "set -e" that make problems with the "for".
The following patch fixes the problem that sems to be specifix to the
NetBSD /bin/sh (another fix is to remove the "set -e" above):


--- tests/make.test.old Wed Aug 29 20:56:58 2001
+++ tests/make.test     Wed Aug 29 20:58:04 2001
@@ -31,6 +31,7 @@
 # This tests for a bug reported by Rainer Orth.

 save="$MAKE"
+set +e
 for flag in '' -w; do
    MAKE="$save $flag" ./configure



>From sh (1) on NetBSD:

    -e errexit       If not interactive, exit immediately if any
                     untested command fails.  The exit status of a com-
                     mand is considered to be explicitly tested if the
                     command is used to control an if, elif, while, or
                     until; or if the command is the left hand operand
                     of an ``&&'' or ``||'' operator.


> Tom

cu
Adrian

-- 

Get my GPG key: finger address@hidden | gpg --import

Fingerprint: B29C E71E FE19 6755 5C8A  84D4 99FC EA98 4F12 B400






reply via email to

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