autoconf
[Top][All Lists]
Advanced

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

Re: 2.53a m4sh.at:74 failure


From: Akim Demaille
Subject: Re: 2.53a m4sh.at:74 failure
Date: 22 Apr 2002 11:12:32 +0200
User-agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.4 (Common Lisp)

>>>>> "Patrick" == Patrick Welche <address@hidden> writes:

Patrick> On Thu, Apr 18, 2002 at 05:40:25PM +0200, Akim Demaille
Patrick> wrote:
>> Heck, it is right!  How come I did not see that failure :(
>> 
>> Try this one.

Patrick> It seems to do the same as before..

I've changed of strategy: I'm applying this patch as soon as I have
checked that it works as expected.  Thanks!

Index: ChangeLog
from  Akim Demaille  <address@hidden>

        * tests/m4sh.at (LINENO): Skip the test if LINENO cannot be unset.
        Fixes false failures on Darwin.


Index: tests/m4sh.at
===================================================================
RCS file: /cvsroot/autoconf/autoconf/tests/m4sh.at,v
retrieving revision 1.30
diff -u -u -r1.30 m4sh.at
--- tests/m4sh.at 21 Apr 2002 07:25:21 -0000 1.30
+++ tests/m4sh.at 22 Apr 2002 09:11:45 -0000
@@ -45,6 +45,11 @@
 [AT_DATA([$1],
 [[AS@&address@hidden
 if $2; then
+  # We cannot unset LINENO with Zsh, yet this test case relies on
+  # unsetting LINENO to compare its result when (i) LINENO is supported
+  # and when (ii) it is not.
+  # So just skip is the shell is ZSH.
+  test -n "${ZSH_VERSION+set}" && AS@&address@hidden([cannot unset LINENO], 77)
   AS@&address@hidden([LINENO])
 fi
 _AS@&address@hidden
@@ -84,8 +89,8 @@
                                                   0, [expout])
 AT_CHECK([sh ./test/test-2],                       0, [expout])
 
-# Beware that *.lineno scripts can be *here* while the masters are in test/.
-AT_CLEANUP(reference test test-1.lineno test-2.lineno)
+AT_CLEANUP
+
 
 
 ## ------------ ##
@@ -232,7 +237,7 @@
 AT_CHECK_M4SH
 AT_CHECK([./script])
 
-AT_CLEANUP(1 a)
+AT_CLEANUP
 
 
 



reply via email to

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