bug-autoconf
[Top][All Lists]
Advanced

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

NetBSD test results: AS_EXIT failure


From: Ralf Wildenhues
Subject: NetBSD test results: AS_EXIT failure
Date: Sun, 11 Jan 2009 13:14:51 +0100
User-agent: Mutt/1.5.18 (2008-05-17)

Hello,

FYI, on NetBSD, current git Autoconf fails the AS_EXIT fails one test,
like this:

| 62. m4sh.at:301: testing ...
| ../../autoconf/tests/m4sh.at:319: autom4te --language=m4sh script.as -o 
script 
| ../../autoconf/tests/m4sh.at:320: ./script
| ../../autoconf/tests/m4sh.at:321: ./script ''
| ../../autoconf/tests/m4sh.at:322: ./script a
| ../../autoconf/tests/m4sh.at:323: ./script b
| ../../autoconf/tests/m4sh.at:324: ./script b 0
| ../../autoconf/tests/m4sh.at:325: ./script b 2
| ../../autoconf/tests/m4sh.at:326: ./script c 0
| ../../autoconf/tests/m4sh.at:327: ./script c 2
| ../../autoconf/tests/m4sh.at:328: ./script d
| ../../autoconf/tests/m4sh.at:336: ./script '' e
| ../../autoconf/tests/m4sh.at:337: ./script d e
| --- -   2009-01-11 11:09:04.000000000 +0000
| +++ /home/ralf/ac/build/tests/testsuite.dir/at-groups/62/stdout 2009-01-11 
11:09:04.000000000 +0000
| @@ -1,2 +1 @@
| -3
|  
| 62. m4sh.at:301: 62. AS_EXIT (m4sh.at:301): FAILED (m4sh.at:337)


Running the script manually:

$ sh -x script d e ; echo $?
[...]
+ 'SHELL=/bin/sh'
+ export SHELL
+ 'as_unset=as_fn_unset'
+ test xd '=' xa
+ test xd '=' xb
+ test xd '=' xc
+ test xd '=' xd
+ trap 's=$?; echo $s; as_fn_exit $s' 0
+ test xe '=' xe
+ set '-e'
+ test 2 '-gt' 0
+ 'as_fn_set_status' 3
+ return 3
+ 's=3'
3


I'm not quite sure what's happening here.  It's anyway not such a big
problem, so it may be best to just SKIP the test in this case.  If
analyzed better, it should be reported to the NetBSD people though.

Cheers,
Ralf




reply via email to

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