Skip to content

Commit 5fd7a79

Browse files
authored
Refine CTest args (#606)
- 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;
1 parent 98ab22a commit 5fd7a79

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/builds.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ jobs:
203203
- name: Run CTest MSVC
204204
shell: cmd
205205
working-directory: build/msvc
206-
run: ctest -C RelWithDebInfo --rerun-failed --output-on-failure
206+
run: ctest -C RelWithDebInfo --no-compress-output --output-on-failure
207207

208208
- name: Configure CMake NMake
209209
shell: cmd
@@ -239,7 +239,7 @@ jobs:
239239
nmake install
240240
- name: Run CTest NMake
241241
working-directory: build\nmake
242-
run: ctest --rerun-failed --output-on-failure
242+
run: ctest --no-compress-output --output-on-failure
243243

244244
- name: Configure CMake MinGW
245245
shell: cmd
@@ -270,7 +270,7 @@ jobs:
270270
cmake --build . --target install
271271
- name: Run CTest MinGW
272272
working-directory: build\mingw
273-
run: ctest --rerun-failed --output-on-failure
273+
run: ctest --no-compress-output --output-on-failure
274274

275275
- name: Check Meson build
276276
shell: cmd

0 commit comments

Comments
 (0)