aboutsummaryrefslogtreecommitdiff
path: root/cmd/javac_wrapper/javac_wrapper_test.go
Commit message (Collapse)AuthorAgeFilesLines
* Revert "Make lots of tests run in parallel"Colin Cross2020-10-091-2/+0
| | | | | | | | | | This reverts commit 323dc60712491c71ccdc5363c42df61f0a192487. Reason for revert: Possible cause of test instability Bug: 170513220 Test: soong tests Change-Id: Iee168e9fbb4210569e6cffcc23e60d111403abb8
* Make lots of tests run in parallelColin Cross2020-10-061-0/+2
| | | | | | | | | | Putting t.Parallel() in each test makes them run in parallel. Additional t.Parallel() could be added to each subtest, although that requires making a local copy of the loop variable for table driven tests. Test: m checkbuild Change-Id: I5d9869ead441093f4d7c5757f2447385333a95a4
* Silence trailing "1 warning" message from javac when warning is silencedColin Cross2019-11-111-1/+17
| | | | | | | | | | | | | | soong_javac_wrapper is silencing a useless warning: warning: [options] bootstrap class path not set in conjunction with -source 1.9 but recent versions of javac have started also printing: 1 warning Read the warning count, subtract the number of silenced warnings, and reprint it if the non-silenced warning count is nonzero. Fixes: 144118634 Test: javac_wrapper_test.go Change-Id: Ie1d0a978188ab7b1c41027f718a1274608628123
* Use SoongJavacWrapper for javadocNan Zhang2018-10-021-0/+11
| | | | | | Test: m -j docs; javac_wrapper_test Bug: b/116874473 Change-Id: I51d440c815d3db1a0a5dc26ad4e376189dc0aefe
* Hide "bootstrap class path not set in conjunction with -source" messagesColin Cross2017-10-181-2/+3
| | | | | | | | | | javac warns whenever -source is used with a version that does not match javac, because it wants an rt.jar provided for the given source level. We are not using -source to prevent usage of APIs that don't exist in the newer rt.jar, so hide the messages. Test: javac_wrapper_test.go Change-Id: Ic94b61767436848fc164e377dc3cc5a63726f1cf
* Don't write output during testsDan Willemsen2017-04-201-3/+4
| | | | | | | Removes the "\nPASS\n" print (since we only strip "PASS\n") Test: m -j blueprint_tools Change-Id: I31abd8474d92af29e1fa4c1ae5a940f6a588336d
* Convert soong_javac_filter to a wrapperColin Cross2017-04-181-0/+114
Piping the output of javac through a filter makes it hard to capture the exit status. Convert it to a wrapper that executes javac and propagates the exit status. Bug: 36666657 Test: javac_wrapper_test Change-Id: I9b56cc3794023aabc9328138a68830e26e980f97