diff options
author | Steve Dower <steve.dower@microsoft.com> | 2018-09-18 16:10:26 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-09-18 16:10:26 (GMT) |
commit | d0f49d2f5085ca68e3dc8725f1fb1c9674bfb5ed (patch) | |
tree | 4d209925cba8d1ad31b7a97439389a2e0fdd028e /.vsts/windows-pr.yml | |
parent | cb5778f00ce48631c7140f33ba242496aaf7102b (diff) | |
download | cpython-d0f49d2f5085ca68e3dc8725f1fb1c9674bfb5ed.zip cpython-d0f49d2f5085ca68e3dc8725f1fb1c9674bfb5ed.tar.gz cpython-d0f49d2f5085ca68e3dc8725f1fb1c9674bfb5ed.tar.bz2 |
bpo-34582: Adds JUnit XML output for regression tests (GH-9210)
Diffstat (limited to '.vsts/windows-pr.yml')
-rw-r--r-- | .vsts/windows-pr.yml | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/.vsts/windows-pr.yml b/.vsts/windows-pr.yml index 3dd5609..7134120 100644 --- a/.vsts/windows-pr.yml +++ b/.vsts/windows-pr.yml @@ -54,8 +54,17 @@ steps: displayName: 'Display build info' condition: and(succeeded(), ne(variables['DocOnly'], 'true')) -- script: PCbuild\rt.bat -q -uall -u-cpu -rwW --slowest --timeout=1200 -j0 +- script: PCbuild\rt.bat -q -uall -u-cpu -rwW --slowest --timeout=1200 -j0 --junit-xml="$(Build.BinariesDirectory)\test-results.xml" displayName: 'Tests' env: PREFIX: $(Py_OutDir)\$(outDirSuffix) condition: and(succeeded(), ne(variables['DocOnly'], 'true')) + +- task: PublishTestResults@2 + displayName: 'Publish Test Results' + inputs: + testResultsFiles: '$(Build.BinariesDirectory)\test-results.xml' + mergeTestResults: true + testRunTitle: '$(System.PullRequest.TargetBranch)-$(outDirSuffix)' + platform: $(outDirSuffix) + condition: and(succeededOrFailed(), ne(variables['DocOnly'], 'true')) |