Re: AT_CHECK

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

 



-----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             ebb9@xxxxxxx
-----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
Autoconf@xxxxxxx
http://lists.gnu.org/mailman/listinfo/autoconf

[Index of Archives]     [GCC Help]     [Kernel Discussion]     [RPM Discussion]     [Red Hat Development]     [Yosemite News]     [Linux USB]     [Samba]

  Powered by Linux