X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=tests%2FMakefile.am;h=8d84b16b8db3e90595868130ea19de89312d88e6;hb=788b424d206d7ce49d60803c3f5ee75a3fc60097;hp=b03b7e0aa1d9ce46345e4fe8c1ea0e42ce0413ca;hpb=19badea8d8be993ad0eb807093ad3a26e027889a;p=babeltrace.git diff --git a/tests/Makefile.am b/tests/Makefile.am index b03b7e0a..8d84b16b 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -1,3 +1,24 @@ SUBDIRS = utils bin lib -EXTRA_DIST = ctf-traces/** +EXTRA_DIST = 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 tests