From 851f795001a9164572d02606587ddc5193bdfd2d Mon Sep 17 00:00:00 2001 From: Luca Casonato Date: Thu, 14 Sep 2023 16:38:15 +0200 Subject: fix: output traces for op sanitizer in more cases (#20494) This adds traces for the "started outside test, closed inside test" case. --- cli/tests/integration/test_tests.rs | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'cli/tests/integration') diff --git a/cli/tests/integration/test_tests.rs b/cli/tests/integration/test_tests.rs index 042e84078..b4bf842ff 100644 --- a/cli/tests/integration/test_tests.rs +++ b/cli/tests/integration/test_tests.rs @@ -255,6 +255,12 @@ itest!(trace_ops_catch_error { // output: "test/ops_sanitizer_missing_details.out", // }); +itest!(ops_sanitizer_closed_inside_started_before { + args: "test --trace-ops test/ops_sanitizer_closed_inside_started_before.ts", + exit_code: 1, + output: "test/ops_sanitizer_closed_inside_started_before.out", +}); + itest!(ops_sanitizer_nexttick { args: "test --no-check test/ops_sanitizer_nexttick.ts", output: "test/ops_sanitizer_nexttick.out", -- cgit v1.2.3