Commit | Line | Data |
---|---|---|
87fb9fc0 | 1 | SUBDIRS = |
512eb148 | 2 | DIST_SUBDIRS = utils regression unit stress destructive |
87fb9fc0 JR |
3 | |
4 | if BUILD_TESTS | |
512eb148 | 5 | SUBDIRS += utils regression unit stress destructive |
87fb9fc0 | 6 | endif |
0ea4ac57 | 7 | |
9e86765b | 8 | installcheck-am: |
87fb9fc0 | 9 | if BUILD_TESTS |
b67cd6f0 PP |
10 | if HAS_PGREP |
11 | ./utils/warn_lttng_processes.sh $(PGREP) | |
12 | endif | |
eeeb0811 CB |
13 | ./run.sh unit_tests |
14 | ./run.sh fast_regression | |
9c444542 | 15 | if PYTHON_BINDING |
bbb85c88 | 16 | ./run.sh with_bindings_regression |
9e86765b | 17 | endif |
87fb9fc0 JR |
18 | else |
19 | @echo "=========================================" | |
20 | @echo "WARNING: Tests were disabled at configure" | |
21 | @echo "=========================================" | |
22 | endif | |
9e86765b | 23 | |
bbb85c88 | 24 | check-am: |
87fb9fc0 | 25 | if BUILD_TESTS |
b67cd6f0 PP |
26 | if HAS_PGREP |
27 | ./utils/warn_lttng_processes.sh $(PGREP) | |
28 | endif | |
bbb85c88 JG |
29 | ./run.sh unit_tests |
30 | ./run.sh fast_regression | |
9c444542 | 31 | if PYTHON_BINDING |
9e86765b | 32 | ./run.sh with_bindings_regression |
bbb85c88 | 33 | endif |
87fb9fc0 JR |
34 | else |
35 | @echo "=========================================" | |
36 | @echo "WARNING: Tests were disabled at configure" | |
37 | @echo "=========================================" | |
38 | endif | |
431387b0 | 39 | |
512eb148 JD |
40 | dist_noinst_SCRIPTS = run.sh unit_tests fast_regression long_regression root_regression with_bindings_regression root_destructive_tests |
41 | EXTRA_DIST = run.sh unit_tests fast_regression long_regression root_regression with_bindings_regression README root_destructive_tests | |
c83e7ca0 DG |
42 | |
43 | all-local: | |
44 | @if [ x"$(srcdir)" != x"$(builddir)" ]; then \ | |
45 | for script in $(EXTRA_DIST); do \ | |
46 | cp -f $(srcdir)/$$script $(builddir); \ | |
47 | done; \ | |
48 | fi | |
49 | ||
50 | clean-local: | |
51 | @if [ x"$(srcdir)" != x"$(builddir)" ]; then \ | |
52 | for script in $(EXTRA_DIST); do \ | |
53 | rm -f $(builddir)/$$script; \ | |
54 | done; \ | |
55 | fi |