X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=tests%2FMakefile.am;h=9b9adb66260f0ff9b1143d5af2f6f62403907c04;hb=8684abc83fb68af80191e7d32f1054db055aafb8;hp=1038535e77d014fc0d9ebd9b4e5699354c269a27;hpb=90219914d718a74f9ce8eaa1a1efd2c4ad6d2384;p=babeltrace.git diff --git a/tests/Makefile.am b/tests/Makefile.am index 1038535e..9b9adb66 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -1,7 +1,25 @@ -AM_CFLAGS = $(PACKAGE_CFLAGS) -I$(top_srcdir)/include +SUBDIRS = utils bin lib -noinst_PROGRAMS = test-bitfield test-dummytrace +LOG_DRIVER = env AM_TAP_AWK='$(AWK)' $(SHELL) \ + $(top_srcdir)/config/tap-driver.sh -test_bitfield_SOURCES = test-bitfield.c +TESTS = bin/test_trace_read \ + bin/test_trace_read \ + bin/test_packet_seq_num \ + bin/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 -test_dummytrace_SOURCES = test-dummytrace.c +EXTRA_DIST = $(srcdir)/ctf-traces/** \ + $(srcdir)/debuginfo-data/** \ + $(srcdir)/debuginfo-data/.build-id/cd/** + +if ENABLE_DEBUGINFO +TESTS += lib/test_dwarf_complete \ + lib/test_bin_info_complete +endif