Select which binaries/extras to build at configure time
[lttng-tools.git] / tests / Makefile.am
1 SUBDIRS =
2 DIST_SUBDIRS = utils regression unit stress
3
4 if BUILD_TESTS
5 SUBDIRS += utils regression unit stress
6 endif
7
8 installcheck-am:
9 if BUILD_TESTS
10 ./run.sh unit_tests
11 ./run.sh fast_regression
12 if PYTHON_BINDING
13 ./run.sh with_bindings_regression
14 endif
15 else
16 @echo "========================================="
17 @echo "WARNING: Tests were disabled at configure"
18 @echo "========================================="
19 endif
20
21 check-am:
22 if BUILD_TESTS
23 ./run.sh unit_tests
24 ./run.sh fast_regression
25 if PYTHON_BINDING
26 ./run.sh with_bindings_regression
27 endif
28 else
29 @echo "========================================="
30 @echo "WARNING: Tests were disabled at configure"
31 @echo "========================================="
32 endif
33
34 dist_noinst_SCRIPTS = run.sh unit_tests fast_regression long_regression root_regression with_bindings_regression
35 EXTRA_DIST = run.sh unit_tests fast_regression long_regression root_regression with_bindings_regression README
36
37 all-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
44 clean-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.031252 seconds and 5 git commands to generate.