X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=tests%2FMakefile.am;h=9d4e0dc0d809fd00ea99085fcc565549a7c40c37;hb=c83e7ca00efd681ec2406d2a2b2622d373ae2647;hp=4824e2215f4dbc77b1c6c41c5a09f4097fb6c3bb;hpb=fac6795d6e2c60e79bdc7dab42da94d2025a57d3;p=lttng-tools.git diff --git a/tests/Makefile.am b/tests/Makefile.am index 4824e2215..9d4e0dc0d 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -1,3 +1,29 @@ -SUBDIRS = . +SUBDIRS = utils regression unit stress -dist_noinst_SCRIPTS = runall +if USE_PYTHON +check-am: + ./run.sh unit_tests + ./run.sh fast_regression + ./run.sh with_bindings_regression +else +check-am: + ./run.sh unit_tests + ./run.sh fast_regression +endif + +dist_noinst_SCRIPTS = run.sh unit_tests fast_regression long_regression root_regression with_bindings_regression +EXTRA_DIST = run.sh unit_tests fast_regression long_regression root_regression with_bindings_regression + +all-local: + @if [ x"$(srcdir)" != x"$(builddir)" ]; then \ + for script in $(EXTRA_DIST); do \ + cp -f $(srcdir)/$$script $(builddir); \ + done; \ + fi + +clean-local: + @if [ x"$(srcdir)" != x"$(builddir)" ]; then \ + for script in $(EXTRA_DIST); do \ + rm -f $(builddir)/$$script; \ + done; \ + fi