X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=tests%2FMakefile.am;h=f15d6d85069bd5d9596746426aad216dbadc5ab0;hb=dc3fffef7b84cc4af1a7c99828fd57a106cd2257;hp=8d84b16b8db3e90595868130ea19de89312d88e6;hpb=ccde9b25397f3e74c60bfbcb9f77008299a44cc9;p=babeltrace.git diff --git a/tests/Makefile.am b/tests/Makefile.am index 8d84b16b..f15d6d85 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -1,24 +1,40 @@ -SUBDIRS = utils bin lib +SUBDIRS = utils bin lib bindings -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_convert_args \ + 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 \ + lib/test_ir_visit \ + lib/test_trace_listener \ + lib/test_bt_notification_heap \ + lib/test_plugin_complete \ + lib/test_graph_topo \ + lib/test_cc_prio_map -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 tests +if USE_PYTHON +TESTS += bin/intersection/test_multi_trace_intersection.py \ + lib/writer/test_ctf_writer_no_packet_context.py \ + lib/writer/test_ctf_writer_empty_packet.py \ + bindings/python/bt2/testall.sh +endif