Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[3.11] [3.12] gh-83434: Sync libregrtest and test_regrtest with the main branch (GH-117250)#117251

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
vstinner merged 1 commit intopython:3.11frommiss-islington:backport-477ef90-3.11
Mar 26, 2024

Conversation

@miss-islington
Copy link
Contributor

(cherry picked from commit1e5719a)

Instead of showing a dot for each iteration, show:

  • '.' for zero (on negative) leaks
  • number of leaks for 1-9
  • 'X' if there are more leaks

This allows more rapid iteration: when bisecting, I don't need
to wait for the final report to see if the test still leaks.

Also, show the full result if there are any non-zero entries.
This shows negative entries, for the unfortunate cases where
a reference is created and cleaned up in different runs.

Testfailure is still determined by the existing heuristic.

(cherry picked from commitaf5f9d6)

(cherry picked from commitd52bdfb)


(cherry picked from commit477ef90)

Co-authored-by: Victor Stinnervstinner@python.org
Co-authored-by: Petr Viktorinencukou@gmail.com

…in branch (pythonGH-117250)*pythongh-115122: Add --bisect option to regrtest (pythonGH-115123)* test.bisect_cmd now exit with code 0 on success, and code 1 on  failure. Before, it was the opposite.* test.bisect_cmd now runs the test worker process with  -X faulthandler.* regrtest RunTests: Add create_python_cmd() and bisect_cmd()  methods.(cherry picked from commit1e5719a)*pythongh-115720: Show number of leaks in huntrleaks progress reports (pythonGH-115726)Instead of showing a dot for each iteration, show:- '.' for zero (on negative) leaks- number of leaks for 1-9- 'X' if there are more leaksThis allows more rapid iteration: when bisecting, I don't needto wait for the final report to see if the test still leaks.Also, show the full result if there are any non-zero entries.This shows negative entries, for the unfortunate cases wherea reference is created and cleaned up in different runs.Test *failure* is still determined by the existing heuristic.(cherry picked from commitaf5f9d6)*pythongh-83434: Disable XML in regrtest when -R option is used (pythonGH-117232)(cherry picked from commitd52bdfb)---------(cherry picked from commit477ef90)Co-authored-by: Victor Stinner <vstinner@python.org>Co-authored-by: Petr Viktorin <encukou@gmail.com>
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@rhettingerrhettingerAwaiting requested review from rhettingerrhettinger is a code owner

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

2 participants

@miss-islington@vstinner

[8]ページ先頭

©2009-2025 Movatter.jp