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

Erik Joelsson erik.joelsson at oracle.com
Wed Nov 23 12:29:30 UTC 2016


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/

/Erik




More information about the build-dev mailing list