ruby-changes:53544
From: k0kubun <ko1@a...>
Date: Fri, 16 Nov 2018 15:45:22 +0900 (JST)
Subject: [ruby-changes:53544] k0kubun:r65760 (trunk): appveyor.yml: give up running test_push_over_ary_max
k0kubun 2018-11-16 15:45:16 +0900 (Fri, 16 Nov 2018) New Revision: 65760 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=65760 Log: appveyor.yml: give up running test_push_over_ary_max because separately running it without -j didn't work. Revert "appveyor.yml: run memory-exchausting test separately" This reverts commit r65703. Added directories: trunk/test/excludes/_appveyor/ Added files: trunk/test/excludes/_appveyor/TestArray.rb Modified files: trunk/appveyor.yml Index: test/excludes/_appveyor/TestArray.rb =================================================================== --- test/excludes/_appveyor/TestArray.rb (nonexistent) +++ test/excludes/_appveyor/TestArray.rb (revision 65760) @@ -0,0 +1,3 @@ https://github.com/ruby/ruby/blob/trunk/test/excludes/_appveyor/TestArray.rb#L1 +# 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') Index: appveyor.yml =================================================================== --- appveyor.yml (revision 65759) +++ appveyor.yml (revision 65760) @@ -93,9 +93,9 @@ for: https://github.com/ruby/ruby/blob/trunk/appveyor.yml#L93 - 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 --exclude win32ole --exclude test_syntax --exclude test_open-uri --exclude test_bundled_ca --exclude ruby/test_array" test-all - # separately execute tests without -j which may exhaust memory (ruby/test_array.rb) or crash worker (others) with -j. - - nmake -l "TESTOPTS=-v --subprocess-timeout-scale=3.0" test-all TESTS="../test/ruby/test_array.rb ../test/win32ole ../test/ruby/test_syntax.rb ../test/open-uri/test_open-uri.rb ../test/rubygems/test_bundled_ca.rb" + - nmake -l "TESTOPTS=-q --subprocess-timeout-scale=3.0 --excludes=../test/excludes/_appveyor -j%JOBS% --exclude win32ole --exclude test_syntax --exclude test_open-uri --exclude test_bundled_ca" test-all + # separately execute tests that may crash worker without -j. + - nmake -l "TESTOPTS=-v --subprocess-timeout-scale=3.0 --excludes=../test/excludes/_appveyor" test-all TESTS="../test/win32ole ../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 - matrix: @@ -136,7 +136,7 @@ for: https://github.com/ruby/ruby/blob/trunk/appveyor.yml#L136 - mingw32-make DESTDIR=../install install-nodoc test_script: - mingw32-make test - - mingw32-make test-all TESTOPTS="--retry --job-status=normal --show-skip --subprocess-timeout-scale=1.5 -j %JOBS% --exclude ruby/test_array --exclude win32ole --exclude test_open-uri" - # separately execute tests without -j which may exhaust memory (ruby/test_array.rb) or crash worker (others) with -j. - - mingw32-make test-all TESTOPTS="--retry --job-status=normal --show-skip --subprocess-timeout-scale=1.5" TESTS="../ruby/test/ruby/test_array.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 -j %JOBS% --exclude win32ole --exclude test_open-uri" + # separately execute tests that may crash worker without -j. + - 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 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/