tests/lib: remove `test_bt_values` and `test_graph_topo`
[babeltrace.git] / tests / Makefile.am
CommitLineData
331731aa 1SUBDIRS = utils lib ctf-writer plugins
ac65e355 2
6a284733 3# Directories added to EXTRA_DIST will be recursively copied to the distribution.
bbff0ab4 4EXTRA_DIST = $(srcdir)/data \
7bb90dd0 5 bindings/python/bt2/.coveragerc
1b83271b 6
7bb90dd0 7dist_check_SCRIPTS = \
7bb90dd0
MJ
8 bindings/python/bt2/test_clock_class_priority_map.py \
9 bindings/python/bt2/test_clock_class.py \
10 bindings/python/bt2/test_component_class.py \
11 bindings/python/bt2/test_component.py \
12 bindings/python/bt2/test_connection.py \
13 bindings/python/bt2/test_ctf_writer_clock.py \
14 bindings/python/bt2/test_event_class.py \
15 bindings/python/bt2/test_event.py \
16 bindings/python/bt2/test_field_class.py \
17 bindings/python/bt2/test_field.py \
18 bindings/python/bt2/test_graph.py \
19 bindings/python/bt2/test_message_iterator.py \
20 bindings/python/bt2/test_message.py \
21 bindings/python/bt2/test_packet.py \
22 bindings/python/bt2/test_plugin.py \
23 bindings/python/bt2/test_port.py \
644e0364 24 bindings/python/bt2/test_python_bt2 \
7bb90dd0
MJ
25 bindings/python/bt2/test_query_executor.py \
26 bindings/python/bt2/test_stream_class.py \
27 bindings/python/bt2/test_stream.py \
28 bindings/python/bt2/test_trace_collection_message_iterator.py \
29 bindings/python/bt2/test_trace.py \
30 bindings/python/bt2/test_value.py \
31 bindings/python/bt2/utils.py \
644e0364
MJ
32 cli/test_convert_args \
33 cli/test_intersection \
34 cli/test_output_ctf_metadata \
35 cli/test_packet_seq_num \
36 cli/test_trace_copy \
37 cli/test_trace_read \
38 cli/test_trimmer \
7bb90dd0 39 python-plugin-provider/bt_plugin_test_python_plugin_provider.py \
644e0364 40 python-plugin-provider/test_python_plugin_provider \
7bb90dd0 41 python-plugin-provider/test_python_plugin_provider.py
cd1c5347 42
7bb90dd0 43TESTS_BINDINGS =
9e607e7c
JG
44
45if ENABLE_PYTHON_BINDINGS
b04a139e 46TESTS_BINDINGS += bindings/python/bt2/test_python_bt2
cd1c5347
PP
47endif
48
49TESTS_CLI = \
50 cli/test_trace_read \
51 cli/test_packet_seq_num \
52 cli/test_convert_args \
7bb90dd0 53 cli/test_intersection \
cd1c5347
PP
54 cli/test_trace_copy \
55 cli/test_trimmer
56
57TESTS_LIB = \
4041a53e 58 lib/test_bitfield \
4041a53e 59 lib/test_trace_ir_ref
cd1c5347 60
331731aa
MJ
61TESTS_CTF_WRITER = \
62 ctf-writer/test_ctf_writer
63
cd1c5347 64if !ENABLE_BUILT_IN_PLUGINS
644e0364 65TESTS_LIB += lib/test_plugin
1805e0b4
PP
66endif
67
e30aed9e
PP
68TESTS_PLUGINS = \
69 plugins/src.ctf.fs/succeed/test_succeed
cd1c5347
PP
70
71if !ENABLE_BUILT_IN_PLUGINS
d8992d68 72if ENABLE_PYTHON_BINDINGS
e30aed9e 73TESTS_PLUGINS += plugins/src.ctf.fs/query/test_query
684658b1
PP
74
75if ENABLE_DEBUG_INFO
66251464 76TESTS_PLUGINS += plugins/flt.lttng-utils.debug-info/test_lttng_utils_debug_info
d8992d68
PP
77endif
78endif
cd1c5347
PP
79endif
80
81if ENABLE_DEBUG_INFO
82TESTS_PLUGINS += \
66251464
PP
83 plugins/flt.lttng-utils.debug-info/test_dwarf_i386-linux-gnu \
84 plugins/flt.lttng-utils.debug-info/test_dwarf_powerpc-linux-gnu \
85 plugins/flt.lttng-utils.debug-info/test_dwarf_powerpc64le-linux-gnu \
86 plugins/flt.lttng-utils.debug-info/test_dwarf_x86_64-linux-gnu \
87 plugins/flt.lttng-utils.debug-info/test_bin_info_i386-linux-gnu \
88 plugins/flt.lttng-utils.debug-info/test_bin_info_powerpc-linux-gnu \
89 plugins/flt.lttng-utils.debug-info/test_bin_info_powerpc64le-linux-gnu \
90 plugins/flt.lttng-utils.debug-info/test_bin_info_x86_64-linux-gnu
cd1c5347
PP
91endif
92
93TESTS_PYTHON_PLUGIN_PROVIDER =
94
9e607e7c 95if ENABLE_PYTHON_PLUGINS
cd1c5347
PP
96TESTS_PYTHON_PLUGIN_PROVIDER += python-plugin-provider/test_python_plugin_provider
97endif
98
644e0364
MJ
99LOG_DRIVER_FLAGS = --merge --comments
100LOG_DRIVER = env AM_TAP_AWK='$(AWK)' \
101 BT_TESTS_SRCDIR='$(abs_top_srcdir)/tests' \
102 BT_TESTS_BUILDDIR='$(abs_top_builddir)/tests' \
103 BT_TESTS_AWK_BIN="$(AWK)" \
104 BT_TESTS_GREP_BIN="$(GREP)" \
105 BT_TESTS_PYTHON_BIN="$(PYTHON)" \
106 BT_TESTS_SED_BIN="$(SED)" \
107 $(SHELL) $(top_srcdir)/config/tap-driver.sh
11d328de 108
331731aa 109TESTS = $(TESTS_BINDINGS) $(TESTS_CLI) $(TESTS_CTF_WRITER) $(TESTS_LIB) \
1805e0b4 110 $(TESTS_PLUGINS) $(TESTS_PYTHON_PLUGIN_PROVIDER)
cd1c5347
PP
111
112define check_target
113check-$(1):
114 $(MAKE) $(AM_MAKEFLAGS) TESTS="$2" check
115endef
116
117$(eval $(call check_target,bindings,$(TESTS_BINDINGS)))
118$(eval $(call check_target,cli,$(TESTS_CLI)))
331731aa 119$(eval $(call check_target,ctf-writer,$(TESTS_CTF_WRITER)))
cd1c5347
PP
120$(eval $(call check_target,lib,$(TESTS_LIB)))
121$(eval $(call check_target,plugins,$(TESTS_PLUGINS)))
122$(eval $(call check_target,python-plugin-provider,$(TESTS_PYTHON_PLUGIN_PROVIDER)))
This page took 0.060178 seconds and 4 git commands to generate.