autoconf
[Top][All Lists]
Advanced

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

Re: [Autotest] Prefixing commands launched by AT_CHECK


From: Eric Blake
Subject: Re: [Autotest] Prefixing commands launched by AT_CHECK
Date: Mon, 13 Apr 2009 06:06:21 -0600
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.21) Gecko/20090302 Thunderbird/2.0.0.21 Mnenhy/0.7.6.666

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

According to Thomas Moulard on 4/13/2009 6:00 AM:
> About the "which" issue, Valgrind does not need an absolute path, it is just
> that I used to rely on the fact that my binaries are always in my PATH.

autotest can be made to guarantee that the binary under test IS in your
PATH.  That's the point of the AUTOTEST_PATH special variable, which in
turn is set to default to the directory passed to AC_CONFIG_TESTDIR.  From
the manual, note how you can use AUTOTEST_PATH to satisfy both 'make
check' and 'make installcheck':

check-local: atconfig atlocal $(TESTSUITE)
        $(SHELL) '$(TESTSUITE)' $(TESTSUITEFLAGS)

installcheck-local: atconfig atlocal $(TESTSUITE)
        $(SHELL) '$(TESTSUITE)' AUTOTEST_PATH='$(bindir)' \
          $(TESTSUITEFLAGS)

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

iEYEARECAAYFAknjKr0ACgkQ84KuGfSFAYBEogCgpjw+dKbGOFiqSFh1L1npaew9
/ocAnReOhwTXL0Qa7N1TMuvtDW+ux1Lo
=EHr/
-----END PGP SIGNATURE-----




reply via email to

[Prev in Thread] Current Thread [Next in Thread]