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

According to Rikki Duncan on 5/12/2008 11:39 AM:
| I have a test suite that compares a baseline output to an output created
| from a test driver.  If I add a fprintf to my test driver for debugging
| purposes the test fail because of that additional output. Is there a way
| to allow AT_CHECK to overlook this line of output from fprintf so the
| whole test does not fail?

Absolutely - AT_CHECK can run pretty much any shell command, so use sed on
the output to filter out your debug messages.  Autoconf does this itself; see
http://git.savannah.gnu.org/gitweb/?p=autoconf.git;a=blob;f=tests/local.at;h=a772a97;hb=4bd8756#l107
for some ideas.

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

Eric Blake             [EMAIL PROTECTED]
-----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

iEYEARECAAYFAkgo78oACgkQ84KuGfSFAYAEogCfZ9auhs5gvFUTZOcxb8F1EZlq
H8UAn3MbgkWaPaU2G6+B1EG54KUwWvZi
=gQJC
-----END PGP SIGNATURE-----


_______________________________________________
Autoconf mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/autoconf
  • AT_CHECK Rikki Duncan
    • Re: AT_CHECK Eric Blake

Reply via email to