From 4a03df4507971e35732935cc2eb4a3bd9bf4a1a5 Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA Date: Tue, 10 Nov 2020 21:12:35 +0900 Subject: [PATCH] [ruby/racc] skip the failing test with JRuby https://github.com/ruby/racc/commit/cf37713895 --- test/racc/test_racc_command.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/racc/test_racc_command.rb b/test/racc/test_racc_command.rb index fb00ce7260..0d2c5829e4 100644 --- a/test/racc/test_racc_command.rb +++ b/test/racc/test_racc_command.rb @@ -320,6 +320,8 @@ module Racc end def test_ifelse + omit if RUBY_PLATFORM =~ /java/ + stderr = nil racc "-o#{@TAB_DIR}/ifelse", "#{ASSET_DIR}/ifelse.y", stdout_filter: ->(s) { stderr = s } stderr = stderr.lines[1..-1].join if RUBY_PLATFORM.match?(/java/)