# HG changeset patch # User Josef Eisl # Date 1415116268 -3600 # Node ID 137f4cf8204afc1e9d87a0d9f26330c9f7337ed5 # Parent 691e2b53dc6389e2bff19cfe89e418f03762b764 Fix AMD64AllocatorTest junit assumption. diff -r 691e2b53dc63 -r 137f4cf8204a graal/com.oracle.graal.compiler.amd64.test/src/com/oracle/graal/compiler/amd64/test/AMD64AllocatorTest.java --- a/graal/com.oracle.graal.compiler.amd64.test/src/com/oracle/graal/compiler/amd64/test/AMD64AllocatorTest.java Wed Jul 30 22:28:09 2014 +0200 +++ b/graal/com.oracle.graal.compiler.amd64.test/src/com/oracle/graal/compiler/amd64/test/AMD64AllocatorTest.java Tue Nov 04 16:51:08 2014 +0100 @@ -22,17 +22,18 @@ */ package com.oracle.graal.compiler.amd64.test; +import static org.junit.Assume.*; + import org.junit.*; +import com.oracle.graal.amd64.*; import com.oracle.graal.compiler.test.backend.*; -import static org.junit.Assume.*; - public class AMD64AllocatorTest extends AllocatorTest { @Before - public void setUp() { - assumeTrue(isArchitecture("x86_64")); + public void checkAMD64() { + assumeTrue("skipping AMD64 specific test", getTarget().arch instanceof AMD64); } @Test diff -r 691e2b53dc63 -r 137f4cf8204a mx/suite.py --- a/mx/suite.py Wed Jul 30 22:28:09 2014 +0200 +++ b/mx/suite.py Tue Nov 04 16:51:08 2014 +0100 @@ -761,7 +761,10 @@ "com.oracle.graal.compiler.amd64.test" : { "subDir" : "graal", "sourceDirs" : ["src"], - "dependencies" : ["com.oracle.graal.compiler.test"], + "dependencies" : [ + "com.oracle.graal.amd64", + "com.oracle.graal.compiler.test", + ], "checkstyle" : "com.oracle.graal.graph", "javaCompliance" : "1.8", "workingSets" : "Graal,AMD64,Test",