# HG changeset patch # User Josef Eisl # Date 1415116641 -3600 # Node ID 58bbb14d5f494c43d92459715668f22191be6439 # Parent 137f4cf8204afc1e9d87a0d9f26330c9f7337ed5 Fix SPARCAllocatorTest junit assumption. diff -r 137f4cf8204a -r 58bbb14d5f49 graal/com.oracle.graal.compiler.sparc.test/src/com/oracle/graal/compiler/sparc/test/SPARCAllocatorTest.java --- a/graal/com.oracle.graal.compiler.sparc.test/src/com/oracle/graal/compiler/sparc/test/SPARCAllocatorTest.java Tue Nov 04 16:51:08 2014 +0100 +++ b/graal/com.oracle.graal.compiler.sparc.test/src/com/oracle/graal/compiler/sparc/test/SPARCAllocatorTest.java Tue Nov 04 16:57:21 2014 +0100 @@ -27,12 +27,13 @@ import org.junit.*; import com.oracle.graal.compiler.test.backend.*; +import com.oracle.graal.sparc.*; public class SPARCAllocatorTest extends AllocatorTest { @Before - public void setUp() { - assumeTrue(isArchitecture("SPARC")); + public void checkSPARC() { + assumeTrue("skipping SPARC specific test", getTarget().arch instanceof SPARC); } @Test diff -r 137f4cf8204a -r 58bbb14d5f49 mx/suite.py --- a/mx/suite.py Tue Nov 04 16:51:08 2014 +0100 +++ b/mx/suite.py Tue Nov 04 16:57:21 2014 +0100 @@ -806,7 +806,10 @@ "com.oracle.graal.compiler.sparc.test" : { "subDir" : "graal", "sourceDirs" : ["src"], - "dependencies" : ["com.oracle.graal.compiler.test"], + "dependencies" : [ + "com.oracle.graal.sparc", + "com.oracle.graal.compiler.test", + ], "checkstyle" : "com.oracle.graal.graph", "javaCompliance" : "1.8", "workingSets" : "Graal,SPARC,Test",