903d9a2dbc3df0802e1fc96b37f30443e90b2c16
[babeltrace.git] / tests / lib / Makefile.am
1 # SPDX-License-Identifier: MIT
2
3 SUBDIRS = utils
4
5 AM_CPPFLAGS += -I$(top_srcdir)/tests/utils
6
7 COMMON_TEST_LDADD = \
8 $(top_builddir)/tests/utils/tap/libtap.la \
9 $(top_builddir)/tests/utils/libtestcommon.la \
10 $(top_builddir)/tests/lib/utils/liblib-utils.la \
11 $(top_builddir)/src/common/libbabeltrace2-common.la \
12 $(top_builddir)/src/logging/liblogging.la
13
14 test_bt_values_LDADD = $(COMMON_TEST_LDADD) \
15 $(top_builddir)/src/lib/libbabeltrace2.la
16
17 test_fields_bin_LDADD = $(COMMON_TEST_LDADD) \
18 $(top_builddir)/src/lib/libbabeltrace2.la
19
20 test_bt_uuid_LDADD = $(COMMON_TEST_LDADD)
21
22 test_trace_ir_ref_LDADD = $(COMMON_TEST_LDADD) \
23 $(top_builddir)/src/lib/libbabeltrace2.la \
24 $(top_builddir)/src/ctf-writer/libbabeltrace2-ctf-writer.la
25
26 test_graph_topo_LDADD = $(COMMON_TEST_LDADD) \
27 $(top_builddir)/src/lib/libbabeltrace2.la
28
29 test_simple_sink_LDADD = $(COMMON_TEST_LDADD) \
30 $(top_builddir)/src/lib/libbabeltrace2.la
31
32 test_remove_destruction_listener_in_destruction_listener_LDADD = \
33 $(COMMON_TEST_LDADD) \
34 $(top_builddir)/src/lib/libbabeltrace2.la
35
36 noinst_PROGRAMS = \
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
44
45 test_bt_values_SOURCES = test_bt_values.c
46 test_fields_bin_SOURCES = test_fields_bin.cpp
47 test_simple_sink_SOURCES = test_simple_sink.c
48 test_bt_uuid_SOURCES = test_bt_uuid.c
49 test_trace_ir_ref_SOURCES = test_trace_ir_ref.c
50 test_graph_topo_SOURCES = test_graph_topo.c
51 test_remove_destruction_listener_in_destruction_listener_SOURCES = \
52 test_remove_destruction_listener_in_destruction_listener.c
53
54 if !ENABLE_BUILT_IN_PLUGINS
55 noinst_PROGRAMS += plugin
56 plugin_LDADD = $(COMMON_TEST_LDADD) \
57 $(top_builddir)/src/lib/libbabeltrace2.la
58 plugin_SOURCES = plugin.c
59 SUBDIRS += test-plugin-plugins
60 endif
61
62 dist_check_SCRIPTS = test_plugin test_fields
63
64 if HAVE_PYTHON
65 if DEV_MODE
66 SUBDIRS += conds
67 endif
68 endif
This page took 0.036205 seconds and 3 git commands to generate.