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

test_gdb: use subprocess._args_from_interpreter_flags() to test Python with more options #70064

Closed
vstinner opened this issue Dec 15, 2015 · 3 comments
Labels
tests Tests in the Lib/test dir

Comments

@vstinner
Copy link
Member

BPO 25876
Nosy @vstinner
Files
  • test_gdb.patch
  • Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

    Show more details

    GitHub fields:

    assignee = None
    closed_at = <Date 2016-01-22.13:35:02.240>
    created_at = <Date 2015-12-15.20:40:38.855>
    labels = ['tests']
    title = 'test_gdb: use subprocess._args_from_interpreter_flags() to test Python with more options'
    updated_at = <Date 2016-01-22.14:04:35.971>
    user = 'https://github.com/vstinner'

    bugs.python.org fields:

    activity = <Date 2016-01-22.14:04:35.971>
    actor = 'python-dev'
    assignee = 'none'
    closed = True
    closed_date = <Date 2016-01-22.13:35:02.240>
    closer = 'vstinner'
    components = ['Tests']
    creation = <Date 2015-12-15.20:40:38.855>
    creator = 'vstinner'
    dependencies = []
    files = ['41320']
    hgrepos = []
    issue_num = 25876
    keywords = ['patch']
    message_count = 3.0
    messages = ['256484', '258803', '258808']
    nosy_count = 2.0
    nosy_names = ['vstinner', 'python-dev']
    pr_nums = []
    priority = 'normal'
    resolution = 'fixed'
    stage = None
    status = 'closed'
    superseder = None
    type = None
    url = 'https://bugs.python.org/issue25876'
    versions = ['Python 3.6']

    @vstinner
    Copy link
    Member Author

    Attached patch pass Python options to the Python program run in gdb, so it allows to test more cases.

    What do you think?

    I don't think that it's worth to apply the patch to Python < 3.6.

    @vstinner vstinner added the tests Tests in the Lib/test dir label Dec 15, 2015
    @python-dev
    Copy link
    Mannequin

    python-dev mannequin commented Jan 22, 2016

    New changeset 05ea3efadead by Victor Stinner in branch 'default':
    Issue bpo-25876: test_gdb: use subprocess._args_from_interpreter_flags() to test
    https://hg.python.org/cpython/rev/05ea3efadead

    @python-dev
    Copy link
    Mannequin

    python-dev mannequin commented Jan 22, 2016

    New changeset 9faa15da2dde by Victor Stinner in branch 'default':
    Issue bpo-25876: Fix also test_set() of test_gdb when -E command line is used
    https://hg.python.org/cpython/rev/9faa15da2dde

    @ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Labels
    tests Tests in the Lib/test dir
    Projects
    None yet
    Development

    No branches or pull requests

    1 participant