Skip to contentSkip to conversation

Enable support for installcheck.

PATCH New Stefan Seefeld 2 participants 2 messages Sep 12, 2013 – Sep 13, 2013 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

PATCH 1/1 Enable support for installcheck.

---
 tests/Makefile.am | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)
tests/Makefile.am +6 -3
index 6d5b00d..3774f9d 100644
@@ -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
Signature · 1 line
1.8.3.1
#2 lore raw

Re: [PATCH lttng-tools] Enable support for installcheck

In reply to a message not in the archive

Merged thanks!

David

Stefan Seefeld:

Quoted 13 lines

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.

 tests/Makefile.am | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)