Index: test/cctest/test-weakmaps.cc |
diff --git a/test/cctest/test-weakmaps.cc b/test/cctest/test-weakmaps.cc |
index eb5333f6c0939ebae05ef820a936ba383b14fc77..0aee37bb5aae6c245b0983b053f19dedd153b3b2 100644 |
--- a/test/cctest/test-weakmaps.cc |
+++ b/test/cctest/test-weakmaps.cc |
@@ -249,6 +249,7 @@ TEST(Regress2060b) { |
TEST(Regress399527) { |
+ if (!FLAG_incremental_marking) return; |
CcTest::InitializeVM(); |
v8::HandleScope scope(CcTest::isolate()); |
Isolate* isolate = CcTest::i_isolate(); |