Index: test/cctest/wasm/test-run-wasm-module.cc |
diff --git a/test/cctest/wasm/test-run-wasm-module.cc b/test/cctest/wasm/test-run-wasm-module.cc |
index e059951018731a6ee108860c0c4b78ff88f12710..458fc1a9e4fd65b4b9127832e282411310870b0f 100644 |
--- a/test/cctest/wasm/test-run-wasm-module.cc |
+++ b/test/cctest/wasm/test-run-wasm-module.cc |
@@ -437,6 +437,9 @@ class InterruptThread : public v8::base::Thread { |
}; |
TEST(TestInterruptLoop) { |
+ // Do not dump the module of this test because it contains an infinite loop. |
+ if (FLAG_dump_wasm_module) return; |
+ |
// This test tests that WebAssembly loops can be interrupted, i.e. that if an |
// InterruptCallback is registered by {Isolate::RequestInterrupt}, then the |
// InterruptCallback is eventually called even if a loop in WebAssembly code |