X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=tests%2FMakefile.am;h=8d84b16b8db3e90595868130ea19de89312d88e6;hb=788b424d206d7ce49d60803c3f5ee75a3fc60097;hp=642dd983de46de4edf3a82c1bcfe73242ce6184c;hpb=1e3d1ceedd6d5deac1a652b9e8e2d4e0726c3163;p=babeltrace.git diff --git a/tests/Makefile.am b/tests/Makefile.am index 642dd983..8d84b16b 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -1,5 +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 + +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