-AM_CFLAGS = $(PACKAGE_CFLAGS) -I$(top_srcdir)/include
+SUBDIRS = utils bin lib
-SUBDIRS = lib
+LOG_DRIVER_FLAGS='--merge'
+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_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
-test_bitfield_SOURCES = test-bitfield.c
+EXTRA_DIST = $(srcdir)/ctf-traces/** \
+ $(srcdir)/debug-info-data/** \
+ $(srcdir)/debug-info-data/.build-id/cd/**
-EXTRA_DIST = runall.sh ctf-traces/**
+if ENABLE_DEBUG_INFO
+TESTS += lib/test_dwarf_complete \
+ lib/test_bin_info_complete
+endif
-check-am:
- ./runall.sh
+if USE_PYTHON
+TESTS += bin/intersection/test_multi_trace_intersection.py
+endif