Mercurial > hg > graal-compiler
changeset 22590:b887efbf86e3
TraceRA: skip {AMD64,SPARC}AllocatorTest.
author | Josef Eisl <josef.eisl@jku.at> |
---|---|
date | Thu, 03 Sep 2015 19:01:59 +0200 |
parents | 7c0573e095a3 |
children | c8faebfb7aed |
files | graal/com.oracle.graal.compiler.amd64.test/src/com/oracle/graal/compiler/amd64/test/AMD64AllocatorTest.java graal/com.oracle.graal.compiler.sparc.test/src/com/oracle/graal/compiler/sparc/test/SPARCAllocatorTest.java |
diffstat | 2 files changed, 4 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/graal/com.oracle.graal.compiler.amd64.test/src/com/oracle/graal/compiler/amd64/test/AMD64AllocatorTest.java Wed Sep 02 13:03:54 2015 +0200 +++ b/graal/com.oracle.graal.compiler.amd64.test/src/com/oracle/graal/compiler/amd64/test/AMD64AllocatorTest.java Thu Sep 03 19:01:59 2015 +0200 @@ -22,6 +22,7 @@ */ package com.oracle.graal.compiler.amd64.test; +import static com.oracle.graal.compiler.common.BackendOptions.UserOptions.*; import static com.oracle.graal.compiler.common.GraalOptions.*; import static org.junit.Assume.*; import jdk.internal.jvmci.amd64.*; @@ -36,6 +37,7 @@ public void checkAMD64() { assumeTrue("skipping AMD64 specific test", getTarget().arch instanceof AMD64); assumeTrue("RegisterPressure is set -> skip", RegisterPressure.getValue() == null); + assumeTrue("TraceRA is set -> skip", !TraceRA.getValue()); } @Test
--- a/graal/com.oracle.graal.compiler.sparc.test/src/com/oracle/graal/compiler/sparc/test/SPARCAllocatorTest.java Wed Sep 02 13:03:54 2015 +0200 +++ b/graal/com.oracle.graal.compiler.sparc.test/src/com/oracle/graal/compiler/sparc/test/SPARCAllocatorTest.java Thu Sep 03 19:01:59 2015 +0200 @@ -22,6 +22,7 @@ */ package com.oracle.graal.compiler.sparc.test; +import static com.oracle.graal.compiler.common.BackendOptions.UserOptions.*; import static com.oracle.graal.compiler.common.GraalOptions.*; import static org.junit.Assume.*; import jdk.internal.jvmci.sparc.*; @@ -36,6 +37,7 @@ public void checkSPARC() { assumeTrue("skipping SPARC specific test", getTarget().arch instanceof SPARC); assumeTrue("RegisterPressure is set -> skip", RegisterPressure.getValue() == null); + assumeTrue("TraceRA is set -> skip", !TraceRA.getValue()); } @Test