From 9e86765b47e8ddfaa7d9c8a09bdf7f4cedb36cf4 Mon Sep 17 00:00:00 2001 From: Stefan Seefeld Date: Wed, 11 Sep 2013 20:37:41 -0400 Subject: [PATCH] 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 --- tests/Makefile.am | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) 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 -- 2.34.1