Skip to content

Commit dae2c80

Browse files
committed
Ignore parseing specific files on TruffleRuby to make CI green
CI is currently failing due to an issue with Ripper on the latest TruffleRuby version. This commit removes the offending tests from running, to ensure CI is green again.
1 parent 49b7581 commit dae2c80

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

test/yarp/parse_test.rb

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,9 @@ def test_parse_lex_file
5858
# These fail on TruffleRuby due to a difference in Symbol#inspect: :测试 vs :"测试"
5959
next if RUBY_ENGINE == "truffleruby" and %w[seattlerb/bug202.txt seattlerb/magic_encoding_comment.txt].include?(relative)
6060

61+
# These fail on TruffleRuby due to a Ripper difference
62+
next if RUBY_ENGINE == "truffleruby" and %w[symbols.txt unparser/corpus/literal/def.txt].include?(relative)
63+
6164
filepath = File.join(base, relative)
6265
snapshot = File.expand_path(File.join("snapshots", relative), __dir__)
6366

0 commit comments

Comments
 (0)