summaryrefslogtreecommitdiff
path: root/test/racc
diff options
context:
space:
mode:
Diffstat (limited to 'test/racc')
-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/)