Request for Review: Make the Queens test ("test in build") an option that can be disabled

David Holmes david.holmes at oracle.com
Tue May 15 03:52:59 PDT 2012


On 15/05/2012 7:31 PM, Magnus Ihse Bursie wrote:
> On 2012-05-15 04:00, David Holmes wrote:
>> Two queries:
>>
>> 1. Shouldn't you skip building test_gamma as well as running it ?
> Sure, I can fix that.
>>
>> 2. Cross-compilation builds have to skip this too. Presently this is
>> done by adding a cross-compilation check inside the test_gamma script
>> that gets generated by buildtree.make - but it seems to me
>> cross-compilation builds should simply set TEST_IN_BUILD=false
> Yeah, that sounds like a good idea. I modified the check in defs.make to
> one that sets TEST_IN_BUILD to false if it is not already set, and
> CROSS_COMPILE_ARCH is set, but true otherwise. That way you won't have
> to modify your scripts.
>
> New webrev:
>
> http://cr.openjdk.java.net/~ihse/make-test-in-build-an-option/webrev.01/

Okay this seems a lot simpler now as everything is handled through 
buildtree.make. Consider it Reviewed. But best to get a second and third 
opinion.

I do hate seeing all this repetition though - both across the 
per-platform files, and across the different rule-sets. But that's a 
change for another day.

Thanks,
David

> /Magnus
>


More information about the hotspot-dev mailing list