-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Linux/macOS CI remove excess logging, improve remaining output + other tidyup #6559
Conversation
The macOS debug build wasn't any faster so maybe this change isn't worth it - though will be good to see how long the other ones take. |
Whilst the macOS debug build was unchanged. the other builds did seem to be a little faster - 50/50 if this should be merged. |
I am hugely in favor of reducing amount of output - even if it does not look that bad in terminal (because we are rewriting lines), we are actually printing a line for every execution of a test. Looks like The part of the change reducing the output looks good, but I am not sure about process count, default looks reasonable for user machine (number of processors). We can probably add a CMake variable to override the default and set it for CI only. |
b4c2fd1
to
8b34565
Compare
Significant update:
|
One note on performance - having added the welcome message that prints the process_count can see that the macOS machines have 3 cores and the Ubuntu machines only 2. I think the windows machines have 4. |
remove logging and other tidy up
As general tidy-up and improvement of the console output I think this is good to merge, any thoughts? @ppenzin I've noticed another couple of defunct flags exclude_chk and exclude_fre to remove (chk is an old alias for Debug and fre is an old alias for Test - nothing uses these flags though) but I'll put that in a future PR when I have something else to submit. |
I think this is good, we can wait for the final job and then merge. It would be good to add some form of progress indicator to see if a test is hanging, but it is not urgent. |
Thanks for the review.
There's already a timeout (with an automatic fail) if an individual test takes more than a minute, I thought that was sufficient - whilst it would be nice to know the progress aside from specific hangs it's roughly the same each time so didn't think it was needed, offline can use the --show-passes flag to see it if you need it. |
Improve runtests.py