summaryrefslogtreecommitdiff
path: root/test/ruby/test_zjit.rb
diff options
context:
space:
mode:
authorMaxime Chevalier-Boisvert <[email protected]>2025-03-10 17:01:51 -0400
committerTakashi Kokubun <[email protected]>2025-04-18 21:52:59 +0900
commit29c0ef55a79e0cd32270d86870d32254b8f3fd0f (patch)
tree0d39f6f577a3bf1bcbb93881e07610a9f794a81b /test/ruby/test_zjit.rb
parent1769c05e8d8e64e9df19bf410d8c1c71b97ffb3b (diff)
Add comments to tests
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/13131
Diffstat (limited to 'test/ruby/test_zjit.rb')
-rw-r--r--test/ruby/test_zjit.rb6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/ruby/test_zjit.rb b/test/ruby/test_zjit.rb
index 30ec7df04d..c937156fa0 100644
--- a/test/ruby/test_zjit.rb
+++ b/test/ruby/test_zjit.rb
@@ -73,13 +73,18 @@ class TestZJIT < Test::Unit::TestCase
}, call_threshold: 2
end
+ # FIXME: need to call twice because of call threshold 2, but
+ # then this fails because of missing FixnumLt
def test_less_than
assert_compiles 'true', %q{
def test(a, b) = a < b
test(2, 5)
+ #test(2, 5)
}, call_threshold: 2
end
+ # FIXME: need to call twice because of call threshold 2, but
+ # then this fails because of missing FixnumLt
def test_while_loop
assert_compiles '10', %q{
def loop_fun(n)
@@ -90,6 +95,7 @@ class TestZJIT < Test::Unit::TestCase
i
end
loop_fun(10)
+ #loop_fun(10)
}, call_threshold: 2
end