-
Notifications
You must be signed in to change notification settings - Fork 1
Add docstring for runtests
#2
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
Conversation
## Behavior | ||
- Automatically discovers all `.jl` files in the test directory (excluding `setup.jl` and `runtests.jl`) | ||
- Sorts tests by file size (largest first) for optimal load balancing | ||
- Launches worker processes with appropriate Julia flags for testing | ||
- Monitors memory usage and recycles workers that exceed memory limits | ||
- Provides real-time progress output with timing and memory statistics | ||
- Handles interruptions gracefully (Ctrl+C) | ||
- Returns nothing, but throws `Test.FallbackTestSetException` if any tests fail |
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.
I don't know if this is too much information, but I think it's cool to know what it does.
- Automatically discovers all `.jl` files in the test directory (excluding `setup.jl` and `runtests.jl`) | ||
- Sorts tests by file size (largest first) for optimal load balancing | ||
- Launches worker processes with appropriate Julia flags for testing | ||
- Monitors memory usage and recycles workers that exceed memory limits |
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.
We should use the environment flag from Julia Base here
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.
Uhm, this is a suggestion about the implementation, not the docstring, right?
Co-authored-by: Valentin Churavy <v.churavy@gmail.com>
Co-authored-by: Valentin Churavy <v.churavy@gmail.com>
Mainly written by Cursor, with a revision by me.