-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Less verbose partest #587
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
Less verbose partest #587
Conversation
/rebuild |
Needs a rebase, I think. |
It needs to rebase over non-merged-yet #591 |
Waiting for #591 to be merged, then will rebase. The run/byNameVarargs test fails at runtime with:
|
I've disabled |
193c70b
to
da7b583
Compare
@vsalvis could you please rebase over current master? |
9efbd43
to
4abc122
Compare
@DarkDimius now it's ready to be merged, I fixed the strange chars and added a few lines to get better debugging output should it happen again. All generated scala and java files will now have the do not edit header. |
4abc122
to
937aa13
Compare
/rebuild |
937aa13
to
adfe78d
Compare
@DarkDimius rebase works! |
@vsalvis Glad to hear) I'll review this PR today. |
@vsalvis, nice job. Merging. Partest still runs sequential, am I right? Could you have a look on making it run in parallel, given that now we have CI that has more than 1.5 core? |
To run in parallel just flip the
or:
or:
|
But are you running several instances of same compiler in parallel(this is not supported) or spawning a compiler-per-thread? |
I'm not sure what the difference is... Each thread takes callables from the queue, and each callable calls |
when you call |
So every call has a new instance of |
Caveats for partest command line options described here: #558 (comment)
Added partest-only sbt target that doesn't run the other (JUnit etc.) tests, only the tests.scala JUnit test to generate the files and then partest them. Same partest command line options can be used.
Added redirection of compiler console output into .clog file, which is appended to error output when using --verbose.