From: Stefan Seefeld Date: Thu, 12 Sep 2013 00:37:41 +0000 (-0400) Subject: Enable support for installcheck. X-Git-Url: http://git.efficios.com/?p=lttng-tools.git;a=commitdiff_plain;h=9e86765b47e8ddfaa7d9c8a09bdf7f4cedb36cf4 Enable support for installcheck. Enable execution of tests via `make installcheck`, i.e. against a fully installed LTTng. The patch simply adds the same rule to the installcheck target that is used for check. Testing with an OpenEmbedded build shows the unit_tests suite to work fine, while the fast_regression suite contains many failures not present when run as `make check`. Stefan Seefeld (1): Enable support for installcheck. Signed-off-by: Stefan Seefeld Signed-off-by: David Goulet --- diff --git a/tests/Makefile.am b/tests/Makefile.am index 9d4e0dc0d..c14e733a3 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -1,14 +1,17 @@ SUBDIRS = utils regression unit stress -if USE_PYTHON -check-am: +installcheck-am: ./run.sh unit_tests ./run.sh fast_regression +if USE_PYTHON ./run.sh with_bindings_regression -else +endif + check-am: ./run.sh unit_tests ./run.sh fast_regression +if USE_PYTHON + ./run.sh with_bindings_regression endif dist_noinst_SCRIPTS = run.sh unit_tests fast_regression long_regression root_regression with_bindings_regression