diff options
author | Sven Gothel <[email protected]> | 2011-07-17 16:41:29 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2011-07-17 16:41:29 +0200 |
commit | 546cd96a6bfc181cb2d9a7859f2dc9f69ec3a429 (patch) | |
tree | 6e446e3f6b36a40ff2c7f157e92563821cb28986 /src/junit/com/jogamp/common/util/IntIntHashMapTest.java | |
parent | 9a889948e7d649286ae0a473b49d14461c8981c5 (diff) |
Junit tests on ARM: Reducing some test/perf loops allowing to pass tests on low performance ARM
Diffstat (limited to 'src/junit/com/jogamp/common/util/IntIntHashMapTest.java')
-rw-r--r-- | src/junit/com/jogamp/common/util/IntIntHashMapTest.java | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/junit/com/jogamp/common/util/IntIntHashMapTest.java b/src/junit/com/jogamp/common/util/IntIntHashMapTest.java index 04f2d67..09aff1c 100644 --- a/src/junit/com/jogamp/common/util/IntIntHashMapTest.java +++ b/src/junit/com/jogamp/common/util/IntIntHashMapTest.java @@ -37,6 +37,9 @@ import java.util.Iterator; import java.util.Map.Entry; import org.junit.BeforeClass; import org.junit.Test; + +import com.jogamp.common.os.Platform; + import static org.junit.Assert.*; import static java.lang.System.*; @@ -52,7 +55,7 @@ public class IntIntHashMapTest { @BeforeClass public static void init() { - iterations = 10000; + iterations = ( Platform.CPUType.ARM == Platform.CPU_TYPE ) ? 100 : 10000; pairs = new IntIntUniqueRndValues(iterations); } |