summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJemma Issroff <jemmaissroff@gmail.com>2023-09-19 12:25:07 -0400
committergit <svn-admin@ruby-lang.org>2023-09-19 16:43:24 +0000
commita71001d34103a9539ad0deaf4cec0cebe71dc2a5 (patch)
treec503fb8b785a9b10903a3c24aace4413aa635b32
parent0cda3ac45441a8325d40ab71074e93fe4c628c97 (diff)
[ruby/yarp] 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. https://github.com/ruby/yarp/commit/dae2c80c42
-rw-r--r--test/yarp/parse_test.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/yarp/parse_test.rb b/test/yarp/parse_test.rb
index eba5767776..e490b9082b 100644
--- a/test/yarp/parse_test.rb
+++ b/test/yarp/parse_test.rb
@@ -58,6 +58,9 @@ module YARP
# 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__)