RFR: 8157325: gtest tests are not excluded for minimal builds

Erik Joelsson erik.joelsson at oracle.com
Thu May 19 11:21:23 UTC 2016

Naturally, I think it looks good. It might need some further tweaking 
down the line, but this should work for now.


On 2016-05-19 12:44, Erik Helin wrote:
> Hi all,
> this small patch ensures that the Makefiles correctly excludes gtest
> unit tests for a minimal build. Right now, if you add a test to e.g.
> hotspot/native/gc/g1, the test will be included in a minimal build,
> which will fail.
> Thanks to Erik Joelsson for helping out with this patch!
> Bug:
> https://bugs.openjdk.java.net/browse/JDK-8157325
> Webrev:
> http://cr.openjdk.java.net/~ehelin/8157325/webrev.00/
> Testing:
> - JPRT (with test in hotspot/native/gc/g1)
> - Locally on Linux x86-64, both with and without a test in
>    hotspot/native/gc/g1, both minimal and full build
> Thanks,
> Erik

More information about the build-dev mailing list