X-Git-Url: http://git.efficios.com/?p=babeltrace.git;a=blobdiff_plain;f=tests%2FMakefile.am;h=8d84b16b8db3e90595868130ea19de89312d88e6;hp=816fa6600c82dac5e6bcd5340fd5c5e2914a7e19;hb=e6a63241ead18d0577b4f4cccfa1405c55a663df;hpb=92c6a024cd3e81293bd39fd2b322e12ce57ea502 diff --git a/tests/Makefile.am b/tests/Makefile.am index 816fa660..8d84b16b 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -1,8 +1,24 @@ -AM_CFLAGS = $(PACKAGE_CFLAGS) -I$(top_srcdir)/include +SUBDIRS = utils bin lib -SUBDIRS = lib +EXTRA_DIST = ctf-traces/** tests -EXTRA_DIST = runall.sh ctf-traces/** +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: - ./runall.sh + ./run.sh tests