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