1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

appveyor.yml: completely separate win32ole tests

because r64938 was not enough and another win32ole test file
(`test_win32ole_type.rb`) crashed worker.
https://ci.appveyor.com/project/ruby/ruby/builds/19321161/job/ue1qrphi5j1xxgu6

Let's run whole win32ole test suite separately.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64948 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
k0kubun 2018-10-07 16:45:16 +00:00
parent 24ca872070
commit 2c276c1950
2 changed files with 2 additions and 15 deletions

View file

@ -92,9 +92,9 @@ for:
- set /a JOBS=%NUMBER_OF_PROCESSORS%
- nmake -l "TESTOPTS=-v -q" btest
- nmake -l "TESTOPTS=-v -q" test-basic
- nmake -l "TESTOPTS=-q -j%JOBS% --subprocess-timeout-scale=1.5" test-all RUBY_FORCE_TEST_JIT=1
- nmake -l "TESTOPTS=-q -j%JOBS% --subprocess-timeout-scale=1.5 --exclude win32ole" test-all RUBY_FORCE_TEST_JIT=1
# separately execute tests that may crash worker without -j.
- nmake -l "TESTOPTS=-q --subprocess-timeout-scale=1.5" test-all TEST_EXCLUDES= TESTS="../test/win32ole/test_win32ole.rb"
- nmake -l "TESTOPTS=-q --subprocess-timeout-scale=1.5" test-all TESTS="../test/win32ole"
- nmake -l test-spec
-
matrix:

View file

@ -1,13 +0,0 @@
if ENV['APPVEYOR'] == 'True' && RUBY_PLATFORM.match?(/mswin/)
exclude(/\Atest_/, 'test_win32ole.rb sometimes causes worker crash')
# separately tested on appveyor.yml.
end
# https://ci.appveyor.com/project/ruby/ruby/build/9811/job/ra5uxf2cg6v7ohag
#
# running file: C:/projects/ruby/test/win32ole/test_win32ole.rb
#
# Some worker was crashed. It seems ruby interpreter's bug
# or, a bug of test/unit/parallel.rb. try again without -j
# option.
# NMAKE : fatal error U1077: '.\ruby.exe' : return code '0x1'