diff options
-rw-r--r-- | bootstraptest/test_yjit.rb | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/bootstraptest/test_yjit.rb b/bootstraptest/test_yjit.rb index 53cdcc69ac..20db784a39 100644 --- a/bootstraptest/test_yjit.rb +++ b/bootstraptest/test_yjit.rb @@ -662,7 +662,11 @@ assert_equal "good", %q{ foo foo - GC.verify_compaction_references(double_heap: true, toward: :empty) + begin + GC.verify_compaction_references(double_heap: true, toward: :empty) + rescue NotImplementedError + # in case compaction isn't supported + end foo } |