X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=tests%2FMakefile.am;h=eda9f2351310e0b10886d6ee904eaea847973795;hb=235d06f02f6f0306e432165fdcb11d9a6debd480;hp=2e307f42806f3511ea61b58d6bb1e3abd3e51fa3;hpb=90c487a9d786566cbc380d88d526caa022ccc3b7;p=babeltrace.git diff --git a/tests/Makefile.am b/tests/Makefile.am index 2e307f42..eda9f235 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -1,24 +1,31 @@ SUBDIRS = utils bin lib -EXTRA_DIST = ctf-traces/** tests +LOG_DRIVER_FLAGS='--merge' +LOG_DRIVER = env AM_TAP_AWK='$(AWK)' $(SHELL) \ + $(top_srcdir)/config/tap-driver.sh -SCRIPT_LIST = run.sh +TESTS = bin/test_trace_read \ + bin/test_trace_read \ + bin/test_packet_seq_num \ + bin/test_formats \ + bin/intersection/test_intersection \ + lib/test_bitfield \ + lib/test_seek_empty_packet \ + lib/test_seek_big_trace \ + lib/test_ctf_writer_complete \ + lib/test_bt_values \ + lib/test_ctf_ir_ref \ + lib/test_bt_ctf_field_type_validation -dist_noinst_SCRIPTS = $(SCRIPT_LIST) +EXTRA_DIST = $(srcdir)/ctf-traces/** \ + $(srcdir)/debug-info-data/** \ + $(srcdir)/debug-info-data/.build-id/cd/** -all-local: - @if [ x"$(srcdir)" != x"$(builddir)" ]; then \ - for script in $(SCRIPT_LIST); do \ - cp -f $(srcdir)/$$script $(builddir); \ - done; \ - fi +if ENABLE_DEBUG_INFO +TESTS += lib/test_dwarf_complete \ + lib/test_bin_info_complete +endif -clean-local: - @if [ x"$(srcdir)" != x"$(builddir)" ]; then \ - for script in $(SCRIPT_LIST); do \ - rm -f $(builddir)/$$script; \ - done; \ - fi - -check-am: - ./run.sh $(srcdir)/tests +if USE_PYTHON +TESTS += bin/intersection/test_multi_trace_intersection.py +endif