diff options
author | Jon Turney <jon.turney@dronecode.org.uk> | 2021-07-08 15:57:48 +0100 |
---|---|---|
committer | Daniel Mensinger <daniel@mensinger-ka.de> | 2021-07-12 19:44:29 +0200 |
commit | 317f9555a71e70429e8a8ac6c4fe71493c2ea936 (patch) | |
tree | 697620ec29e9906134464616475cdeafe4ee22a8 /ci | |
parent | f6cb717bbad3c471854074491f851270b7d4f3f5 (diff) | |
download | meson-317f9555a71e70429e8a8ac6c4fe71493c2ea936.zip meson-317f9555a71e70429e8a8ac6c4fe71493c2ea936.tar.gz meson-317f9555a71e70429e8a8ac6c4fe71493c2ea936.tar.bz2 |
azure: propagate run_tests.py exit code
Propagate the run_tests.py exit code, rather than overwriting it with
the codecov exit code.
Diffstat (limited to 'ci')
-rw-r--r-- | ci/run.ps1 | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -77,6 +77,8 @@ echo "=== Start running tests ===" # does that by default so we need to forward it. cmd /c "python 2>&1 ./tools/run_with_cov.py run_tests.py --backend $env:backend $env:extraargs" +$result = $LastExitCode + echo "" echo "" echo "=== Gathering coverage report ===" @@ -91,3 +93,5 @@ python3 -m coverage report git clone https://github.com/mensinda/codecov-python python3 -m pip install --ignore-installed ./codecov-python python3 -m codecov -f .coverage/coverage.xml -n "VS$env:compiler $env:arch $env:backend" -c $env:SOURCE_VERSION + +exit $result |