From d085cd8c8831d55db2f3224f65eb0a023ee9d8b2 Mon Sep 17 00:00:00 2001 From: "Christoph M. Becker" Date: Sat, 2 Feb 2019 14:04:10 +0100 Subject: [PATCH 1/2] Skip slow tests on Appveyor Our Appveyor CI times out very often since quite a while. Let's see whether we can trim down the build time considerably by skipping slow tests. --- appveyor/test_task.bat | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/appveyor/test_task.bat b/appveyor/test_task.bat index 12aff530313d9..f350a377bd570 100644 --- a/appveyor/test_task.bat +++ b/appveyor/test_task.bat @@ -90,8 +90,10 @@ mkdir c:\tests_tmp set TEST_PHP_JUNIT=c:\junit.out.xml +set SKIP_SLOW_TESTS=1 + cd "%APPVEYOR_BUILD_FOLDER%" -nmake test TESTS="%OPCACHE_OPTS% -q --offline --show-diff --show-slow 1000 --set-timeout 120 -g FAIL,XFAIL,BORK,WARN,LEAK,SKIP --temp-source c:\tests_tmp --temp-target c:\tests_tmp" +nmake test TESTS="%OPCACHE_OPTS% -q --offline --show-diff --set-timeout 120 -g FAIL,XFAIL,BORK,WARN,LEAK,SKIP --temp-source c:\tests_tmp --temp-target c:\tests_tmp" set EXIT_CODE=%errorlevel% From 760986db9d16c91d5db161a44d51be6e66938437 Mon Sep 17 00:00:00 2001 From: "Christoph M. Becker" Date: Sat, 2 Feb 2019 14:49:21 +0100 Subject: [PATCH 2/2] Show all test durations --- appveyor/test_task.bat | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/appveyor/test_task.bat b/appveyor/test_task.bat index f350a377bd570..bb853f5251b71 100644 --- a/appveyor/test_task.bat +++ b/appveyor/test_task.bat @@ -93,7 +93,7 @@ set TEST_PHP_JUNIT=c:\junit.out.xml set SKIP_SLOW_TESTS=1 cd "%APPVEYOR_BUILD_FOLDER%" -nmake test TESTS="%OPCACHE_OPTS% -q --offline --show-diff --set-timeout 120 -g FAIL,XFAIL,BORK,WARN,LEAK,SKIP --temp-source c:\tests_tmp --temp-target c:\tests_tmp" +nmake test TESTS="%OPCACHE_OPTS% -q --offline --show-diff --show-slow 0 --set-timeout 120 -g FAIL,XFAIL,BORK,WARN,LEAK,SKIP --temp-source c:\tests_tmp --temp-target c:\tests_tmp" set EXIT_CODE=%errorlevel%