[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: AT_CHECK
From: |
Eric Blake |
Subject: |
Re: AT_CHECK |
Date: |
Mon, 12 May 2008 19:32:58 -0600 |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.14) Gecko/20080421 Thunderbird/2.0.0.14 Mnenhy/0.7.5.666 |
-----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 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
iEYEARECAAYFAkgo78oACgkQ84KuGfSFAYAEogCfZ9auhs5gvFUTZOcxb8F1EZlq
H8UAn3MbgkWaPaU2G6+B1EG54KUwWvZi
=gQJC
-----END PGP SIGNATURE-----
- AT_CHECK, Rikki Duncan, 2008/05/12
- Re: AT_CHECK,
Eric Blake <=