configure.ac: disable native-fiber for MinGW

because it had already been SEGV-ed in pull request'S CI
https://ci.appveyor.com/project/ruby/ruby/builds/20427065/job/32oahrcd58b8ubb1
and has never worked on trunk either.

Please make sure it does not SEGVs on your MinGW environment or pull
request before enabling native fiber on MinGW.

appveyor.yml: reverted commits to make CI green with native fiber
test/excludes/_appveyor/msys2/TestArray.rb: ditto
test/excludes/_appveyor/msys2/TestEnumerable.rb: ditto
test/excludes/_appveyor/vs/TestArray.rb: ditto

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65892 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
k0kubun 2018-11-20 14:40:55 +00:00
parent 52007caea0
commit c6d0892fa2
5 changed files with 11 additions and 17 deletions

View File

@ -93,9 +93,9 @@ for:
- set /a JOBS=%NUMBER_OF_PROCESSORS% - set /a JOBS=%NUMBER_OF_PROCESSORS%
- nmake -l "TESTOPTS=-v -q" btest - nmake -l "TESTOPTS=-v -q" btest
- nmake -l "TESTOPTS=-v -q" test-basic - nmake -l "TESTOPTS=-v -q" test-basic
- nmake -l "TESTOPTS=-q --subprocess-timeout-scale=3.0 --excludes=../test/excludes/_appveyor/vs -j%JOBS% --exclude win32ole --exclude test_bignum --exclude test_syntax --exclude test_open-uri --exclude test_bundled_ca" test-all - nmake -l "TESTOPTS=-q --subprocess-timeout-scale=3.0 --excludes=../test/excludes/_appveyor -j%JOBS% --exclude win32ole --exclude test_bignum --exclude test_syntax --exclude test_open-uri --exclude test_bundled_ca" test-all
# separately execute tests without -j which may crash worker with -j. # separately execute tests without -j which may crash worker with -j.
- nmake -l "TESTOPTS=-v --subprocess-timeout-scale=3.0 --excludes=../test/excludes/_appveyor/vs" test-all TESTS="../test/win32ole ../test/ruby/test_bignum.rb ../test/ruby/test_syntax.rb ../test/open-uri/test_open-uri.rb ../test/rubygems/test_bundled_ca.rb" - nmake -l "TESTOPTS=-v --subprocess-timeout-scale=3.0 --excludes=../test/excludes/_appveyor" test-all TESTS="../test/win32ole ../test/ruby/test_bignum.rb ../test/ruby/test_syntax.rb ../test/open-uri/test_open-uri.rb ../test/rubygems/test_bundled_ca.rb"
- nmake -l test-spec MSPECOPT=-fs # not using `-j` because sometimes `mspec -j` silently dies on Windows - nmake -l test-spec MSPECOPT=-fs # not using `-j` because sometimes `mspec -j` silently dies on Windows
- -
matrix: matrix:
@ -136,7 +136,7 @@ for:
- mingw32-make DESTDIR=../install install-nodoc - mingw32-make DESTDIR=../install install-nodoc
test_script: test_script:
- mingw32-make test - mingw32-make test
- mingw32-make test-all TESTOPTS="--retry --job-status=normal --show-skip --subprocess-timeout-scale=1.5 --excludes=../ruby/test/excludes/_appveyor/msys2 -j %JOBS% --exclude test_enumerator --exclude win32ole --exclude test_open-uri" - mingw32-make test-all TESTOPTS="--retry --job-status=normal --show-skip --subprocess-timeout-scale=1.5 --excludes=../ruby/test/excludes/_appveyor -j %JOBS% --exclude win32ole --exclude test_open-uri"
# separately execute tests without -j which may crash worker with -j. # separately execute tests without -j which may crash worker with -j.
- mingw32-make test-all TESTOPTS="--retry --job-status=normal --show-skip --subprocess-timeout-scale=1.5 --excludes=../ruby/test/excludes/_appveyor/msys2" TESTS="../ruby/test/ruby/test_enumerator.rb ../ruby/test/win32ole ../ruby/test/open-uri/test_open-uri.rb" - mingw32-make test-all TESTOPTS="--retry --job-status=normal --show-skip --subprocess-timeout-scale=1.5 --excludes=../ruby/test/excludes/_appveyor" TESTS="../ruby/test/win32ole ../ruby/test/open-uri/test_open-uri.rb"
- mingw32-make test-spec MSPECOPT=-fs # not using `-j` because sometimes `mspec -j` silently dies on Windows - mingw32-make test-spec MSPECOPT=-fs # not using `-j` because sometimes `mspec -j` silently dies on Windows

View File

@ -2345,12 +2345,13 @@ AS_CASE(["$target_cpu-$target_os"],
AC_DEFINE_UNQUOTED(FIBER_USE_COROUTINE, ["$COROUTINE_H"]) AC_DEFINE_UNQUOTED(FIBER_USE_COROUTINE, ["$COROUTINE_H"])
AC_LIBOBJ([coroutine/x86/Context]) AC_LIBOBJ([coroutine/x86/Context])
], ],
[x64-mingw32], [ # TODO: Enable this after AppVeyor msys2 build succeeds
AC_MSG_RESULT(win64) # [x64-mingw32], [
COROUTINE_H=coroutine/win64/Context.h # AC_MSG_RESULT(win64)
AC_DEFINE_UNQUOTED(FIBER_USE_COROUTINE, ["$COROUTINE_H"]) # COROUTINE_H=coroutine/win64/Context.h
AC_LIBOBJ([coroutine/win64/Context]) # AC_DEFINE_UNQUOTED(FIBER_USE_COROUTINE, ["$COROUTINE_H"])
], # AC_LIBOBJ([coroutine/win64/Context])
# ],
[*], [ [*], [
AC_MSG_RESULT(no) AC_MSG_RESULT(no)
] ]

View File

@ -1,2 +0,0 @@
# https://ci.appveyor.com/project/ruby/ruby/builds/20431217/job/97no5h1gqv50k1vf
exclude(/^test_/, 'This has been broken after native-fiber')

View File

@ -1,5 +0,0 @@
# https://ci.appveyor.com/project/ruby/ruby/builds/20339189/job/ltdpffep976xtj85
# `test_push_over_ary_max': failed to allocate memory (NoMemoryError)
exclude(:test_push_over_ary_max, 'Sometimes AppVeyor has insufficient memory to run this test')
# https://ci.appveyor.com/project/ruby/ruby/builds/20427662/job/prq9i2lkfxv2j0uy
exclude(:test_splice_over_ary_max, 'Sometimes AppVeyor has insufficient memory to run this test')