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