summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Hawthorn <john@hawthorn.email>2021-07-15 16:38:26 -0700
committerAlan Wu <XrXr@users.noreply.github.com>2021-10-20 18:19:37 -0400
commit9c9e23e2770bef9bc0168957676a2c2aa4f3dc1c (patch)
treed2075c7ab21c683eace7b8d1bb41f560adfdbe82
parent4040ca82938445f8c1959c5b1e8619803ff78b1b (diff)
Add assert_no_exits alias
-rw-r--r--test/ruby/test_yjit.rb4
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