Staging
v0.5.1
v0.5.1
https://github.com/python/cpython
Revision 35acb3597208e10a101140474adec86859d57f61 authored by Victor Stinner on 18 December 2019, 09:11:05 UTC, committed by GitHub on 18 December 2019, 09:11:05 UTC
Multiprocessing and concurrent.futures tests now stop the resource tracker process when tests complete. Add ResourceTracker._stop() method to multiprocessing.resource_tracker. Add _cleanup_tests() helper function to multiprocessing.util: share code between multiprocessing and concurrent.futures tests. (cherry picked from commit 9707e8e22d80ca97bf7a9812816701cecde6d226)
1 parent b1f2044
Tip revision: 35acb3597208e10a101140474adec86859d57f61 authored by Victor Stinner on 18 December 2019, 09:11:05 UTC
bpo-38546: multiprocessing tests stop the resource tracker (GH-17641) (GH-17647)
bpo-38546: multiprocessing tests stop the resource tracker (GH-17641) (GH-17647)
Tip revision: 35acb35
windows-steps.yml
steps:
- checkout: self
clean: false
fetchDepth: 5
- powershell: |
# Relocate build outputs outside of source directory to make cleaning faster
Write-Host '##vso[task.setvariable variable=Py_IntDir]$(Build.BinariesDirectory)\obj'
# UNDONE: Do not build to a different directory because of broken tests
Write-Host '##vso[task.setvariable variable=Py_OutDir]$(Build.SourcesDirectory)\PCbuild'
#Write-Host '##vso[task.setvariable variable=Py_OutDir]$(Build.BinariesDirectory)\bin'
Write-Host '##vso[task.setvariable variable=EXTERNALS_DIR]$(Build.BinariesDirectory)\externals'
displayName: Update build locations
- script: PCbuild\build.bat -e $(buildOpt)
displayName: 'Build CPython'
env:
IncludeUwp: true
- script: python.bat -m test.pythoninfo
displayName: 'Display build info'
condition: and(succeeded(), variables['testRunPlatform'])
- script: PCbuild\rt.bat -q -uall -u-cpu -rwW --slowest --timeout=1200 -j0 --junit-xml="$(Build.BinariesDirectory)\test-results.xml" --tempdir="$(Build.BinariesDirectory)\test"
displayName: 'Tests'
condition: and(succeeded(), variables['testRunPlatform'])
env:
PREFIX: $(Py_OutDir)\$(arch)
- task: PublishTestResults@2
displayName: 'Publish Test Results'
inputs:
testResultsFiles: '$(Build.BinariesDirectory)\test-results.xml'
mergeTestResults: true
testRunTitle: $(testRunTitle)
platform: $(testRunPlatform)
condition: and(succeededOrFailed(), variables['testRunPlatform'])
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...