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

appveyor.yml: separately execute unstable tests

without -j option. Those 2 tests are too unstable on AppVeyor.

test/excludes/TestThreadQueue.rb: The most unstable test ever. That even fails on my
machine too. This may be possibly because recent SIGCHLD-related changes.
https://ci.appveyor.com/project/ruby/ruby/build/9795/job/l9t4w9ks7arsldb1

test/excludes/TestWin32OLE.rb: I saw that win32ole crashes test-all several times.
https://ci.appveyor.com/project/ruby/ruby/build/9811/job/ra5uxf2cg6v7ohag


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64938 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
k0kubun 2018-10-07 12:03:49 +00:00
parent 6b596cc219
commit 686a12a6a4
3 changed files with 28 additions and 1 deletions

View file

@ -92,7 +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=3.0" test-all RUBY_FORCE_TEST_JIT=1
- nmake -l "TESTOPTS=-q -j%JOBS% --subprocess-timeout-scale=1.5" test-all RUBY_FORCE_TEST_JIT=1
# execute unstable tests separately without -j.
- nmake -l "TESTOPTS=-q --subprocess-timeout-scale=3.0" test-all TEST_EXCLUDES= TESTS="../test/win32ole/test_win32ole.rb ../test/ruby/test_thread_queue.rb"
- nmake -l test-spec
-
matrix:

View file

@ -0,0 +1,12 @@
if ENV['APPVEYOR'] == 'True' && RUBY_PLATFORM.match?(/mswin/)
exclude :test_queue_with_trap, 'too unstable on vs140'
# separately tested on appveyor.yml.
end
# https://ci.appveyor.com/project/ruby/ruby/build/9795/job/l9t4w9ks7arsldb1
# 1) Error:
# TestThreadQueue#test_queue_with_trap:
# Timeout::Error: execution of assert_in_out_err expired timeout (30.0 sec)
# pid 22988 exit 0
# |
# C:/projects/ruby/test/ruby/test_thread_queue.rb:553:in `test_queue_with_trap'

View file

@ -0,0 +1,13 @@
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'