AheadOfTimeCompilationTest

Josef Eisl josef.eisl at jku.at
Fri Dec 2 10:37:02 UTC 2016


On 02/12/16 11:27, Doug Simon wrote:
> They test the expected behavior of the com.oracle.graal.compiler.common.GraalOptions.ImmutableCode option.
> 
> If you’re having problems making these tests pass on AArch64, you could insert `org.junit.Assume.assumeFalse(getTarget().arch.getName().equals("aarch64"));` in the relevant tests.

Or even better, check for the instance instead of the name:

assumeFalse("skipping on AArch64", getTarget().arch instanceof AArch64);


> 
> -Doug
> 
>> On 2 Dec 2016, at 11:05, Andrew Haley <aph at redhat.com> wrote:
>>
>> What does AheadOfTimeCompilationTest do?  I'm seeing test failures
>> in that my methods sometimes have the wrong number of nodes, but the
>> code look fine.
>>
>> Thanks,
>>
>> Andrew.
> 



More information about the graal-dev mailing list