aboutsummaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorMike Taves <mwtoews@gmail.com>2022-03-04 23:31:43 +1300
committerGitHub <noreply@github.com>2022-03-04 23:31:43 +1300
commit2f38db37b8b51b764c1d8ed7caa2e9b186aee945 (patch)
treee2838bde13660e89551aff4d2373da354eacd9ee /.github
parent6243d1142e3e3de90dc6b091b88cb9321346829f (diff)
downloadPROJ-2f38db37b8b51b764c1d8ed7caa2e9b186aee945.tar.gz
PROJ-2f38db37b8b51b764c1d8ed7caa2e9b186aee945.zip
CI: use `ctest --output-on-failure` option (#3084)
Diffstat (limited to '.github')
-rwxr-xr-x.github/workflows/mingw_w64/start.sh2
-rw-r--r--.github/workflows/windows.yml2
2 files changed, 2 insertions, 2 deletions
diff --git a/.github/workflows/mingw_w64/start.sh b/.github/workflows/mingw_w64/start.sh
index 0b64874e..7586f977 100755
--- a/.github/workflows/mingw_w64/start.sh
+++ b/.github/workflows/mingw_w64/start.sh
@@ -113,7 +113,7 @@ cmake -G "Unix Makefiles" \
..
make
# Run a subset of tests that should pass
-ctest -R "proj_test_cpp_api|geodesic-test|proj_errno_string_test|proj_angular_io_test|proj_context_test|pj_phi2_test|gie_self_tests|test_network|test_defmodel|test_tinshift|test_misc|test_fork"
+ctest --output-on-failure -R "proj_test_cpp_api|geodesic-test|proj_errno_string_test|proj_angular_io_test|proj_context_test|pj_phi2_test|gie_self_tests|test_network|test_defmodel|test_tinshift|test_misc|test_fork"
# TODO: fix failing tests with .gie files; see #2168 and run
# PROJ_LIB=./data/for_tests wine64 ./bin/gie.exe ../test/gie/more_builtins.gie
diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml
index ce744f81..10c83759 100644
--- a/.github/workflows/windows.yml
+++ b/.github/workflows/windows.yml
@@ -65,7 +65,7 @@ jobs:
set PROJ_DIR=%GITHUB_WORKSPACE%\proj_dir
set PROJ_BUILD=%GITHUB_WORKSPACE%\build
cd %PROJ_BUILD%
- ctest -V -C "${{ env.BUILD_TYPE }}"
+ ctest --output-on-failure -C "${{ env.BUILD_TYPE }}"
set PATH=%PROJ_DIR%\bin;%PATH%
set BUILD_MODE=shared
if "${{ env.BUILD_SHARED_LIBS }}"=="OFF" (set BUILD_MODE=static)