Update .gitignore: ignore generated API doc files
[babeltrace.git] / tests / Makefile.am
CommitLineData
8703bbf2 1SUBDIRS = utils cli lib bindings plugins
ac65e355 2
3d5e9596 3EXTRA_DIST = $(srcdir)/ctf-traces/** \
2748fb3b
AB
4 $(srcdir)/debug-info-data/** \
5 $(srcdir)/debug-info-data/.build-id/cd/**
1b83271b 6
cd1c5347
PP
7TESTS_BINDINGS =
8
4965530a
PP
9if ENABLE_PYTHON_PLUGINS
10SUBDIRS += python-plugin-provider
cd1c5347
PP
11TESTS_BINDINGS += bindings/python/bt2/test_python_bt2
12endif
13
14TESTS_CLI = \
15 cli/test_trace_read \
16 cli/test_packet_seq_num \
17 cli/test_convert_args \
18 cli/intersection/test_intersection \
19 cli/test_trace_copy \
20 cli/test_trimmer
21
22TESTS_LIB = \
23 lib/test_bitfield \
24 lib/test_ctf_writer_complete \
25 lib/test_bt_values \
26 lib/test_ctf_ir_ref \
27 lib/test_bt_ctf_field_type_validation \
28 lib/test_ir_visit \
29 lib/test_bt_notification_heap \
30 lib/test_graph_topo \
31 lib/test_cc_prio_map \
32 lib/test_bt_notification_iterator
33
34if ENABLE_PYTHON_PLUGINS
35TESTS_LIB += \
36 lib/writer/test_ctf_writer_no_packet_context.py \
37 lib/writer/test_ctf_writer_empty_packet.py
38endif
39
40if !ENABLE_BUILT_IN_PLUGINS
41TESTS_LIB += lib/test_plugin_complete
4965530a 42endif
cd1c5347
PP
43
44TESTS_PLUGINS =
45
46if !ENABLE_BUILT_IN_PLUGINS
47TESTS_PLUGINS += plugins/test-utils-muxer-complete
48endif
49
50if ENABLE_DEBUG_INFO
51TESTS_PLUGINS += \
52 plugins/test_dwarf_complete \
53 plugins/test_bin_info_complete
54endif
55
56TESTS_PYTHON_PLUGIN_PROVIDER =
57
58if ENABLE_PYTHON_BINDINGS
59TESTS_PYTHON_PLUGIN_PROVIDER += python-plugin-provider/test_python_plugin_provider
60endif
61
62TESTS = $(TESTS_BINDINGS) $(TESTS_CLI) $(TESTS_LIB) $(TESTS_PLUGINS) \
63 $(TESTS_PYTHON_PLUGIN_PROVIDER)
64
65define check_target
66check-$(1):
67 $(MAKE) $(AM_MAKEFLAGS) TESTS="$2" check
68endef
69
70$(eval $(call check_target,bindings,$(TESTS_BINDINGS)))
71$(eval $(call check_target,cli,$(TESTS_CLI)))
72$(eval $(call check_target,lib,$(TESTS_LIB)))
73$(eval $(call check_target,plugins,$(TESTS_PLUGINS)))
74$(eval $(call check_target,python-plugin-provider,$(TESTS_PYTHON_PLUGIN_PROVIDER)))
This page took 0.046618 seconds and 4 git commands to generate.