Staging
v0.5.1
v0.5.1
https://github.com/python/cpython
Revision 2fa5b2ac4485c5c9083b4b0459dd9b691daaea28 authored by Miss Islington (bot) on 29 November 2018, 00:52:11 UTC, committed by GitHub on 29 November 2018, 00:52:11 UTC
test_eintr no longer fails if the signal handler has not been called. (cherry picked from commit 2956bffbc00127af65f69e04d7979021a21d1288) Co-authored-by: Victor Stinner <vstinner@redhat.com>
1 parent d46d753
Tip revision: 2fa5b2ac4485c5c9083b4b0459dd9b691daaea28 authored by Miss Islington (bot) on 29 November 2018, 00:52:11 UTC
bpo-35189, bpo-35316: Make test_eintr less strict (GH-10782)
bpo-35189, bpo-35316: Make test_eintr less strict (GH-10782)
Tip revision: 2fa5b2a
posix-steps.yml
parameters:
coverage: false
steps:
- checkout: self
clean: true
fetchDepth: 5
- script: ./.azure-pipelines/posix-deps.sh $(openssl_version)
displayName: 'Install dependencies'
- script: ./configure --with-pydebug
displayName: 'Configure CPython (debug)'
- script: make -s -j4
displayName: 'Build CPython'
- ${{ if eq(parameters.coverage, 'true') }}:
- script: ./python -m venv venv && ./venv/bin/python -m pip install -U coverage
displayName: 'Set up virtual environment'
- script: ./venv/bin/python -m test.pythoninfo
displayName: 'Display build info'
- script: |
xvfb-run ./venv/bin/python -m coverage run --pylib -m test \
--fail-env-changed \
-uall,-cpu \
--junit-xml=$(build.binariesDirectory)/test-results.xml" \
-x test_multiprocessing_fork \
-x test_multiprocessing_forkserver \
-x test_multiprocessing_spawn \
-x test_concurrent_futures
displayName: 'Tests with coverage'
- script: ./venv/bin/python -m coverage xml
displayName: 'Generate coverage.xml'
- script: source ./venv/bin/activate && bash <(curl -s https://codecov.io/bash)
displayName: 'Publish code coverage results'
- ${{ if ne(parameters.coverage, 'true') }}:
- script: make pythoninfo
displayName: 'Display build info'
- script: xvfb-run make buildbottest TESTOPTS="-j4 -uall,-cpu --junit-xml=$(build.binariesDirectory)/test-results.xml"
displayName: 'Tests'
- script: ./python Tools/scripts/patchcheck.py --travis true
displayName: 'Run patchcheck.py'
condition: and(succeeded(), eq(variables['Build.Reason'], 'PullRequest'))
- task: PublishTestResults@2
displayName: 'Publish Test Results'
inputs:
testResultsFiles: '$(build.binariesDirectory)/test-results.xml'
mergeTestResults: true
testRunTitle: $(testRunTitle)
platform: $(testRunPlatform)
condition: succeededOrFailed()
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...