-
Notifications
You must be signed in to change notification settings - Fork 21
Partest separate compilation with Java files in the neg
category does not record Javac errors
#6289
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
Comments
Imported From: https://issues.scala-lang.org/browse/SI-6289?orig=1 |
@khernyo said: I have a fix which redirects stderr to stdout, but the implementation is a hack as I don't see how to do the redirection when using scala.sys.process._. I'm gonna spend some more time on it. (Another solution could be the -Xstdout option of javac, but it's non-standard, so I'd rather avoid it.) Or maybe stdout and stderr should be handled separately? E.g. stdout is checked against **.check and stderr is checked against **.check-err |
@som-snytt said: I dimly recall that other useful messages include: are all my compile groups free of deprecations, or whatever. I had ambitions for using all the outputs. This code had a small performance boost, but not a killer feature. I guess this would be a minor feature. Testing compiler (on files whose compilation should fail)
testing: [...]\files\neg\mybug Error! x has private access in Const
Saving artifacts on status Fail
[FAILED] |
@khernyo said: Would you care to share your implementation' using javax.tools? I could reuse it to fix this bug. |
@Blaisorblade said: |
@khernyo said: I have a half baked solution but I prioritized the "some stdout output is discarded by partest" issue as that one affect this one too. No ticket for this one, yet. Fixing it is not hard but it's complicated by the fact that the output from java 6 and java 7 are different and it needs a hack to make them similar (javax.tools doesn't really help here) I will share my findings and code later today. |
@gkossakowski said: |
@Blaisorblade said: If yours was a conscious decision, Grzegorz, then I respect it, I'm just confused about it. |
@adriaanm said: |
@som-snytt said (edited on Apr 4, 2013 8:32:24 AM UTC): Revised: Freebased: I just read that the computer keyboard is one of the top ten germiest spots in the house, after the kitchen sponge but before the kitchen sink. One reason is the people drooling over partest in color: https://groups.google.com/d/msg/scala-internals/X_O5MLpun5o/Ha_s9Eml_zQJ |
@som-snytt said: |
myBug
inneg
in Partest with:file_1.scala:
file_2.java:
Running:
gives:
although there is no
check
file with the produced output.run
tests.The text was updated successfully, but these errors were encountered: