Remove everything related to the `babeltrace` Python package
[babeltrace.git] / tests / Makefile.am
CommitLineData
7bb90dd0 1SUBDIRS = utils lib plugins
ac65e355 2
6a284733
MJ
3# Directories added to EXTRA_DIST will be recursively copied to the distribution.
4EXTRA_DIST = $(srcdir)/ctf-traces \
7bb90dd0
MJ
5 $(srcdir)/debug-info-data \
6 bindings/python/bt2/.coveragerc
1b83271b 7
7bb90dd0 8dist_check_SCRIPTS = \
7bb90dd0
MJ
9 bindings/python/bt2/test_clock_class_priority_map.py \
10 bindings/python/bt2/test_clock_class.py \
11 bindings/python/bt2/test_component_class.py \
12 bindings/python/bt2/test_component.py \
13 bindings/python/bt2/test_connection.py \
14 bindings/python/bt2/test_ctf_writer_clock.py \
15 bindings/python/bt2/test_event_class.py \
16 bindings/python/bt2/test_event.py \
17 bindings/python/bt2/test_field_class.py \
18 bindings/python/bt2/test_field.py \
19 bindings/python/bt2/test_graph.py \
20 bindings/python/bt2/test_message_iterator.py \
21 bindings/python/bt2/test_message.py \
22 bindings/python/bt2/test_packet.py \
23 bindings/python/bt2/test_plugin.py \
24 bindings/python/bt2/test_port.py \
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 \
32 python-plugin-provider/bt_plugin_test_python_plugin_provider.py \
33 python-plugin-provider/test_python_plugin_provider.py
cd1c5347 34
7bb90dd0 35TESTS_BINDINGS =
9e607e7c
JG
36
37if ENABLE_PYTHON_BINDINGS
b04a139e 38TESTS_BINDINGS += bindings/python/bt2/test_python_bt2
cd1c5347
PP
39endif
40
41TESTS_CLI = \
42 cli/test_trace_read \
43 cli/test_packet_seq_num \
44 cli/test_convert_args \
7bb90dd0 45 cli/test_intersection \
cd1c5347
PP
46 cli/test_trace_copy \
47 cli/test_trimmer
48
49TESTS_LIB = \
4041a53e 50 lib/test_bitfield \
cd1c5347 51 lib/test_bt_values \
4041a53e
SM
52 lib/test_ctf_writer_complete \
53 lib/test_graph_topo \
54 lib/test_trace_ir_ref
cd1c5347 55
cd1c5347
PP
56if !ENABLE_BUILT_IN_PLUGINS
57TESTS_LIB += lib/test_plugin_complete
4965530a 58endif
cd1c5347 59
1805e0b4 60if ENABLE_PYTHON_BINDINGS
56e18c4c 61TESTS_LIB += lib/trace-ir/test_trace_ir
d461e009 62TESTS_LIB += lib/ctf-writer/test_ctf_writer
1805e0b4
PP
63endif
64
cd1c5347
PP
65TESTS_PLUGINS =
66
67if !ENABLE_BUILT_IN_PLUGINS
d8992d68 68if ENABLE_PYTHON_BINDINGS
684658b1
PP
69TESTS_PLUGINS += plugins/ctf/test_ctf_plugin
70
71if ENABLE_DEBUG_INFO
d8992d68
PP
72TESTS_PLUGINS += plugins/test_lttng_utils_debug_info
73endif
74endif
cd1c5347
PP
75endif
76
77if ENABLE_DEBUG_INFO
78TESTS_PLUGINS += \
48c91dde 79 plugins/test_dwarf_i386-linux-gnu \
5d30f567 80 plugins/test_dwarf_powerpc-linux-gnu \
6d224992 81 plugins/test_dwarf_powerpc64le-linux-gnu \
6a284733 82 plugins/test_dwarf_x86_64-linux-gnu \
48c91dde 83 plugins/test_bin_info_i386-linux-gnu \
5d30f567 84 plugins/test_bin_info_powerpc-linux-gnu \
6d224992 85 plugins/test_bin_info_powerpc64le-linux-gnu \
6a284733 86 plugins/test_bin_info_x86_64-linux-gnu
cd1c5347
PP
87endif
88
89TESTS_PYTHON_PLUGIN_PROVIDER =
90
9e607e7c 91if ENABLE_PYTHON_PLUGINS
cd1c5347
PP
92TESTS_PYTHON_PLUGIN_PROVIDER += python-plugin-provider/test_python_plugin_provider
93endif
94
11d328de
PP
95LOG_DRIVER_FLAGS = '--merge'
96LOG_DRIVER = env AM_TAP_AWK='$(AWK)' $(SHELL) $(top_srcdir)/config/tap-driver.sh
97
1805e0b4
PP
98TESTS = $(TESTS_BINDINGS) $(TESTS_CLI) $(TESTS_LIB) \
99 $(TESTS_PLUGINS) $(TESTS_PYTHON_PLUGIN_PROVIDER)
cd1c5347
PP
100
101define check_target
102check-$(1):
103 $(MAKE) $(AM_MAKEFLAGS) TESTS="$2" check
104endef
105
106$(eval $(call check_target,bindings,$(TESTS_BINDINGS)))
107$(eval $(call check_target,cli,$(TESTS_CLI)))
108$(eval $(call check_target,lib,$(TESTS_LIB)))
109$(eval $(call check_target,plugins,$(TESTS_PLUGINS)))
110$(eval $(call check_target,python-plugin-provider,$(TESTS_PYTHON_PLUGIN_PROVIDER)))
This page took 0.058891 seconds and 4 git commands to generate.