aboutsummaryrefslogtreecommitdiff
path: root/ci
diff options
context:
space:
mode:
Diffstat (limited to 'ci')
-rw-r--r--ci/azure-steps.yml7
1 files changed, 6 insertions, 1 deletions
diff --git a/ci/azure-steps.yml b/ci/azure-steps.yml
index 9d143db..abbed65 100644
--- a/ci/azure-steps.yml
+++ b/ci/azure-steps.yml
@@ -99,6 +99,8 @@ steps:
# import visual studio variables
if ($env:compiler -eq 'msvc2015') {
$vcvars = "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat"
+ } elseif($env:compiler -eq 'msvc2019') {
+ $vcvars = "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Auxiliary\Build\vcvarsall.bat"
} else {
$vcvars = "C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Auxiliary\Build\vcvarsall.bat"
}
@@ -154,7 +156,10 @@ steps:
echo ""
echo "=== Start running tests ==="
- python run_tests.py --backend $(backend)
+ # Starting from VS2019 Powershell(?) will fail the test run
+ # if it prints anything to stderr. Python's test runner
+ # does that by default so we need to forward it.
+ cmd /c 'python 2>&1' run_tests.py --backend $(backend)
- task: PublishTestResults@2
inputs: