-
-
Notifications
You must be signed in to change notification settings - Fork 34.7k
bpo-30283: Backport regrtest features from master to 2.7 #1516
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
Merged
Merged
Changes from all commits
Commits
Show all changes
15 commits
Select commit
Hold shift + click to select a range
beeabd1
regrtest: add --slowest alias to --slow
vstinner 5d60782
make buildbottest: add --slowest option
vstinner 252a311
regrtest: add "- " prefix to --slowest output
vstinner 8a98de1
regrtest: Fix an outdated comment
vstinner 39a0377
regrtest: replace PermissionError
vstinner 31c453b
regrtest: add -3 -tt options to run Python scripts
vstinner 3eb842f
regrtest: backport --list-tests option
vstinner a2fe047
regrtest: backport "Tests result: xxx" summary
vstinner c884c63
regrtest: backport total duration
vstinner ec7735b
regrtest: add timestamp to the progress
vstinner 4b5d5a4
regrtest: describe previous test state
vstinner d9324ab
regrtest: -jN logs running workers
vstinner 70fc18e
regrtest: mention if tests are run in parallel
vstinner 0975e9b
regrtest: parallel mode is more verbose during wait
vstinner fa748a9
test_regrtest: fix typo in SubprocessRun
vstinner File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Possible race condition.
current_testcan be the old test, butworker.start_timeis the start time of the next test. This can be avoided if save (current_test, start_time) as a tuple.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Right. It's a deliberate choice to not use locks here, the output is just for debug purpose, I prefer simple code over correctness. Again, it's just a backport, if you want to enhance the code, it should be done first in the master branch ;-)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
By the way, nice catch ;-)