SUBDIRS = utils bin lib
-EXTRA_DIST = $(srcdir)/ctf-traces/** tests
-if ENABLE_DEBUGINFO
-EXTRA_DIST += $(srcdir)/debuginfo-data/** tests_debuginfo
-endif
-
-SCRIPT_LIST = run.sh
-
-dist_noinst_SCRIPTS = $(SCRIPT_LIST)
+LOG_DRIVER = env AM_TAP_AWK='$(AWK)' $(SHELL) \
+ $(top_srcdir)/config/tap-driver.sh
-all-local:
- @if [ x"$(srcdir)" != x"$(builddir)" ]; then \
- for script in $(SCRIPT_LIST); do \
- cp -f $(srcdir)/$$script $(builddir); \
- done; \
- fi
+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
-clean-local:
- @if [ x"$(srcdir)" != x"$(builddir)" ]; then \
- for script in $(SCRIPT_LIST); do \
- rm -f $(builddir)/$$script; \
- done; \
- fi
+EXTRA_DIST = $(srcdir)/ctf-traces/** \
+ $(srcdir)/debuginfo-data/** \
+ $(srcdir)/debuginfo-data/.build-id/cd/**
-TEMPLIST := $(shell mktemp -u)
-check-am:
- @cat $(srcdir)/tests > $(TEMPLIST)
if ENABLE_DEBUGINFO
- @echo '' >> $(TEMPLIST)
- @cat $(srcdir)/tests_debuginfo >> $(TEMPLIST)
+TESTS += lib/test_dwarf_complete \
+ lib/test_bin_info_complete
endif
- ./run.sh $(TEMPLIST)
- rm $(TEMPLIST)