X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=tests%2FMakefile.am;h=507b1ba449807b904cfb5f6979893a939c8f3167;hb=c551f7a1ed635138b083b4e9e0c445ef63d0a562;hp=816fa6600c82dac5e6bcd5340fd5c5e2914a7e19;hpb=92c6a024cd3e81293bd39fd2b322e12ce57ea502;p=babeltrace.git diff --git a/tests/Makefile.am b/tests/Makefile.am index 816fa660..507b1ba4 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 = $(srcdir)/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 $(srcdir)/tests