This is the mail archive of the
automake@gnu.org
mailing list for the automake project.
Re: make check vs make installcheck
- To: Simon Perkins <s dot perkins at lanl dot gov>
- Subject: Re: make check vs make installcheck
- From: akim at lrde dot epita dot fr
- Date: Sat, 3 Nov 2001 10:25:40 +0100
- Cc: automake at gnu dot org
- List-Id: Discussion list for automake <automake.gnu.org>
- References: <3BE309C2.B035A0BA@lanl.gov> <3BE30A4A.E506047A@lanl.gov>
On Fri, Nov 02, 2001 at 02:04:10PM -0700, Simon Perkins wrote:
> Simon Perkins wrote:
> > I also notice that automake generates an 'installcheck' target, but it's not
> > described in the documentation. Is this the place to put tests for the installed
> > package? Or does it have some other internal purpose? How do I put a test for
> > the installed software into my makefiles?
>
> P.S.
>
> And is there a conveneient automake way of modifying the installcheck target as
> there is for make check?
Here is what Autoconf, Bison and M4 use to run their test suites on
the pseudo installed package:
# Run the test suite on the *installed* tree.
installcheck-local:
$(SHELL) $(TESTSUITE) AUTOTEST_PATH=$(exec_prefix)/bin