[ruby/racc] skip the failing test with JRuby
https://github.com/ruby/racc/commit/cf37713895
This commit is contained in:
parent
5a19b492da
commit
4a03df4507
@ -320,6 +320,8 @@ module Racc
|
|||||||
end
|
end
|
||||||
|
|
||||||
def test_ifelse
|
def test_ifelse
|
||||||
|
omit if RUBY_PLATFORM =~ /java/
|
||||||
|
|
||||||
stderr = nil
|
stderr = nil
|
||||||
racc "-o#{@TAB_DIR}/ifelse", "#{ASSET_DIR}/ifelse.y", stdout_filter: ->(s) { stderr = s }
|
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/)
|
stderr = stderr.lines[1..-1].join if RUBY_PLATFORM.match?(/java/)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user