graal/com.oracle.graal.compiler.hsail.test/src/com/oracle/graal/compiler/hsail/test/StaticMandelTest.java
Print this page
@@ -23,10 +23,11 @@
package com.oracle.graal.compiler.hsail.test;
import com.oracle.graal.compiler.hsail.test.infra.GraalKernelTester;
import org.junit.Test;
+import static org.junit.Assume.*;
/**
* Unit test that simulates the Mandelbrot application. The run method here is a static method
* version of the original mandel kernel and the invoke parameters are for the starting point of the
* mandel demo. Note: this will likely not pass the junit test on real hardware, but should pass on
@@ -77,8 +78,9 @@
dispatchMethodKernel(range, rgb, palette, -1f, 0f, 3f);
}
@Test
public void test() {
+ assumeTrue(runningOnSimulator());
testGeneratedHsail();
}
}