Skip to content

Commit

Permalink
Merge pull request #1551 from ruby/fix-ci
Browse files Browse the repository at this point in the history
Ignore parsing specific files on TruffleRuby to make CI green
  • Loading branch information
jemmaissroff authored Sep 19, 2023
2 parents 49b7581 + dae2c80 commit a3f5185
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions test/yarp/parse_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,9 @@ def test_parse_lex_file
# These fail on TruffleRuby due to a difference in Symbol#inspect: :测试 vs :"测试"
next if RUBY_ENGINE == "truffleruby" and %w[seattlerb/bug202.txt seattlerb/magic_encoding_comment.txt].include?(relative)

# These fail on TruffleRuby due to a Ripper difference
next if RUBY_ENGINE == "truffleruby" and %w[symbols.txt unparser/corpus/literal/def.txt].include?(relative)

filepath = File.join(base, relative)
snapshot = File.expand_path(File.join("snapshots", relative), __dir__)

Expand Down

0 comments on commit a3f5185

Please sign in to comment.