| Index: test/cctest/test-mark-compact.cc
|
| diff --git a/test/cctest/test-mark-compact.cc b/test/cctest/test-mark-compact.cc
|
| index b006cfbf05f4b87c7fce1bfc926e62f0b08e61fb..cfe9e196e62cb24e6734ecd594d64a546f1c3ae4 100644
|
| --- a/test/cctest/test-mark-compact.cc
|
| +++ b/test/cctest/test-mark-compact.cc
|
| @@ -70,6 +70,10 @@ TEST(MarkingStack) {
|
|
|
|
|
| TEST(Promotion) {
|
| + // This test requires compaction. If compaction is turned off, we
|
| + // skip the entire test.
|
| + if (FLAG_never_compact) return;
|
| +
|
| // Ensure that we get a compacting collection so that objects are promoted
|
| // from new space.
|
| FLAG_gc_global = true;
|
|
|