Commit 4341749d authored by Mircea Trofin's avatar Mircea Trofin Committed by Commit Bot

[wasm] Disable WasmCodeManagerTest when run under lsan

Disabling while investigating referenced bug.

Bug: chromium:787976
Change-Id: I0388d8902f40e3b2f3759542befd3c6c20b6da38
Reviewed-on: https://chromium-review.googlesource.com/786325
Commit-Queue: Mircea Trofin <mtrofin@chromium.org>
Commit-Queue: Brad Nelson <bradnelson@chromium.org>
Reviewed-by: 's avatarBrad Nelson <bradnelson@chromium.org>
Cr-Commit-Position: refs/heads/master@{#49593}
parent 8a58b487
...@@ -151,6 +151,8 @@ TEST_F(DisjointAllocationPoolTest, MergingSkipLargerSrcWithGap) { ...@@ -151,6 +151,8 @@ TEST_F(DisjointAllocationPoolTest, MergingSkipLargerSrcWithGap) {
CheckLooksLike(a, {{10, 15}, {20, 35}, {36, 40}}); CheckLooksLike(a, {{10, 15}, {20, 35}, {36, 40}});
} }
// TODO(chromium:787976): remove conditional compilation when bug is fixed
#if !LEAK_SANITIZER
class WasmCodeManagerTest : public TestWithIsolate { class WasmCodeManagerTest : public TestWithIsolate {
public: public:
using NativeModulePtr = std::unique_ptr<NativeModule>; using NativeModulePtr = std::unique_ptr<NativeModule>;
...@@ -385,6 +387,7 @@ TEST_F(WasmCodeManagerTest, LookupWorksAfterRewrite) { ...@@ -385,6 +387,7 @@ TEST_F(WasmCodeManagerTest, LookupWorksAfterRewrite) {
CHECK_EQ(code1_1, manager.LookupCode(code1_1->instructions().start())); CHECK_EQ(code1_1, manager.LookupCode(code1_1->instructions().start()));
} }
} }
#endif
} // namespace wasm_heap_unittest } // namespace wasm_heap_unittest
} // namespace wasm } // namespace wasm
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment