mirror of
https://github.com/catchorg/Catch2.git
synced 2025-04-27 11:25:43 +02:00
Use CTest --output-on-failure
flag
This commit is contained in:
parent
ec571515c8
commit
6aac11e17d
4
.github/workflows/linux-other-builds.yml
vendored
4
.github/workflows/linux-other-builds.yml
vendored
@ -100,10 +100,8 @@ jobs:
|
||||
run: ninja
|
||||
|
||||
- name: Run tests
|
||||
env:
|
||||
CTEST_OUTPUT_ON_FAILURE: 1
|
||||
working-directory: ${{runner.workspace}}/build
|
||||
run: ctest -C ${{matrix.build_type}} -j `nproc` ${{matrix.other_ctest_args}}
|
||||
run: ctest -C ${{matrix.build_type}} -j `nproc` ${{matrix.other_ctest_args}} --output-on-failure
|
||||
clang-tidy:
|
||||
name: clang-tidy ${{matrix.version}}, ${{matrix.build_description}}, C++${{matrix.std}} ${{matrix.build_type}}
|
||||
runs-on: ubuntu-22.04
|
||||
|
4
.github/workflows/linux-simple-builds.yml
vendored
4
.github/workflows/linux-simple-builds.yml
vendored
@ -118,7 +118,5 @@ jobs:
|
||||
run: ninja
|
||||
|
||||
- name: Run tests
|
||||
env:
|
||||
CTEST_OUTPUT_ON_FAILURE: 1
|
||||
working-directory: ${{runner.workspace}}/build
|
||||
run: ctest -C ${{matrix.build_type}} -j `nproc`
|
||||
run: ctest -C ${{matrix.build_type}} -j `nproc` --output-on-failure
|
||||
|
4
.github/workflows/mac-builds-m1.yml
vendored
4
.github/workflows/mac-builds-m1.yml
vendored
@ -39,7 +39,5 @@ jobs:
|
||||
run: make -j `sysctl -n hw.ncpu`
|
||||
|
||||
- name: Run tests
|
||||
env:
|
||||
CTEST_OUTPUT_ON_FAILURE: 1
|
||||
working-directory: ${{runner.workspace}}/build
|
||||
run: ctest -C ${{matrix.build_type}} -j `sysctl -n hw.ncpu`
|
||||
run: ctest -C ${{matrix.build_type}} -j `sysctl -n hw.ncpu` --output-on-failure
|
||||
|
4
.github/workflows/mac-builds.yml
vendored
4
.github/workflows/mac-builds.yml
vendored
@ -43,7 +43,5 @@ jobs:
|
||||
run: make -j `sysctl -n hw.ncpu`
|
||||
|
||||
- name: Run tests
|
||||
env:
|
||||
CTEST_OUTPUT_ON_FAILURE: 1
|
||||
working-directory: ${{runner.workspace}}/build
|
||||
run: ctest -C ${{matrix.build_type}} -j `sysctl -n hw.ncpu`
|
||||
run: ctest -C ${{matrix.build_type}} -j `sysctl -n hw.ncpu` --output-on-failure
|
||||
|
4
.github/workflows/windows-simple-builds.yml
vendored
4
.github/workflows/windows-simple-builds.yml
vendored
@ -32,7 +32,5 @@ jobs:
|
||||
|
||||
- name: Run tests
|
||||
working-directory: ${{runner.workspace}}/build
|
||||
env:
|
||||
CTEST_OUTPUT_ON_FAILURE: 1
|
||||
run: ctest -C ${{matrix.build_type}} -j %NUMBER_OF_PROCESSORS%
|
||||
run: ctest -C ${{matrix.build_type}} -j %NUMBER_OF_PROCESSORS% --output-on-failure
|
||||
shell: cmd
|
||||
|
Loading…
x
Reference in New Issue
Block a user