lib: remove unused includes
[babeltrace.git] / tests / lib / Makefile.am
CommitLineData
0235b0db
MJ
1# SPDX-License-Identifier: MIT
2
484a3024 3SUBDIRS = utils
4c3453a1 4
05c03100 5AM_CPPFLAGS += -I$(top_srcdir)/tests/utils
aa968dde 6
550b7a4e
MJ
7COMMON_TEST_LDADD = \
8 $(top_builddir)/tests/utils/tap/libtap.la \
d3148009 9 $(top_builddir)/tests/utils/libtestcommon.la \
08b4db41 10 $(top_builddir)/tests/lib/utils/liblib-utils.la \
ed615696 11 $(top_builddir)/src/common/libcommon.la \
86ef6105 12 $(top_builddir)/src/logging/liblogging.la
21d04293 13
d3148009
SM
14test_bt_values_LDADD = $(COMMON_TEST_LDADD) \
15 $(top_builddir)/src/lib/libbabeltrace2.la
16
08b4db41
SM
17test_fields_bin_LDADD = $(COMMON_TEST_LDADD) \
18 $(top_builddir)/src/lib/libbabeltrace2.la
19
d3148009 20test_bt_uuid_LDADD = $(COMMON_TEST_LDADD)
6162e6b7 21
67d2ce02 22test_trace_ir_ref_LDADD = $(COMMON_TEST_LDADD) \
578e048b 23 $(top_builddir)/src/lib/libbabeltrace2.la \
d3148009 24 $(top_builddir)/src/ctf-writer/libbabeltrace2-ctf-writer.la
c9b3f44b 25
21d04293 26test_graph_topo_LDADD = $(COMMON_TEST_LDADD) \
d3148009 27 $(top_builddir)/src/lib/libbabeltrace2.la
21d04293 28
8c20dd54 29test_simple_sink_LDADD = $(COMMON_TEST_LDADD) \
d3148009 30 $(top_builddir)/src/lib/libbabeltrace2.la
8c20dd54 31
8bd8ac79
SM
32test_remove_destruction_listener_in_destruction_listener_LDADD = \
33 $(COMMON_TEST_LDADD) \
34 $(top_builddir)/src/lib/libbabeltrace2.la
35
8c20dd54 36noinst_PROGRAMS = \
7132b838
PP
37 test-bt-uuid \
38 test-bt-values \
39 test-graph-topo \
40 test-fields-bin \
41 test-remove-destruction-listener-in-destruction-listener \
42 test-simple-sink \
43 test-trace-ir-ref
aa968dde 44
7132b838
PP
45test_bt_values_SOURCES = test-bt-values.c
46test_fields_bin_SOURCES = test-fields-bin.cpp
47test_simple_sink_SOURCES = test-simple-sink.c
48test_bt_uuid_SOURCES = test-bt-uuid.c
49test_trace_ir_ref_SOURCES = test-trace-ir-ref.c
50test_graph_topo_SOURCES = test-graph-topo.c
8bd8ac79 51test_remove_destruction_listener_in_destruction_listener_SOURCES = \
7132b838 52 test-remove-destruction-listener-in-destruction-listener.c
aa968dde 53
9ffc0257 54if !ENABLE_BUILT_IN_PLUGINS
1a9956b9
SM
55noinst_PROGRAMS += test-plugins test-plugin-init-fail
56SUBDIRS += test-plugins-plugins test-plugin-init-fail-plugin
57
9f5bdcae 58test_plugins_SOURCES = test-plugins.c
1a9956b9
SM
59test_plugins_LDADD = \
60 $(COMMON_TEST_LDADD) \
61 $(top_builddir)/src/lib/libbabeltrace2.la
62
63test_plugin_init_fail_SOURCES = test-plugin-init-fail.cpp
64test_plugin_init_fail_LDADD = \
65 $(COMMON_TEST_LDADD) \
66 $(top_builddir)/src/cpp-common/vendor/fmt/libfmt.la \
67 $(top_builddir)/src/lib/libbabeltrace2.la
1b83271b 68endif
644e0364 69
9f5bdcae 70dist_check_SCRIPTS = test-plugins.sh test-fields.sh
5d7e8359
PP
71
72if HAVE_PYTHON
73if DEV_MODE
74SUBDIRS += conds
75endif
76endif
This page took 0.089453 seconds and 4 git commands to generate.