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 | |
bbb85c88 | 8 | check-am: |
87fb9fc0 | 9 | if BUILD_TESTS |
b67cd6f0 PP |
10 | if HAS_PGREP |
11 | ./utils/warn_lttng_processes.sh $(PGREP) | |
12 | endif | |
bbb85c88 JG |
13 | ./run.sh unit_tests |
14 | ./run.sh fast_regression | |
9c444542 | 15 | if PYTHON_BINDING |
9e86765b | 16 | ./run.sh with_bindings_regression |
bbb85c88 | 17 | endif |
87fb9fc0 JR |
18 | else |
19 | @echo "=========================================" | |
20 | @echo "WARNING: Tests were disabled at configure" | |
21 | @echo "=========================================" | |
22 | endif | |
431387b0 | 23 | |
512eb148 JD |
24 | dist_noinst_SCRIPTS = run.sh unit_tests fast_regression long_regression root_regression with_bindings_regression root_destructive_tests |
25 | EXTRA_DIST = run.sh unit_tests fast_regression long_regression root_regression with_bindings_regression README root_destructive_tests | |
c83e7ca0 DG |
26 | |
27 | all-local: | |
28 | @if [ x"$(srcdir)" != x"$(builddir)" ]; then \ | |
29 | for script in $(EXTRA_DIST); do \ | |
30 | cp -f $(srcdir)/$$script $(builddir); \ | |
31 | done; \ | |
32 | fi | |
33 | ||
34 | clean-local: | |
35 | @if [ x"$(srcdir)" != x"$(builddir)" ]; then \ | |
36 | for script in $(EXTRA_DIST); do \ | |
37 | rm -f $(builddir)/$$script; \ | |
38 | done; \ | |
39 | fi |