Staging
v0.5.1
v0.5.1
https://github.com/python/cpython
Revision d08fd298dc8d5631f6c504d01ee4f9cfb47db79d authored by Miss Islington (bot) on 09 December 2019, 11:15:23 UTC, committed by GitHub on 09 December 2019, 11:15:23 UTC
Fix test_pty: if the process is the session leader, closing the master file descriptor raises a SIGHUP signal: simply ignore SIGHUP when running the tests. (cherry picked from commit a1838ec2592e5082c75c77888f2a7a3eb21133e5) Co-authored-by: Victor Stinner <vstinner@python.org>
1 parent 4594565
Tip revision: d08fd298dc8d5631f6c504d01ee4f9cfb47db79d authored by Miss Islington (bot) on 09 December 2019, 11:15:23 UTC
bpo-38547: Fix test_pty if the process is the session leader (GH-17519)
bpo-38547: Fix test_pty if the process is the session leader (GH-17519)
Tip revision: d08fd29
windows-layout-steps.yml
parameters:
kind: nuget
extraOpts: --precompile
fulltest: false
steps:
- script: .\python.bat PC\layout -vv -s "$(Build.SourcesDirectory)" -b "$(Py_OutDir)\$(arch)" -t "$(Build.BinariesDirectory)\layout-tmp-${{ parameters.kind }}-$(arch)" --copy "$(Build.BinariesDirectory)\layout-${{ parameters.kind }}-$(arch)" ${{ parameters.extraOpts }} --preset-${{ parameters.kind }} --include-tests
displayName: Create ${{ parameters.kind }} layout
- script: .\python.exe -m test.pythoninfo
workingDirectory: $(Build.BinariesDirectory)\layout-${{ parameters.kind }}-$(arch)
displayName: Show layout info (${{ parameters.kind }})
- ${{ if eq(parameters.fulltest, 'true') }}:
- script: .\python.exe -m test -q -uall -u-cpu -rwW --slowest --timeout=1200 -j0 --junit-xml="$(Build.BinariesDirectory)\test-results-${{ parameters.kind }}.xml" --tempdir "$(Build.BinariesDirectory)\tmp-${{ parameters.kind }}-$(arch)"
workingDirectory: $(Build.BinariesDirectory)\layout-${{ parameters.kind }}-$(arch)
displayName: ${{ parameters.kind }} Tests
env:
PREFIX: $(Build.BinariesDirectory)\layout-${{ parameters.kind }}-$(arch)
- task: PublishTestResults@2
displayName: Publish ${{ parameters.kind }} Test Results
inputs:
testResultsFiles: $(Build.BinariesDirectory)\test-results-${{ parameters.kind }}.xml
mergeTestResults: true
testRunTitle: ${{ parameters.kind }}-$(testRunTitle)
platform: $(testRunPlatform)
condition: succeededOrFailed()
Computing file changes ...