-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Added a test updater tool #6709
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
Closed
Closed
Changes from 1 commit
Commits
Show all changes
12 commits
Select commit
Hold shift + click to select a range
0a6ec87
Added initial update_tests.sh script
terryluan12 0fe8ac2
Updated update_tests.sh
terryluan12 0a2ea1b
Added conditioning for erroring tests + moved some logic into separat…
terryluan12 f8ff03e
Added logic for hanging tests
terryluan12 965c27a
Added checking existing skipped tests + setting custom timeout + chec…
terryluan12 f6b69b7
Some quality of life changes + bug fixes
terryluan12 e9265bd
Added local annotations + added initial concurrency + added a limit o…
terryluan12 28ef3b4
Added a semaphore + limited number of jobs at the same time
terryluan12 61e485b
Added backing up and reapplying skips
terryluan12 fdb476d
Added ignored_libraries for multiprocessing and concurrent libraries
terryluan12 5b9ae5c
When checking skips skipping tests with no skip in them + updated doc…
terryluan12 db005d4
Rearranged the update_tests.sh to be easier to read + fixed minor bug…
terryluan12 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
Added backing up and reapplying skips
- Loading branch information
commit 61e485bdccbc11cfe26243d66a935b6d98f3f628
Some comments aren't visible on the classic Files Changed page.
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
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.
Declare and assign separately to avoid masking return values.
The combined declaration and assignment on line 204 masks the exit status of
rustpython. Ifrustpythonfails catastrophically, you won't detect it.Also, the 15-attempt limit is reasonable but the logic could still get stuck if tests alternate between different failure modes.
Suggested fix for SC2155
annotate_lib() { local lib=${1//\//.} local rlib_path=$2 - local output=$(rustpython $lib 2>&1) + local output + output=$(rustpython "$lib" 2>&1)📝 Committable suggestion
🧰 Tools
🪛 Shellcheck (0.11.0)
[warning] 204-204: Declare and assign separately to avoid masking return values.
(SC2155)
🤖 Prompt for AI Agents