summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorHiroshi SHIBATA <hsbt@ruby-lang.org>2020-11-10 21:12:35 +0900
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2020-11-10 21:21:07 +0900
commit4a03df4507971e35732935cc2eb4a3bd9bf4a1a5 (patch)
tree2a45ef9bd6f3e904cb8cc2c03255798d5f0ae31c /test
parent5a19b492dad5a444826d18cf6d1a1261464a02c4 (diff)
[ruby/racc] skip the failing test with JRuby
https://github.com/ruby/racc/commit/cf37713895
Diffstat (limited to 'test')
-rw-r--r--test/racc/test_racc_command.rb2
1 files changed, 2 insertions, 0 deletions
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/)