Commit | Line | Data |
---|---|---|
0235b0db MJ |
1 | # SPDX-License-Identifier: MIT |
2 | ||
7bb90dd0 | 3 | SUBDIRS = |
4c3453a1 | 4 | |
05c03100 | 5 | AM_CPPFLAGS += -I$(top_srcdir)/tests/utils |
aa968dde | 6 | |
550b7a4e MJ |
7 | COMMON_TEST_LDADD = \ |
8 | $(top_builddir)/tests/utils/tap/libtap.la \ | |
d3148009 | 9 | $(top_builddir)/tests/utils/libtestcommon.la \ |
3b3873c8 SM |
10 | $(top_builddir)/src/common/libbabeltrace2-common.la \ |
11 | $(top_builddir)/src/logging/libbabeltrace2-logging.la | |
21d04293 | 12 | |
d3148009 SM |
13 | test_bt_values_LDADD = $(COMMON_TEST_LDADD) \ |
14 | $(top_builddir)/src/lib/libbabeltrace2.la | |
15 | ||
16 | test_bt_uuid_LDADD = $(COMMON_TEST_LDADD) | |
6162e6b7 | 17 | |
67d2ce02 | 18 | test_trace_ir_ref_LDADD = $(COMMON_TEST_LDADD) \ |
578e048b | 19 | $(top_builddir)/src/lib/libbabeltrace2.la \ |
d3148009 | 20 | $(top_builddir)/src/ctf-writer/libbabeltrace2-ctf-writer.la |
c9b3f44b | 21 | |
21d04293 | 22 | test_graph_topo_LDADD = $(COMMON_TEST_LDADD) \ |
d3148009 | 23 | $(top_builddir)/src/lib/libbabeltrace2.la |
21d04293 | 24 | |
8c20dd54 | 25 | test_simple_sink_LDADD = $(COMMON_TEST_LDADD) \ |
d3148009 | 26 | $(top_builddir)/src/lib/libbabeltrace2.la |
8c20dd54 | 27 | |
8bd8ac79 SM |
28 | test_remove_destruction_listener_in_destruction_listener_LDADD = \ |
29 | $(COMMON_TEST_LDADD) \ | |
30 | $(top_builddir)/src/lib/libbabeltrace2.la | |
31 | ||
8c20dd54 | 32 | noinst_PROGRAMS = \ |
8c20dd54 | 33 | test_bt_uuid \ |
8bd8ac79 | 34 | test_bt_values \ |
8c20dd54 | 35 | test_graph_topo \ |
8bd8ac79 SM |
36 | test_remove_destruction_listener_in_destruction_listener \ |
37 | test_simple_sink \ | |
38 | test_trace_ir_ref | |
aa968dde | 39 | |
21d04293 | 40 | test_bt_values_SOURCES = test_bt_values.c |
8c20dd54 | 41 | test_simple_sink_SOURCES = test_simple_sink.c |
6162e6b7 | 42 | test_bt_uuid_SOURCES = test_bt_uuid.c |
56e18c4c | 43 | test_trace_ir_ref_SOURCES = test_trace_ir_ref.c |
21d04293 | 44 | test_graph_topo_SOURCES = test_graph_topo.c |
8bd8ac79 SM |
45 | test_remove_destruction_listener_in_destruction_listener_SOURCES = \ |
46 | test_remove_destruction_listener_in_destruction_listener.c | |
aa968dde | 47 | |
9ffc0257 | 48 | if !ENABLE_BUILT_IN_PLUGINS |
644e0364 MJ |
49 | noinst_PROGRAMS += plugin |
50 | plugin_LDADD = $(COMMON_TEST_LDADD) \ | |
d3148009 | 51 | $(top_builddir)/src/lib/libbabeltrace2.la |
644e0364 | 52 | plugin_SOURCES = plugin.c |
1b83271b PP |
53 | SUBDIRS += test-plugin-plugins |
54 | endif | |
644e0364 MJ |
55 | |
56 | dist_check_SCRIPTS = test_plugin | |
5d7e8359 PP |
57 | |
58 | if HAVE_PYTHON | |
59 | if DEV_MODE | |
60 | SUBDIRS += conds | |
61 | endif | |
62 | endif |