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 Mike Frysinger on 4/13/2009 4:40 AM:
>>> I just had to use "which" to force an absolute path as Valgrind does not
>> "which" probably isn't guaranteed to appear on every platform that
>> autoconf scripts might run on - ymmv
> 
> nor is it guaranteed to act sanely (stdout/stderr/exit status)
> 
> better to push the check to configure and AC_PATH_PROG()

Except that the point of the question was to be able to use the same
testsuite in both 'make check' (uninstalled) and 'make installcheck',
where the PATH determines which binary is being tested.  So, if valgrind
requires an absolute path, then you'll need to code a path-walking loop
into your testsuite, not configure.

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

iEYEARECAAYFAknjJlQACgkQ84KuGfSFAYC5AwCePNktkbjTYfWHH38VlmsMk8xS
GogAnjEjjvQF2CWeBJwSyqflLbmJshK/
=cwtI
-----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