diff options
author | Yusuke Endoh <mame@ruby-lang.org> | 2019-06-19 23:10:40 +0900 |
---|---|---|
committer | Yusuke Endoh <mame@ruby-lang.org> | 2019-06-19 23:10:40 +0900 |
commit | 65944e96d39a8ae3602751f49cb337335b2c6c45 (patch) | |
tree | 4431f5cd1ed96fbbf04d3c928240de663fc3ac6b /test/racc/helper.rb | |
parent | 2abe548f356756788db7f893b221938a5f775ccd (diff) | |
download | ruby-65944e96d39a8ae3602751f49cb337335b2c6c45.tar.gz |
test/racc/test_racc_command.rb: Extend the timeout
test_opal, test_ruby18, and test_ruby22 are slow tests.
https://rubyci.org/logs/rubyci.s3.amazonaws.com/scw-ad7f67/ruby-master/log/20190619T105405Z.fail.html.gz
Diffstat (limited to 'test/racc/helper.rb')
-rw-r--r-- | test/racc/helper.rb | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/test/racc/helper.rb b/test/racc/helper.rb index 035c76a1e3..7dce020747 100644 --- a/test/racc/helper.rb +++ b/test/racc/helper.rb @@ -42,7 +42,7 @@ module Racc end end - def assert_compile(asset, args = []) + def assert_compile(asset, args = [], **opt) file = File.basename(asset, '.y') args = ([args].flatten) + [ "#{ASSET_DIR}/#{file}.y", @@ -50,7 +50,7 @@ module Racc "-O#{OUT_DIR}/#{file}", "-o#{TAB_DIR}/#{file}", ] - racc *args + racc *args, **opt end def assert_debugfile(asset, ok) @@ -91,12 +91,12 @@ module Racc "expectation. Try compiling it and diff with test/regress/#{file}.") end - def racc(*arg) - ruby "-S", RACC, *arg + def racc(*arg, **opt) + ruby "-S", RACC, *arg, **opt end - def ruby(*arg) - assert_ruby_status(["-C", TEMP_DIR, *arg]) + def ruby(*arg, **opt) + assert_ruby_status(["-C", TEMP_DIR, *arg], **opt) end end end |