X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=tests%2FMakefile.am;h=8d84b16b8db3e90595868130ea19de89312d88e6;hb=273b65be02bbefbfefc39a71687c23220b74867f;hp=ffb41343ed1385a769c4f4b9c358cecd2e2f6792;hpb=607c826c88c4611fb9c92d260f671589dde0ccc0;p=babeltrace.git 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