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