1 # SPDX-License-Identifier: GPL-2.0-only
3 SUBDIRS = tools kernel ust
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) \
7 $(top_srcdir)/tests/utils/tap-driver.sh
9 TESTS = tools/base-path/test_ust \
10 tools/channel/test_channel \
11 tools/filtering/test_invalid_filter \
12 tools/filtering/test_unsupported_op \
13 tools/filtering/test_valid_filter \
14 tools/streaming/test_kernel \
15 tools/streaming/test_ust \
16 tools/health/test_thread_ok \
17 tools/live/test_kernel \
18 tools/live/test_lttng_kernel \
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 \
25 tools/snapshots/test_kernel \
26 tools/snapshots/test_ust_fast \
27 tools/snapshots/test_ust_streaming \
28 tools/snapshots/test_kernel_streaming \
29 tools/save-load/test_save \
30 tools/save-load/test_load \
31 tools/save-load/test_autoload \
33 tools/wildcard/test_event_wildcard \
34 tools/crash/test_crash \
35 tools/regen-metadata/test_kernel \
36 tools/regen-metadata/test_ust \
37 tools/regen-statedump/test_kernel \
38 tools/regen-statedump/test_ust \
39 tools/notification/test_notification_ust_error \
40 tools/notification/test_notification_ust_buffer_usage \
41 tools/notification/test_notification_ust_capture \
42 tools/notification/test_notification_ust_event_rule_condition_exclusion \
43 tools/notification/test_notification_kernel_error \
44 tools/notification/test_notification_kernel_buffer_usage \
45 tools/notification/test_notification_kernel_capture \
46 tools/notification/test_notification_kernel_instrumentation \
47 tools/notification/test_notification_kernel_syscall \
48 tools/notification/test_notification_notifier_discarded_count \
49 tools/notification/test_notification_kernel_userspace_probe \
50 tools/notification/test_notification_multi_app \
51 tools/rotation/test_ust \
52 tools/rotation/test_kernel \
53 tools/rotation/test_ust_kernel \
54 tools/rotation/test_save_load_mi \
55 tools/rotation/test_schedule_api \
56 tools/metadata/test_kernel \
57 tools/working-directory/test_relayd_working_directory \
58 tools/clear/test_ust \
59 tools/clear/test_kernel \
60 tools/tracker/test_event_tracker \
61 tools/trigger/start-stop/test_start_stop \
62 tools/trigger/test_add_trigger_cli \
63 tools/trigger/test_list_triggers_cli \
64 tools/trigger/test_remove_trigger_cli \
65 tools/trigger/name/test_trigger_name_backwards_compat \
66 tools/trigger/hidden/test_hidden_trigger
68 if HAVE_LIBLTTNG_UST_CTL
70 TESTS += ust/before-after/test_before_after \
71 ust/buffers-pid/test_buffers_pid \
72 ust/multi-session/test_multi_session \
73 ust/nprocesses/test_nprocesses \
74 ust/overlap/test_overlap \
75 ust/python-logging/test_python_logging \
76 ust/getcpu-override/test_getcpu_override \
77 ust/clock-override/test_clock_override \
78 ust/test_event_basic \
79 ust/test_event_tracef \
81 ust/blocking/test_blocking \
82 ust/multi-lib/test_multi_lib \
83 ust/rotation-destroy-flush/test_rotation_destroy_flush \
84 tools/metadata/test_ust \
85 tools/relayd-grouping/test_ust \
86 tools/trigger/rate-policy/test_ust_rate_policy
88 if TEST_JAVA_JUL_AGENT
89 TESTS += ust/java-jul/test_java_jul
90 endif # TEST_JAVA_JUL_AGENT
92 if TEST_JAVA_LOG4J_AGENT
93 TESTS += ust/java-log4j/test_java_log4j
94 endif # TEST_JAVA_LOG4J_AGENT
96 if TEST_JAVA_LOG4J2_AGENT
97 TESTS += ust/java-log4j2/test_agent_log4j2_domain_log4j
98 endif # TEST_JAVA_LOG4J2_AGENT
102 kernel/test_all_events \
103 kernel/test_callstack \
104 kernel/test_channel \
105 kernel/test_clock_override \
106 kernel/test_event_basic \
107 kernel/test_kernel_function \
108 kernel/test_lttng_logger \
109 kernel/test_ns_contexts \
110 kernel/test_ns_contexts_change \
111 kernel/test_rotation_destroy_flush \
112 kernel/test_select_poll_epoll \
113 kernel/test_syscall \
114 kernel/test_userspace_probe \
115 ust/namespaces/test_ns_contexts \
116 ust/namespaces/test_ns_contexts_change
118 endif # HAVE_LIBLTTNG_UST_CTL
121 TESTS += ust/linking/test_linking \
122 ust/daemon/test_daemon \
123 ust/exit-fast/test_exit-fast \
125 ust/libc-wrapper/test_libc-wrapper \
126 ust/baddr-statedump/test_baddr-statedump \
127 ust/ust-dl/test_ust-dl \
128 ust/type-declarations/test_type_declarations