From 67905bcaf386409b02dbf91d9a5750940071b00e Mon Sep 17 00:00:00 2001 From: Vitaly Buka Date: Tue, 12 Oct 2021 14:09:49 -0700 Subject: [PATCH] [sanitizer] Re-enable test on Windows It's likely missdiagnosed issue fixed with 336e88636a99c18a4747cb06ad1bc9b590901482 --- .../lib/sanitizer_common/tests/sanitizer_stackdepot_test.cpp | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/compiler-rt/lib/sanitizer_common/tests/sanitizer_stackdepot_test.cpp b/compiler-rt/lib/sanitizer_common/tests/sanitizer_stackdepot_test.cpp index 19d64fb..9f6b134 100644 --- a/compiler-rt/lib/sanitizer_common/tests/sanitizer_stackdepot_test.cpp +++ b/compiler-rt/lib/sanitizer_common/tests/sanitizer_stackdepot_test.cpp @@ -65,13 +65,7 @@ TEST(SanitizerCommon, StackDepotSeveral) { EXPECT_NE(i1, i2); } -#if SANITIZER_WINDOWS -// CaptureStderr does not work on Windows. -#define Maybe_StackDepotPrint DISABLED_StackDepotPrint -#else -#define Maybe_StackDepotPrint StackDepotPrint -#endif -TEST(SanitizerCommon, Maybe_StackDepotPrint) { +TEST(SanitizerCommon, StackDepotPrint) { uptr array1[] = {0x111, 0x222, 0x333, 0x444, 0x777}; StackTrace s1(array1, ARRAY_SIZE(array1)); u32 i1 = StackDepotPut(s1); -- 2.7.4