diff options
author | Peter Zhu <[email protected]> | 2025-01-16 11:19:57 -0500 |
---|---|---|
committer | git <[email protected]> | 2025-01-16 16:20:06 +0000 |
commit | d05f6a9b8f1b262db234110935ac5f9cba2e7516 (patch) | |
tree | e0620748154ea24135b3725843256a1acfc91765 | |
parent | d1a30359b1aa2a9b2c2426b333ee9cf167f8f263 (diff) |
[ruby/mmtk] Add NoGC back to MMTK_PLAN test
https://github.com/ruby/mmtk/commit/89f8b8be04
-rw-r--r-- | test/mmtk/test_configuration.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/test/mmtk/test_configuration.rb b/test/mmtk/test_configuration.rb index a964918a1f..32d57b430c 100644 --- a/test/mmtk/test_configuration.rb +++ b/test/mmtk/test_configuration.rb @@ -12,8 +12,7 @@ module MMTk RUBY end - # TODO: Add NoGC once this is fixed: https://github.com/mmtk/mmtk-core/pull/1263 - %w(MarkSweep Immix).each do |plan| + %w(NoGC MarkSweep Immix).each do |plan| define_method(:"test_MMTK_PLAN_#{plan}") do assert_separately([{ "MMTK_PLAN" => plan }], <<~RUBY) assert_equal("#{plan}", GC.config[:mmtk_plan]) |