diff options
author | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2020-11-10 21:12:35 +0900 |
---|---|---|
committer | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2020-11-10 21:21:07 +0900 |
commit | 4a03df4507971e35732935cc2eb4a3bd9bf4a1a5 (patch) | |
tree | 2a45ef9bd6f3e904cb8cc2c03255798d5f0ae31c /test/racc | |
parent | 5a19b492dad5a444826d18cf6d1a1261464a02c4 (diff) | |
download | ruby-4a03df4507971e35732935cc2eb4a3bd9bf4a1a5.tar.gz |
[ruby/racc] skip the failing test with JRuby
https://github.com/ruby/racc/commit/cf37713895
Diffstat (limited to 'test/racc')
-rw-r--r-- | test/racc/test_racc_command.rb | 2 |
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/) |