1 SUBDIRS = utils cli lib bindings plugins
3 EXTRA_DIST = $(srcdir)/ctf-traces/** \
4 $(srcdir)/debug-info-data/** \
5 $(srcdir)/debug-info-data/.build-id/cd/**
9 if ENABLE_PYTHON_PLUGINS
10 SUBDIRS += python-plugin-provider
13 if ENABLE_PYTHON_BINDINGS
14 TESTS_BINDINGS += bindings/python/bt2/test_python_bt2 \
15 bindings/python/babeltrace/test_python_babeltrace
20 cli/test_packet_seq_num \
21 cli/test_convert_args \
22 cli/intersection/test_intersection \
28 lib/test_ctf_writer_complete \
31 lib/test_bt_ctf_field_type_validation \
33 lib/test_bt_notification_heap \
35 lib/test_cc_prio_map \
36 lib/test_bt_notification_iterator
38 if !ENABLE_BUILT_IN_PLUGINS
39 TESTS_LIB += lib/test_plugin_complete
42 if ENABLE_PYTHON_BINDINGS
43 TESTS_LIB += lib/ctf-ir/test_ctf_ir
48 if !ENABLE_BUILT_IN_PLUGINS
49 TESTS_PLUGINS += plugins/test-utils-muxer-complete
52 if ENABLE_PYTHON_BINDINGS
53 TESTS_PLUGINS += plugins/test_lttng_utils_debug_info
60 plugins/test_dwarf_complete \
61 plugins/test_bin_info_complete
64 TESTS_PYTHON_PLUGIN_PROVIDER =
66 if ENABLE_PYTHON_PLUGINS
67 TESTS_PYTHON_PLUGIN_PROVIDER += python-plugin-provider/test_python_plugin_provider
70 LOG_DRIVER_FLAGS = '--merge'
71 LOG_DRIVER = env AM_TAP_AWK='$(AWK)' $(SHELL) $(top_srcdir)/config/tap-driver.sh
73 TESTS = $(TESTS_BINDINGS) $(TESTS_CLI) $(TESTS_LIB) \
74 $(TESTS_PLUGINS) $(TESTS_PYTHON_PLUGIN_PROVIDER)
78 $(MAKE) $(AM_MAKEFLAGS) TESTS="$2" check
81 $(eval $(call check_target,bindings,$(TESTS_BINDINGS)))
82 $(eval $(call check_target,cli,$(TESTS_CLI)))
83 $(eval $(call check_target,lib,$(TESTS_LIB)))
84 $(eval $(call check_target,plugins,$(TESTS_PLUGINS)))
85 $(eval $(call check_target,python-plugin-provider,$(TESTS_PYTHON_PLUGIN_PROVIDER)))