Select which binaries/extras to build at configure time
[lttng-tools.git] / tests / Makefile.am
CommitLineData
87fb9fc0
JR
1SUBDIRS =
2DIST_SUBDIRS = utils regression unit stress
3
4if BUILD_TESTS
5SUBDIRS += utils regression unit stress
6endif
0ea4ac57 7
9e86765b 8installcheck-am:
87fb9fc0 9if BUILD_TESTS
eeeb0811
CB
10 ./run.sh unit_tests
11 ./run.sh fast_regression
9c444542 12if PYTHON_BINDING
bbb85c88 13 ./run.sh with_bindings_regression
9e86765b 14endif
87fb9fc0
JR
15else
16 @echo "========================================="
17 @echo "WARNING: Tests were disabled at configure"
18 @echo "========================================="
19endif
9e86765b 20
bbb85c88 21check-am:
87fb9fc0 22if BUILD_TESTS
bbb85c88
JG
23 ./run.sh unit_tests
24 ./run.sh fast_regression
9c444542 25if PYTHON_BINDING
9e86765b 26 ./run.sh with_bindings_regression
bbb85c88 27endif
87fb9fc0
JR
28else
29 @echo "========================================="
30 @echo "WARNING: Tests were disabled at configure"
31 @echo "========================================="
32endif
431387b0
JG
33
34dist_noinst_SCRIPTS = run.sh unit_tests fast_regression long_regression root_regression with_bindings_regression
94dab75b 35EXTRA_DIST = run.sh unit_tests fast_regression long_regression root_regression with_bindings_regression README
c83e7ca0
DG
36
37all-local:
38 @if [ x"$(srcdir)" != x"$(builddir)" ]; then \
39 for script in $(EXTRA_DIST); do \
40 cp -f $(srcdir)/$$script $(builddir); \
41 done; \
42 fi
43
44clean-local:
45 @if [ x"$(srcdir)" != x"$(builddir)" ]; then \
46 for script in $(EXTRA_DIST); do \
47 rm -f $(builddir)/$$script; \
48 done; \
49 fi
This page took 0.041202 seconds and 4 git commands to generate.