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
prebuild-checks.yml
steps:
- checkout: self
fetchDepth: 5
- script: echo "##vso[task.setvariable variable=diffTarget]HEAD~1"
displayName: Set default diff target
- script: |
git fetch -q origin $(System.PullRequest.TargetBranch)
echo "##vso[task.setvariable variable=diffTarget]HEAD \$(git merge-base HEAD FETCH_HEAD)"
displayName: Fetch comparison tree
condition: and(succeeded(), variables['System.PullRequest.TargetBranch'])
- script: |
if ! git diff --name-only $(diffTarget) | grep -qE '(\.rst$|^Doc|^Misc)'
then
echo "No docs were updated: docs.run=false"
echo "##vso[task.setvariable variable=run;isOutput=true]false"
else
echo "Docs were updated: docs.run=true"
echo "##vso[task.setvariable variable=run;isOutput=true]true"
fi
displayName: Detect documentation changes
name: docs
- script: |
if ! git diff --name-only $(diffTarget) | grep -qvE '(\.rst$|^Doc|^Misc)'
then
echo "Only docs were updated: tests.run=false"
echo "##vso[task.setvariable variable=run;isOutput=true]false"
else
echo "Code was updated: tests.run=true"
echo "##vso[task.setvariable variable=run;isOutput=true]true"
fi
displayName: Detect source changes
name: tests
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...