Skip to content

Commit

Permalink
Refine CTest args (#606)
Browse files Browse the repository at this point in the history
- don't use `--rerun-failed` - it only makes sense on subsequent runs of the test, when checking of failed tests got fixed;
- add `--no-compress-output` - to avoid stripping test's output of failure;
  • Loading branch information
Youw authored Aug 5, 2023
1 parent 98ab22a commit 5fd7a79
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/builds.yml
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ jobs:
- name: Run CTest MSVC
shell: cmd
working-directory: build/msvc
run: ctest -C RelWithDebInfo --rerun-failed --output-on-failure
run: ctest -C RelWithDebInfo --no-compress-output --output-on-failure

- name: Configure CMake NMake
shell: cmd
Expand Down Expand Up @@ -239,7 +239,7 @@ jobs:
nmake install
- name: Run CTest NMake
working-directory: build\nmake
run: ctest --rerun-failed --output-on-failure
run: ctest --no-compress-output --output-on-failure

- name: Configure CMake MinGW
shell: cmd
Expand Down Expand Up @@ -270,7 +270,7 @@ jobs:
cmake --build . --target install
- name: Run CTest MinGW
working-directory: build\mingw
run: ctest --rerun-failed --output-on-failure
run: ctest --no-compress-output --output-on-failure

- name: Check Meson build
shell: cmd
Expand Down

0 comments on commit 5fd7a79

Please sign in to comment.