[ruby-core:115022] [Ruby master Bug#19921] TestYJIT#test_bug_19316 test failure
From:
"vo.x (Vit Ondruch) via ruby-core" <ruby-core@...>
Date:
2023-10-12 15:49:05 UTC
List:
ruby-core #115022
Issue #19921 has been updated by vo.x (Vit Ondruch).
mtasaka (Mamoru Tasaka) wrote in #note-2:
> This is failing (for me) since https://github.com/ruby/ruby/commit/492e9437dd33f64e283a9de21f49c65d3195c1f0
Interesting. Thx for looking into this. I saw this commit, but ruled it out initially. However, on the second look the `exits: { opt_plus: 1 }` from this hunk:
~~~
@@ -1153,7 +1153,7 @@ def foo
end
def test_invalidate_cyclic_branch
- assert_compiles(<<~'RUBY', result: 2)
+ assert_compiles(<<~'RUBY', result: 2, exits: { opt_plus: 1 })
def foo
i = 0
while i < 2
~~~
seem to correspond with the error message. That would mean that one test case might influence other, what would be unfortunate.
----------------------------------------
Bug #19921: TestYJIT#test_bug_19316 test failure
https://bugs.ruby-lang.org/issues/19921#change-104889
* Author: vo.x (Vit Ondruch)
* Status: Open
* Priority: Normal
* ruby -v: ruby 3.3.0dev (2023-10-12 master 52709a4862) [x86_64-linux]
* Backport: 3.0: UNKNOWN, 3.1: UNKNOWN, 3.2: UNKNOWN
----------------------------------------
Testing with 52709a4862 on Fedora Rawhide, I observe following failure:
~~~
94) Failure:
TestYJIT#test_bug_19316 [/builddir/build/BUILD/ruby-3.3.0-52709a4862/test/ruby/test_yjit.rb:1126]:
Expected no exits, but got
{:opt_and=>1}
~~~
--
https://bugs.ruby-lang.org/
______________________________________________
ruby-core mailing list -- ruby-core@ml.ruby-lang.org
To unsubscribe send an email to ruby-core-leave@ml.ruby-lang.org
ruby-core info -- https://ml.ruby-lang.org/mailman3/postorius/lists/ruby-core.ml.ruby-lang.org/