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

David Holmes david.holmes at oracle.com
Thu May 19 12:03:11 UTC 2016


Sorry Erik but I don't follow what this patch is doing - not familiar 
with how gtest actually works. Where does the minimal build come into 
what has been changed? This seems to be changing how GTEST_LIBJVM is 
built, not when it is built ??

Thanks,
David

On 19/05/2016 8:44 PM, 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 hotspot-dev mailing list