Commit | Line | Data |
---|---|---|
9d16b343 MJ |
1 | # SPDX-License-Identifier: GPL-2.0-only |
2 | ||
10135168 | 3 | SUBDIRS = tools |
9ac429ef | 4 | |
bce066c4 JR |
5 | LOG_DRIVER_FLAGS = --merge --post-script $(top_srcdir)/tests/utils/warn_processes.sh |
6 | LOG_DRIVER = env PGREP='$(PGREP)' AM_TAP_AWK='$(AWK)' $(SHELL) \ | |
202486fa | 7 | $(top_srcdir)/tests/utils/tap-driver.sh |
a36b26b4 | 8 | |
6ac56bb9 | 9 | TESTS = tools/base-path/test_ust \ |
fbee8987 | 10 | tools/channel/test_channel \ |
6ac56bb9 | 11 | tools/filtering/test_invalid_filter \ |
a36b26b4 MJ |
12 | tools/filtering/test_unsupported_op \ |
13 | tools/filtering/test_valid_filter \ | |
c146266c | 14 | tools/streaming/test_kernel \ |
a36b26b4 MJ |
15 | tools/streaming/test_ust \ |
16 | tools/health/test_thread_ok \ | |
c146266c FD |
17 | tools/live/test_kernel \ |
18 | tools/live/test_lttng_kernel \ | |
a36b26b4 MJ |
19 | tools/live/test_ust \ |
20 | tools/live/test_ust_tracefile_count \ | |
21 | tools/live/test_lttng_ust \ | |
22 | tools/tracefile-limits/test_tracefile_count \ | |
23 | tools/tracefile-limits/test_tracefile_size \ | |
24 | tools/exclusion/test_exclusion \ | |
c146266c | 25 | tools/snapshots/test_kernel \ |
a36b26b4 MJ |
26 | tools/snapshots/test_ust_fast \ |
27 | tools/snapshots/test_ust_streaming \ | |
c146266c | 28 | tools/snapshots/test_kernel_streaming \ |
a36b26b4 MJ |
29 | tools/save-load/test_save \ |
30 | tools/save-load/test_load \ | |
34ce800b | 31 | tools/save-load/test_autoload \ |
a36b26b4 MJ |
32 | tools/mi/test_mi \ |
33 | tools/wildcard/test_event_wildcard \ | |
34 | tools/crash/test_crash \ | |
c146266c | 35 | tools/regen-metadata/test_kernel \ |
54cd6107 | 36 | tools/regen-metadata/test_ust \ |
c146266c | 37 | tools/regen-statedump/test_kernel \ |
434f8068 | 38 | tools/regen-statedump/test_ust \ |
069fc1c5 FD |
39 | tools/notification/test_notification_ust_error \ |
40 | tools/notification/test_notification_ust_buffer_usage \ | |
26e2f47b | 41 | tools/notification/test_notification_ust_capture \ |
3e4ee3b3 | 42 | tools/notification/test_notification_ust_event_rule_condition_exclusion \ |
069fc1c5 FD |
43 | tools/notification/test_notification_kernel_error \ |
44 | tools/notification/test_notification_kernel_buffer_usage \ | |
26e2f47b | 45 | tools/notification/test_notification_kernel_capture \ |
51704c8e | 46 | tools/notification/test_notification_kernel_instrumentation \ |
aab0598f | 47 | tools/notification/test_notification_kernel_syscall \ |
38eb8a68 | 48 | tools/notification/test_notification_notifier_discarded_count \ |
45294d8a | 49 | tools/notification/test_notification_kernel_userspace_probe \ |
31188671 JG |
50 | tools/notification/test_notification_multi_app \ |
51 | tools/rotation/test_ust \ | |
52 | tools/rotation/test_kernel \ | |
6f7eb8e1 | 53 | tools/rotation/test_ust_kernel \ |
ed9f1fb2 | 54 | tools/rotation/test_save_load_mi \ |
01654d69 | 55 | tools/rotation/test_schedule_api \ |
f3630ec4 | 56 | tools/metadata/test_kernel \ |
c28fcefd | 57 | tools/working-directory/test_relayd_working_directory \ |
c28fcefd | 58 | tools/clear/test_ust \ |
5b64a0d0 | 59 | tools/clear/test_kernel \ |
b4b7369f | 60 | tools/tracker/test_event_tracker \ |
6ba31891 | 61 | tools/trigger/start-stop/test_start_stop \ |
0de2479d | 62 | tools/trigger/test_add_trigger_cli \ |
b61776fb | 63 | tools/trigger/test_list_triggers_cli \ |
2d0e6286 | 64 | tools/trigger/test_remove_trigger_cli \ |
1cc00241 | 65 | tools/trigger/name/test_trigger_name_backwards_compat \ |
ef945e4d JG |
66 | tools/trigger/hidden/test_hidden_trigger \ |
67 | tools/context/test_ust.py | |
a36b26b4 | 68 | |
10135168 MJ |
69 | # Only build kernel tests on Linux. |
70 | if IS_LINUX | |
71 | SUBDIRS += kernel | |
72 | endif # IS_LINUX | |
73 | ||
9ac429ef CB |
74 | if HAVE_LIBLTTNG_UST_CTL |
75 | SUBDIRS += ust | |
a36b26b4 MJ |
76 | TESTS += ust/before-after/test_before_after \ |
77 | ust/buffers-pid/test_buffers_pid \ | |
78 | ust/multi-session/test_multi_session \ | |
79 | ust/nprocesses/test_nprocesses \ | |
80 | ust/overlap/test_overlap \ | |
a36b26b4 MJ |
81 | ust/python-logging/test_python_logging \ |
82 | ust/getcpu-override/test_getcpu_override \ | |
83 | ust/clock-override/test_clock_override \ | |
84 | ust/test_event_basic \ | |
7cd988f0 | 85 | ust/test_event_tracef \ |
de7e372e | 86 | ust/test_event_perf \ |
3f7f208a | 87 | ust/blocking/test_blocking \ |
34ce800b | 88 | ust/multi-lib/test_multi_lib \ |
01654d69 | 89 | ust/rotation-destroy-flush/test_rotation_destroy_flush \ |
a9115ebf | 90 | tools/metadata/test_ust \ |
6ffce1f5 | 91 | tools/relayd-grouping/test_ust \ |
7f4d5b07 | 92 | tools/trigger/rate-policy/test_ust_rate_policy |
28b3dc1e | 93 | |
0fd2fd15 MJ |
94 | if TEST_JAVA_JUL_AGENT |
95 | TESTS += ust/java-jul/test_java_jul | |
96 | endif # TEST_JAVA_JUL_AGENT | |
97 | ||
98 | if TEST_JAVA_LOG4J_AGENT | |
99 | TESTS += ust/java-log4j/test_java_log4j | |
100 | endif # TEST_JAVA_LOG4J_AGENT | |
101 | ||
102 | if TEST_JAVA_LOG4J2_AGENT | |
103 | TESTS += ust/java-log4j2/test_agent_log4j2_domain_log4j | |
104 | endif # TEST_JAVA_LOG4J2_AGENT | |
105 | ||
28b3dc1e MJ |
106 | if IS_LINUX |
107 | TESTS += \ | |
0159fa50 JR |
108 | kernel/test_all_events \ |
109 | kernel/test_callstack \ | |
110 | kernel/test_channel \ | |
111 | kernel/test_clock_override \ | |
112 | kernel/test_event_basic \ | |
113 | kernel/test_kernel_function \ | |
114 | kernel/test_lttng_logger \ | |
115 | kernel/test_ns_contexts \ | |
116 | kernel/test_ns_contexts_change \ | |
117 | kernel/test_rotation_destroy_flush \ | |
118 | kernel/test_select_poll_epoll \ | |
119 | kernel/test_syscall \ | |
120 | kernel/test_userspace_probe \ | |
28b3dc1e MJ |
121 | ust/namespaces/test_ns_contexts \ |
122 | ust/namespaces/test_ns_contexts_change | |
123 | endif # IS_LINUX | |
9ac429ef CB |
124 | endif # HAVE_LIBLTTNG_UST_CTL |
125 | ||
a36b26b4 MJ |
126 | if PYTHON_BINDING |
127 | TESTS += ust/linking/test_linking \ | |
128 | ust/daemon/test_daemon \ | |
129 | ust/exit-fast/test_exit-fast \ | |
130 | ust/fork/test_fork \ | |
131 | ust/libc-wrapper/test_libc-wrapper \ | |
132 | ust/baddr-statedump/test_baddr-statedump \ | |
133 | ust/ust-dl/test_ust-dl \ | |
134 | ust/type-declarations/test_type_declarations | |
135 | endif |