X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=tests%2FMakefile.am;h=507b1ba449807b904cfb5f6979893a939c8f3167;hb=138cb20b8bfbe509ca3192cc130a3abe8cd0b274;hp=b03b7e0aa1d9ce46345e4fe8c1ea0e42ce0413ca;hpb=19badea8d8be993ad0eb807093ad3a26e027889a;p=babeltrace.git diff --git a/tests/Makefile.am b/tests/Makefile.am index b03b7e0a..507b1ba4 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -1,3 +1,24 @@ SUBDIRS = utils bin lib -EXTRA_DIST = ctf-traces/** +EXTRA_DIST = $(srcdir)/ctf-traces/** tests + +SCRIPT_LIST = run.sh + +dist_noinst_SCRIPTS = $(SCRIPT_LIST) + +all-local: + @if [ x"$(srcdir)" != x"$(builddir)" ]; then \ + for script in $(SCRIPT_LIST); do \ + cp -f $(srcdir)/$$script $(builddir); \ + done; \ + fi + +clean-local: + @if [ x"$(srcdir)" != x"$(builddir)" ]; then \ + for script in $(SCRIPT_LIST); do \ + rm -f $(builddir)/$$script; \ + done; \ + fi + +check-am: + ./run.sh $(srcdir)/tests