From c7d9341c282cb84909e52a94d6fa286a62f37e50 Mon Sep 17 00:00:00 2001 From: Paul Colby Date: Mon, 2 Dec 2024 13:29:13 +1100 Subject: [PATCH] Write test output to stderr --- .github/workflows/build.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 0abd576fd..aeaf6b598 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -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