diff options
author | John Hawthorn <john@hawthorn.email> | 2021-07-15 16:38:26 -0700 |
---|---|---|
committer | Alan Wu <XrXr@users.noreply.github.com> | 2021-10-20 18:19:37 -0400 |
commit | 9c9e23e2770bef9bc0168957676a2c2aa4f3dc1c (patch) | |
tree | d2075c7ab21c683eace7b8d1bb41f560adfdbe82 | |
parent | 4040ca82938445f8c1959c5b1e8619803ff78b1b (diff) |
Add assert_no_exits alias
-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 |