Commit | Line | Data |
---|---|---|
9d16b343 MJ |
1 | # SPDX-License-Identifier: GPL-2.0-only |
2 | ||
87fb9fc0 | 3 | SUBDIRS = |
b55e7034 | 4 | DIST_SUBDIRS = utils unit regression stress destructive perf |
87fb9fc0 JR |
5 | |
6 | if BUILD_TESTS | |
b55e7034 | 7 | SUBDIRS += . utils unit regression stress destructive perf |
a6c09be3 | 8 | if HAVE_PGREP |
a36b26b4 | 9 | check-am: |
4c2eee7f | 10 | $(top_srcdir)/tests/utils/warn_processes.sh $(PGREP) |
bbb85c88 | 11 | endif |
87fb9fc0 JR |
12 | else |
13 | @echo "=========================================" | |
14 | @echo "WARNING: Tests were disabled at configure" | |
15 | @echo "=========================================" | |
16 | endif | |
431387b0 | 17 | |
a36b26b4 | 18 | |
6faa26ca JD |
19 | dist_noinst_SCRIPTS = run.sh fast_regression long_regression root_regression root_destructive_tests perf_regression |
20 | EXTRA_DIST = run.sh fast_regression long_regression root_regression README root_destructive_tests perf_regression | |
c83e7ca0 DG |
21 | |
22 | all-local: | |
23 | @if [ x"$(srcdir)" != x"$(builddir)" ]; then \ | |
24 | for script in $(EXTRA_DIST); do \ | |
25 | cp -f $(srcdir)/$$script $(builddir); \ | |
26 | done; \ | |
27 | fi | |
28 | ||
29 | clean-local: | |
30 | @if [ x"$(srcdir)" != x"$(builddir)" ]; then \ | |
31 | for script in $(EXTRA_DIST); do \ | |
32 | rm -f $(builddir)/$$script; \ | |
33 | done; \ | |
34 | fi |