X-Git-Url: http://git.efficios.com/?p=babeltrace.git;a=blobdiff_plain;f=tests%2FMakefile.am;h=7045aef90d8821b597a6b5839fc7e131fd15fbf2;hp=47891e90af0945d3accf10f7d3cd0fe1351af031;hb=7d7466d89f0d46afc31a1520903b9f9e2aa183b1;hpb=71dd417a2b700c2315ef9919104572df1bc83f7a diff --git a/tests/Makefile.am b/tests/Makefile.am index 47891e90..7045aef9 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -1,12 +1,22 @@ -AM_CFLAGS = $(PACKAGE_CFLAGS) -I$(top_srcdir)/include +SUBDIRS = utils bin lib -SUBDIRS = lib +LOG_DRIVER = env AM_TAP_AWK='$(AWK)' $(SHELL) \ + $(top_srcdir)/config/tap-driver.sh -noinst_PROGRAMS = test-bitfield +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 -test_bitfield_SOURCES = test-bitfield.c +EXTRA_DIST = $(srcdir)/ctf-traces/** \ + $(srcdir)/debuginfo-data/** \ + $(srcdir)/debuginfo-data/.build-id/cd/** -EXTRA_DIST = runall.sh ctf-traces/** - -check-am: - ./runall.sh +if ENABLE_DEBUGINFO +TESTS += lib/test_dwarf_complete \ + lib/test_bin_info_complete +endif