Skip to content

Commit

Permalink
Write test output to stderr
Browse files Browse the repository at this point in the history
  • Loading branch information
pcolby committed Dec 2, 2024
1 parent ed16574 commit c7d9341
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -576,15 +576,15 @@ jobs:
run: |
echo './*/test/unit/lib/testStatusService.exe'
ls -l ./*/test/unit/lib/testStatusService.exe
./coverage/test/unit/lib/testStatusService.exe -v2 -vs
./release/test/unit/lib/testStatusService.exe -v2 -vs
./coverage/test/unit/lib/testStatusService.exe -v2 -vs 2>&1
./release/test/unit/lib/testStatusService.exe -v2 -vs 2>&1
working-directory: ${{ runner.temp }}
- name: Test w/ coverage # We can't execute arm64 binaries on an x86-64 host.
if: matrix.arch != 'arm64' && matrix.toolchain != 'msvc'
run: ctest --output-on-failure --test-dir "%RUNNER_TEMP%/coverage" --extra-verbose
run: ctest --output-on-failure --test-dir "%RUNNER_TEMP%/coverage" --extra-verbose 2>&1
- name: Test w/o coverage # We can't execute arm64 binaries on an x86-64 host.
if: matrix.arch != 'arm64'
run: ctest --output-on-failure --test-dir "%RUNNER_TEMP%/release" --extra-verbose
run: ctest --output-on-failure --test-dir "%RUNNER_TEMP%/release" --extra-verbose 2>&1
- name: Collate test coverage
if: matrix.toolchain != 'msvc'
run: cmake --build "%RUNNER_TEMP%/coverage" --target coverage --verbose
Expand Down

0 comments on commit c7d9341

Please sign in to comment.