Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bpo-37362: test_gdb now ignores stderr #14287

Merged
merged 1 commit into from Jun 21, 2019

Conversation

vstinner
Copy link
Member

@vstinner vstinner commented Jun 21, 2019

test_gdb no longer fails if it gets an "unexpected" message on
stderr: it now ignores stderr. The purpose of test_gdb is to test
that python-gdb.py commands work as expected, not to test gdb.

https://bugs.python.org/issue37362

test_gdb no longer fails if it gets an "unexpected" message on
stderr: it now ignores stderr. The purpose of test_gdb is to test
that python-gdb.py commands work as expected, not to test gdb.
@vstinner vstinner force-pushed the WIP_test_gdb_ignore_stderr branch from cefff8e to 3417178 Compare Jun 21, 2019
@vstinner
Copy link
Member Author

vstinner commented Jun 21, 2019

Oh, I didn't expect that I would have the honor of getting a review of the author of the original code author :-) Dave Malcolm! He wrote "(...) your approach looks good to me": https://bugs.python.org/issue37362#msg346221

@vstinner vstinner merged commit e56a123 into python:master Jun 21, 2019
@miss-islington
Copy link
Contributor

miss-islington commented Jun 21, 2019

Thanks @vstinner for the PR 🌮🎉.. I'm working now to backport this PR to: 2.7, 3.7, 3.8.
🐍🍒🤖

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Jun 21, 2019
test_gdb no longer fails if it gets an "unexpected" message on
stderr: it now ignores stderr. The purpose of test_gdb is to test
that python-gdb.py commands work as expected, not to test gdb.
(cherry picked from commit e56a123)

Co-authored-by: Victor Stinner <vstinner@redhat.com>
@bedevere-bot
Copy link

bedevere-bot commented Jun 21, 2019

GH-14295 is a backport of this pull request to the 3.8 branch.

@vstinner vstinner deleted the WIP_test_gdb_ignore_stderr branch Jun 21, 2019
@bedevere-bot
Copy link

bedevere-bot commented Jun 21, 2019

GH-14296 is a backport of this pull request to the 3.7 branch.

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Jun 21, 2019
test_gdb no longer fails if it gets an "unexpected" message on
stderr: it now ignores stderr. The purpose of test_gdb is to test
that python-gdb.py commands work as expected, not to test gdb.
(cherry picked from commit e56a123)

Co-authored-by: Victor Stinner <vstinner@redhat.com>
@miss-islington
Copy link
Contributor

miss-islington commented Jun 21, 2019

Sorry, @vstinner, I could not cleanly backport this to 2.7 due to a conflict.
Please backport using cherry_picker on command line.
cherry_picker e56a123fd0acaa295a28b98d2e46d956b97d1263 2.7

@bedevere-bot
Copy link

bedevere-bot commented Jun 21, 2019

GH-14297 is a backport of this pull request to the 2.7 branch.

miss-islington added a commit that referenced this pull request Jun 21, 2019
test_gdb no longer fails if it gets an "unexpected" message on
stderr: it now ignores stderr. The purpose of test_gdb is to test
that python-gdb.py commands work as expected, not to test gdb.
(cherry picked from commit e56a123)

Co-authored-by: Victor Stinner <vstinner@redhat.com>
miss-islington added a commit that referenced this pull request Jun 21, 2019
test_gdb no longer fails if it gets an "unexpected" message on
stderr: it now ignores stderr. The purpose of test_gdb is to test
that python-gdb.py commands work as expected, not to test gdb.
(cherry picked from commit e56a123)

Co-authored-by: Victor Stinner <vstinner@redhat.com>
vstinner added a commit that referenced this pull request Jun 21, 2019
test_gdb no longer fails if it gets an "unexpected" message on
stderr: it now ignores stderr. The purpose of test_gdb is to test
that python-gdb.py commands work as expected, not to test gdb.

(cherry picked from commit e56a123)
lisroach pushed a commit to lisroach/cpython that referenced this pull request Sep 10, 2019
test_gdb no longer fails if it gets an "unexpected" message on
stderr: it now ignores stderr. The purpose of test_gdb is to test
that python-gdb.py commands work as expected, not to test gdb.
DinoV pushed a commit to DinoV/cpython that referenced this pull request Jan 14, 2020
test_gdb no longer fails if it gets an "unexpected" message on
stderr: it now ignores stderr. The purpose of test_gdb is to test
that python-gdb.py commands work as expected, not to test gdb.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants