automake
[Top][All Lists]
Advanced

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

How to run the autoconf generated testsuite with `make installcheck`?


From: Simon Sobisch
Subject: How to run the autoconf generated testsuite with `make installcheck`?
Date: Sun, 18 Feb 2018 23:50:57 +0100
User-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0

While the automake manual mentions the installcheck target it doesn't
leave a note where to find more information about this.

I assume this is about something like:

* adding a installcheck-local target to tests/Makefile.am
* in this target run the check-local target but set an environment
variable before
* in tests/atlocal.in check for this variable and adjust the path of the
tested binaries to use no path at all (=use the ones found in PATH)

Is this the correct approach?

Thank you for providing some experience / best practice about the
installcheck target,

Simon




reply via email to

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