From a3f982c1d58a4c96377348aae203ab3f2c234729 Mon Sep 17 00:00:00 2001 From: Matt Mastracci Date: Wed, 28 Feb 2024 09:12:43 -0700 Subject: chore(cli): rename `--trace-ops` to `--trace-leaks` (#22598) As we add tracing to more types of runtime activity, `--trace-ops` is less useful of a name. `--trace-leaks` better reflects that this feature traces both ops and timers, and will eventually trace resource opening as well. This keeps `--trace-ops` as an alias for `--trace-leaks`, but prints a warning to the console suggesting migration to `--trace-leaks`. One test continues to use `--trace-ops` to test the deprecation warning. --------- Signed-off-by: Matt Mastracci --- tests/integration/test_tests.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tests/integration') diff --git a/tests/integration/test_tests.rs b/tests/integration/test_tests.rs index f9b47fdbc..cf02872e4 100644 --- a/tests/integration/test_tests.rs +++ b/tests/integration/test_tests.rs @@ -231,7 +231,7 @@ itest!(ops_sanitizer_timeout_failure { itest!(ops_sanitizer_multiple_timeout_tests { args: - "test --trace-ops test/sanitizer/ops_sanitizer_multiple_timeout_tests.ts", + "test --trace-leaks test/sanitizer/ops_sanitizer_multiple_timeout_tests.ts", exit_code: 1, output: "test/sanitizer/ops_sanitizer_multiple_timeout_tests.out", }); @@ -243,13 +243,13 @@ itest!(ops_sanitizer_multiple_timeout_tests_no_trace { }); itest!(sanitizer_trace_ops_catch_error { - args: "test -A --trace-ops test/sanitizer/trace_ops_caught_error/main.ts", + args: "test -A --trace-leaks test/sanitizer/trace_ops_caught_error/main.ts", exit_code: 0, output: "test/sanitizer/trace_ops_caught_error/main.out", }); itest!(ops_sanitizer_closed_inside_started_before { - args: "test --trace-ops test/sanitizer/ops_sanitizer_closed_inside_started_before.ts", + args: "test --trace-leaks test/sanitizer/ops_sanitizer_closed_inside_started_before.ts", exit_code: 1, output: "test/sanitizer/ops_sanitizer_closed_inside_started_before.out", }); -- cgit v1.2.3