RFR: JDK-8245281 Disabling hotspot gtest builds make it impossible to run tests

Erik Joelsson erik.joelsson at oracle.com
Tue May 19 13:10:15 UTC 2020


Looks good.

I think you interpretation of the variable JVM_TEST_IMAGE_TARGETS is 
correct. As I remember it, that logic was added to support a completely 
different JVM implementation.

/Erik

On 2020-05-19 03:03, Magnus Ihse Bursie wrote:
> With JDK-8244757, the rule for test-image-hotspot-gtest is not defined 
> if hotspot gtest builds are disabled using configure 
> --disable-hotspot-gtest. This makes "make test-image" (and hence, 
> "make test") fail.
>
> The logic behind JVM_TEST_IMAGE_TARGETS was not really apparent to me, 
> so I had to do some code archaeology to understand it's origins.  It 
> came from JDK-8198425, which was an contribution from Steve Groeger.
>
> I rewrote the code a bit, since I did not think it proper to try to 
> tack on neither Graal nor Gtest test builds if this variable is used. 
> The intention is basically to oveerride the set of JVM tests, not to 
> create a new baseline to append to. Hopefully this intention comes 
> across a bit clearer now.
>
> Steve, I'd appreciate it if you can test this patch. Or, if you are 
> not using the JVM_TEST_IMAGE_TARGETS extension point anymore, please 
> let me know!
>
> /Magnus
>
> Bug: https://bugs.openjdk.java.net/browse/JDK-8245281
> WebRev: 
> http://cr.openjdk.java.net/~ihse/JDK-8245281-hotspot-gtest-image/webrev.01
>



More information about the build-dev mailing list