From 2c276c1950d139ce3d2fd0de4cd50ee8371b3c39 Mon Sep 17 00:00:00 2001 From: k0kubun Date: Sun, 7 Oct 2018 16:45:16 +0000 Subject: [PATCH] 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 --- appveyor.yml | 4 ++-- test/excludes/TestWin32OLE.rb | 13 ------------- 2 files changed, 2 insertions(+), 15 deletions(-) delete mode 100644 test/excludes/TestWin32OLE.rb 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'