Make test-spec on Windows silent a little

This commit is contained in:
Nobuyoshi Nakada 2023-08-11 21:52:38 +09:00
parent 2c9fbc5100
commit 46c428a926
No known key found for this signature in database
GPG Key ID: 3582D74E1FEE4465
Notes: git 2023-08-12 05:32:40 +00:00
2 changed files with 5 additions and 3 deletions

View File

@ -103,7 +103,7 @@ for:
# separately execute tests without -j which may crash worker with -j.
- >-
nmake -l
"TESTOPTS=-v --timeout-scale=3.0 --excludes=../test/excludes/_appveyor"
"TESTOPTS=--timeout-scale=3.0 --excludes=../test/excludes/_appveyor"
TESTS="
../test/win32ole
../test/ruby/test_bignum.rb
@ -111,7 +111,7 @@ for:
../test/open-uri/test_open-uri.rb
../test/rubygems/test_bundled_ca.rb
" test-all
- nmake -l test-spec MSPECOPT=-fs # not using `-j` because sometimes `mspec -j` silently dies on Windows
- nmake -l test-spec # not using `-j` because sometimes `mspec -j` silently dies on Windows
notifications:
- provider: Webhook
method: POST

View File

@ -129,8 +129,10 @@ jobs:
:vcset
set | C:\msys64\usr\bin\sort > old.env
call %VCVARS%
nmake -f nul
set TMP=%USERPROFILE%\AppData\Local\Temp
set TEMP=%USERPROFILE%\AppData\Local\Temp
set MAKEFLAGS=l
set /a TEST_JOBS=(15 * %NUMBER_OF_PROCESSORS% / 10) > nul
set | C:\msys64\usr\bin\sort > new.env
C:\msys64\usr\bin\comm -13 old.env new.env >> %GITHUB_ENV%
@ -162,7 +164,7 @@ jobs:
- run: nmake test
timeout-minutes: 5
- run: nmake test-spec MSPECOPT="-V -fspec"
- run: nmake test-spec
timeout-minutes: 10
- run: nmake test-all