| 1 | SUBDIRS = |
| 2 | DIST_SUBDIRS = utils regression unit stress destructive perf |
| 3 | |
| 4 | if BUILD_TESTS |
| 5 | SUBDIRS += . utils regression unit stress destructive perf |
| 6 | if HAS_PGREP |
| 7 | check-am: |
| 8 | $(top_srcdir)/tests/utils/warn_processes.sh $(PGREP) |
| 9 | endif |
| 10 | else |
| 11 | @echo "=========================================" |
| 12 | @echo "WARNING: Tests were disabled at configure" |
| 13 | @echo "=========================================" |
| 14 | endif |
| 15 | |
| 16 | |
| 17 | dist_noinst_SCRIPTS = run.sh fast_regression long_regression root_regression root_destructive_tests perf_regression |
| 18 | EXTRA_DIST = run.sh fast_regression long_regression root_regression README root_destructive_tests perf_regression |
| 19 | |
| 20 | all-local: |
| 21 | @if [ x"$(srcdir)" != x"$(builddir)" ]; then \ |
| 22 | for script in $(EXTRA_DIST); do \ |
| 23 | cp -f $(srcdir)/$$script $(builddir); \ |
| 24 | done; \ |
| 25 | fi |
| 26 | |
| 27 | clean-local: |
| 28 | @if [ x"$(srcdir)" != x"$(builddir)" ]; then \ |
| 29 | for script in $(EXTRA_DIST); do \ |
| 30 | rm -f $(builddir)/$$script; \ |
| 31 | done; \ |
| 32 | fi |