RFR: JDK-8170279: Langtools test/Makefile ignores failed tests

Alan Bateman Alan.Bateman at oracle.com
Wed Nov 23 12:33:05 UTC 2016


On 23/11/2016 12:29, Erik Joelsson wrote:

> After JDK-8167354, when a test fails in jtreg, the langtools 
> test/Makefile ignores the result and exits with 0. This causes (at 
> least) JPRT jobs to not fail when langtools tests fail. The reason for 
> this is the added "| tee" construct which overrides the exit value 
> from jtreg.
>
> Bug: https://bugs.openjdk.java.net/browse/JDK-8170279
>
> Webrev: http://cr.openjdk.java.net/~erikj/8170279/webrev.langtools.01/
This looks good, and a bit scary that this wasn't noticed until now.

-Alan


More information about the compiler-dev mailing list