bug-m4
[Top][All Lists]
Advanced

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

Re: FYI, buildbot reports m4 test failure


From: Eric Blake
Subject: Re: FYI, buildbot reports m4 test failure
Date: Thu, 17 Apr 2008 05:58:13 -0600
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.12) Gecko/20080213 Thunderbird/2.0.0.12 Mnenhy/0.7.5.666

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

[adding bug-m4 - for a while now, Bob's buildbot has been reporting a failure]

According to Bob Proulx on 4/16/2008 11:26 PM:
|   ../../tests/builtins.at:298: echo 'divert(1)hi
|   format(%1000000d, 1)' | $M4 | sed 1q
|
+/usr/local/build/m4/build-i686-gnu-linux/build/project/build/src/.libs/lt-m4:
copying inserted file: Broken pipe
|
+/usr/local/build/m4/build-i686-gnu-linux/build/project/build/src/.libs/lt-m4:
write error
|   19. builtins.at:272: 19. divert (builtins.at:272): FAILED
(builtins.at:298)
|
| If I make a copy of the directory and run the 'make check' again it
| passes.

Ahh.  Sounds like a difference in whether SIGPIPE is being ignored in the
parent shell at the time the test is run.  So should m4 always be verbose
about pipe failures when inheriting an ignored SIGPIPE from the parent?  I
think the following will also work around it for this particular test:

input | m4 | { sed 1q; cat >/dev/null; }

so that m4's output is completely consumed, regardless of whether SIGPIPE
is ignored.

- --
Don't work too hard, make some time for fun as well!

Eric Blake             address@hidden
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkgHO1UACgkQ84KuGfSFAYAvOQCdEKYnSrQHVlfwu6AMmpT/J26d
2tgAoMbpwJnp3EmmRrlE3b2v9j2LGQiI
=6N+B
-----END PGP SIGNATURE-----




reply via email to

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