Enable support for installcheck.
authorStefan Seefeld <stefan@seefeld.name>
Thu, 12 Sep 2013 00:37:41 +0000 (20:37 -0400)
committerDavid Goulet <dgoulet@efficios.com>
Fri, 13 Sep 2013 20:05:48 +0000 (16:05 -0400)
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 <stefan_seefeld@mentor.com>
Signed-off-by: David Goulet <dgoulet@efficios.com>
tests/Makefile.am

index 9d4e0dc0d809fd00ea99085fcc565549a7c40c37..c14e733a3207f97f1851ae60e874c82457e36971 100644 (file)
@@ -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
This page took 0.027089 seconds and 5 git commands to generate.