Browse Source

package/ci: add a CTest timeout to Windows jobs.

Because otherwise THE DAMN THING just waits endlessly for me to click
the "Abort" button on AN ASSERT DIALOG BOX! ON A HEADLESS CI!!
MICROSOFT!!!
pull/499/head
Vladimír Vondruš 3 years ago
parent
commit
21aaaf4a61
  1. 8
      package/ci/appveyor-desktop-gles.bat
  2. 8
      package/ci/appveyor-desktop-mingw.bat
  3. 8
      package/ci/appveyor-desktop.bat

8
package/ci/appveyor-desktop-gles.bat

@ -63,7 +63,13 @@ cmake --build . || exit /b
rem Test
set CORRADE_TEST_COLOR=ON
ctest -V -E "GLTest|GLBenchmark" || exit /b
rem On Windows, if an assertion or other issue happens, A DIALOG WINDOWS POPS
rem UP FROM THE CONSOLE. And then, for fucks sake, IT WAITS ENDLESSLY FOR YOU
rem TO CLOSE IT!! Such behavior is utterly stupid in a non-interactive setting
rem such as on this very CI, so I'm setting a timeout to 60 seconds to avoid
rem the CI job being stuck for an hour if an assertion happens. CTest's default
rem timeout is somehow 10M seconds, which is as useful as nothing at all.
ctest -V -E "GLTest|GLBenchmark" --timeout 60 || exit /b
rem Test install, after running the tests as for them it shouldn't be needed
cmake --build . --target install || exit /b

8
package/ci/appveyor-desktop-mingw.bat

@ -60,7 +60,13 @@ cmake --build . || exit /b
rem Test
set CORRADE_TEST_COLOR=ON
ctest -V -E "GLTest|GLBenchmark|VkTest" || exit /b
rem On Windows, if an assertion or other issue happens, A DIALOG WINDOWS POPS
rem UP FROM THE CONSOLE. And then, for fucks sake, IT WAITS ENDLESSLY FOR YOU
rem TO CLOSE IT!! Such behavior is utterly stupid in a non-interactive setting
rem such as on this very CI, so I'm setting a timeout to 60 seconds to avoid
rem the CI job being stuck for an hour if an assertion happens. CTest's default
rem timeout is somehow 10M seconds, which is as useful as nothing at all.
ctest -V -E "GLTest|GLBenchmark|VkTest" --timeout 60 || exit /b
rem Test install, after running the tests as for them it shouldn't be needed
cmake --build . --target install || exit /b

8
package/ci/appveyor-desktop.bat

@ -71,7 +71,13 @@ cmake --build . || exit /b
rem Test
set CORRADE_TEST_COLOR=ON
ctest -V -E "GLTest|GLBenchmark|VkTest" || exit /b
rem On Windows, if an assertion or other issue happens, A DIALOG WINDOWS POPS
rem UP FROM THE CONSOLE. And then, for fucks sake, IT WAITS ENDLESSLY FOR YOU
rem TO CLOSE IT!! Such behavior is utterly stupid in a non-interactive setting
rem such as on this very CI, so I'm setting a timeout to 60 seconds to avoid
rem the CI job being stuck for an hour if an assertion happens. CTest's default
rem timeout is somehow 10M seconds, which is as useful as nothing at all.
ctest -V -E "GLTest|GLBenchmark|VkTest" --timeout 60 || exit /b
rem Test install, after running the tests as for them it shouldn't be needed
cmake --build . --target install || exit /b

Loading…
Cancel
Save