diff options
-rw-r--r-- | test/ruby/test_yjit.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/ruby/test_yjit.rb b/test/ruby/test_yjit.rb index 4c3889a3f7..28802e485d 100644 --- a/test/ruby/test_yjit.rb +++ b/test/ruby/test_yjit.rb @@ -137,6 +137,10 @@ class TestYJIT < Test::Unit::TestCase RUBY end + def assert_no_exits(script) + assert_compiles(script) + end + def assert_compiles(test_script, insns: [], min_calls: 1, stdout: nil, exits: {}) reset_stats = <<~RUBY YJIT.runtime_stats |