Skip to content

bpo-37362: test_gdb now ignores stderr#14287

Merged
vstinner merged 1 commit into
python:masterfrom
vstinner:WIP_test_gdb_ignore_stderr
Jun 21, 2019
Merged

bpo-37362: test_gdb now ignores stderr#14287
vstinner merged 1 commit into
python:masterfrom
vstinner:WIP_test_gdb_ignore_stderr

Conversation

@vstinner

@vstinner vstinner commented Jun 21, 2019

Copy link
Copy Markdown
Member

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

Comment thread Misc/NEWS.d/next/Tests/2019-06-21-15-47-33.bpo-37362.D3xppx.rst Outdated
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

Copy link
Copy Markdown
Member Author

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
Copy Markdown
Contributor

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
Copy Markdown

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

@vstinner
vstinner deleted the WIP_test_gdb_ignore_stderr branch June 21, 2019 21:17
@bedevere-bot

Copy link
Copy Markdown

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
Copy Markdown
Contributor

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
Copy Markdown

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.

5 participants