Add test: no clock class in trace's packet header field type
[babeltrace.git] / tests / Makefile.am
... / ...
CommitLineData
1SUBDIRS = utils cli lib bindings plugins
2
3EXTRA_DIST = $(srcdir)/ctf-traces/** \
4 $(srcdir)/debug-info-data/** \
5 $(srcdir)/debug-info-data/.build-id/cd/**
6
7TESTS_BINDINGS =
8
9if ENABLE_PYTHON_PLUGINS
10SUBDIRS += python-plugin-provider
11endif
12
13if ENABLE_PYTHON_BINDINGS
14TESTS_BINDINGS += bindings/python/bt2/test_python_bt2 \
15 bindings/python/babeltrace/test_python_babeltrace
16endif
17
18TESTS_CLI = \
19 cli/test_trace_read \
20 cli/test_packet_seq_num \
21 cli/test_convert_args \
22 cli/intersection/test_intersection \
23 cli/test_trace_copy \
24 cli/test_trimmer
25
26TESTS_LIB = \
27 lib/test_bitfield \
28 lib/test_ctf_writer_complete \
29 lib/test_bt_values \
30 lib/test_ctf_ir_ref \
31 lib/test_bt_ctf_field_type_validation \
32 lib/test_ir_visit \
33 lib/test_bt_notification_heap \
34 lib/test_graph_topo \
35 lib/test_cc_prio_map \
36 lib/test_bt_notification_iterator
37
38if !ENABLE_BUILT_IN_PLUGINS
39TESTS_LIB += lib/test_plugin_complete
40endif
41
42if ENABLE_PYTHON_BINDINGS
43TESTS_LIB += lib/ctf-ir/test_ctf_ir
44endif
45
46TESTS_PLUGINS =
47
48if !ENABLE_BUILT_IN_PLUGINS
49TESTS_PLUGINS += plugins/test-utils-muxer-complete
50
51if ENABLE_DEBUG_INFO
52if ENABLE_PYTHON_BINDINGS
53TESTS_PLUGINS += plugins/test_lttng_utils_debug_info
54endif
55endif
56endif
57
58if ENABLE_DEBUG_INFO
59TESTS_PLUGINS += \
60 plugins/test_dwarf_complete \
61 plugins/test_bin_info_complete
62endif
63
64TESTS_PYTHON_PLUGIN_PROVIDER =
65
66if ENABLE_PYTHON_PLUGINS
67TESTS_PYTHON_PLUGIN_PROVIDER += python-plugin-provider/test_python_plugin_provider
68endif
69
70LOG_DRIVER_FLAGS = '--merge'
71LOG_DRIVER = env AM_TAP_AWK='$(AWK)' $(SHELL) $(top_srcdir)/config/tap-driver.sh
72
73TESTS = $(TESTS_BINDINGS) $(TESTS_CLI) $(TESTS_LIB) \
74 $(TESTS_PLUGINS) $(TESTS_PYTHON_PLUGIN_PROVIDER)
75
76define check_target
77check-$(1):
78 $(MAKE) $(AM_MAKEFLAGS) TESTS="$2" check
79endef
80
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)))
This page took 0.022514 seconds and 4 git commands to generate.