Re: [Autotest] Prefixing commands launched by AT_CHECK

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

 



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

According to Thomas Moulard on 4/11/2009 5:14 AM:
> For now, I'm thinking about doing something like that:
> AT_CHECK([$TESTSUITE_PREFIX <my command>], [0], [expout], [ignore])
> ...and letting the test suite user defining the shell variable as he wants.

This is very doable.  In fact, it is how the m4 testsuite allows the user
to specify an alternate $SED program [1].  You can use atlocal.in to
perform initialization of your $TESTSUITE_PREFIX before any tests run,
then rely on that variable throughout your tests.

[1] http://git.savannah.gnu.org/cgit/m4.git/commit/?id=e21aa9fb

- --
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

iEYEARECAAYFAkngfVAACgkQ84KuGfSFAYCO3QCffJsxGl14sAOOYqHXuc4k1Cp9
UXsAoMHavAyFXOJWaqCxb19y5BQxLDOf
=KnOg
-----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