summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authork0kubun <k0kubun@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-10-07 16:45:16 +0000
committerk0kubun <k0kubun@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-10-07 16:45:16 +0000
commit2c276c1950d139ce3d2fd0de4cd50ee8371b3c39 (patch)
tree29193bc24b5d83287538123f7e242a74706e07c1
parent24ca872070d0aa458edae8aaded8723c631d20de (diff)
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
-rw-r--r--appveyor.yml4
-rw-r--r--test/excludes/TestWin32OLE.rb13
2 files changed, 2 insertions, 15 deletions
diff --git a/appveyor.yml b/appveyor.yml
index 6ff786684e..58e7d41ca1 100644
--- a/appveyor.yml
+++ b/appveyor.yml
@@ -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:
diff --git a/test/excludes/TestWin32OLE.rb b/test/excludes/TestWin32OLE.rb
deleted file mode 100644
index 9ea8fa4207..0000000000
--- a/test/excludes/TestWin32OLE.rb
+++ /dev/null
@@ -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'