Skip to content

Commit

Permalink
skip the failing test with JRuby
Browse files Browse the repository at this point in the history
  • Loading branch information
hsbt committed Nov 10, 2020
1 parent 0314cfd commit cf37713
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/test_racc_command.rb
Expand Up @@ -320,6 +320,8 @@ def test_tp_plus
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/)
Expand Down

0 comments on commit cf37713

Please sign in to comment.