| 1 | # SPDX-License-Identifier: GPL-2.0-only |
| 2 | |
| 3 | SUBDIRS = tools kernel ust |
| 4 | |
| 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)/config/tap-driver.sh |
| 8 | |
| 9 | TESTS = tools/base-path/test_ust \ |
| 10 | tools/filtering/test_invalid_filter \ |
| 11 | tools/filtering/test_unsupported_op \ |
| 12 | tools/filtering/test_valid_filter \ |
| 13 | tools/streaming/test_ust \ |
| 14 | tools/health/test_thread_ok \ |
| 15 | tools/live/test_ust \ |
| 16 | tools/live/test_ust_tracefile_count \ |
| 17 | tools/live/test_lttng_ust \ |
| 18 | tools/tracefile-limits/test_tracefile_count \ |
| 19 | tools/tracefile-limits/test_tracefile_size \ |
| 20 | tools/exclusion/test_exclusion \ |
| 21 | tools/snapshots/test_ust_fast \ |
| 22 | tools/snapshots/test_ust_streaming \ |
| 23 | tools/save-load/test_save \ |
| 24 | tools/save-load/test_load \ |
| 25 | tools/save-load/test_autoload \ |
| 26 | tools/mi/test_mi \ |
| 27 | tools/wildcard/test_event_wildcard \ |
| 28 | tools/crash/test_crash \ |
| 29 | tools/regen-metadata/test_ust \ |
| 30 | tools/regen-statedump/test_ust \ |
| 31 | tools/notification/test_notification_ust_error \ |
| 32 | tools/notification/test_notification_ust_buffer_usage \ |
| 33 | tools/notification/test_notification_ust_capture \ |
| 34 | tools/notification/test_notification_ust_event_rule_condition_exclusion \ |
| 35 | tools/notification/test_notification_kernel_error \ |
| 36 | tools/notification/test_notification_kernel_buffer_usage \ |
| 37 | tools/notification/test_notification_kernel_capture \ |
| 38 | tools/notification/test_notification_kernel_instrumentation \ |
| 39 | tools/notification/test_notification_kernel_syscall \ |
| 40 | tools/notification/test_notification_notifier_discarded_count \ |
| 41 | tools/notification/test_notification_kernel_userspace_probe \ |
| 42 | tools/notification/test_notification_multi_app \ |
| 43 | tools/rotation/test_ust \ |
| 44 | tools/rotation/test_kernel \ |
| 45 | tools/rotation/test_save_load_mi \ |
| 46 | tools/rotation/test_schedule_api \ |
| 47 | tools/metadata/test_kernel \ |
| 48 | tools/working-directory/test_relayd_working_directory \ |
| 49 | tools/clear/test_ust \ |
| 50 | tools/clear/test_kernel \ |
| 51 | tools/tracker/test_event_tracker \ |
| 52 | tools/trigger/start-stop/test_start_stop \ |
| 53 | tools/trigger/test_add_trigger_cli \ |
| 54 | tools/trigger/test_list_triggers_cli \ |
| 55 | tools/trigger/test_remove_trigger_cli \ |
| 56 | tools/trigger/name/test_trigger_name_backwards_compat |
| 57 | |
| 58 | if HAVE_LIBLTTNG_UST_CTL |
| 59 | SUBDIRS += ust |
| 60 | TESTS += ust/before-after/test_before_after \ |
| 61 | ust/buffers-pid/test_buffers_pid \ |
| 62 | ust/multi-session/test_multi_session \ |
| 63 | ust/nprocesses/test_nprocesses \ |
| 64 | ust/overlap/test_overlap \ |
| 65 | ust/java-jul/test_java_jul \ |
| 66 | ust/java-log4j/test_java_log4j \ |
| 67 | ust/python-logging/test_python_logging \ |
| 68 | ust/getcpu-override/test_getcpu_override \ |
| 69 | ust/clock-override/test_clock_override \ |
| 70 | ust/test_event_basic \ |
| 71 | ust/test_event_tracef \ |
| 72 | ust/test_event_perf \ |
| 73 | ust/blocking/test_blocking \ |
| 74 | ust/multi-lib/test_multi_lib \ |
| 75 | ust/rotation-destroy-flush/test_rotation_destroy_flush \ |
| 76 | tools/metadata/test_ust \ |
| 77 | tools/relayd-grouping/test_ust \ |
| 78 | tools/trigger/rate-policy/test_ust_rate_policy |
| 79 | |
| 80 | if IS_LINUX |
| 81 | TESTS += \ |
| 82 | ust/namespaces/test_ns_contexts \ |
| 83 | ust/namespaces/test_ns_contexts_change |
| 84 | endif # IS_LINUX |
| 85 | endif # HAVE_LIBLTTNG_UST_CTL |
| 86 | |
| 87 | if PYTHON_BINDING |
| 88 | TESTS += ust/linking/test_linking \ |
| 89 | ust/daemon/test_daemon \ |
| 90 | ust/exit-fast/test_exit-fast \ |
| 91 | ust/fork/test_fork \ |
| 92 | ust/libc-wrapper/test_libc-wrapper \ |
| 93 | ust/baddr-statedump/test_baddr-statedump \ |
| 94 | ust/ust-dl/test_ust-dl \ |
| 95 | ust/type-declarations/test_type_declarations |
| 96 | endif |