diff options
-rw-r--r-- | make/scripts/runtest.sh | 4 | ||||
-rw-r--r-- | src/junit/com/jogamp/common/util/locks/TestRecursiveLock01.java | 24 |
2 files changed, 14 insertions, 14 deletions
diff --git a/make/scripts/runtest.sh b/make/scripts/runtest.sh index 2939c2a..61e660b 100644 --- a/make/scripts/runtest.sh +++ b/make/scripts/runtest.sh @@ -23,7 +23,7 @@ function onetest() { } #onetest com.jogamp.common.util.TestIteratorIndexCORE 2>&1 | tee -a $LOG -#onetest com.jogamp.common.util.locks.TestRecursiveLock01 2>&1 | tee -a $LOG -onetest com.jogamp.common.util.TestArrayHashSet01 2>&1 | tee -a $LOG +onetest com.jogamp.common.util.locks.TestRecursiveLock01 2>&1 | tee -a $LOG +#onetest com.jogamp.common.util.TestArrayHashSet01 2>&1 | tee -a $LOG #onetest com.jogamp.gluegen.test.TestPointerBufferEndian 2>&1 | tee -a $LOG #onetest com.jogamp.gluegen.test.TestStructAccessorEndian 2>&1 | tee -a $LOG diff --git a/src/junit/com/jogamp/common/util/locks/TestRecursiveLock01.java b/src/junit/com/jogamp/common/util/locks/TestRecursiveLock01.java index ff3c4e0..ff55976 100644 --- a/src/junit/com/jogamp/common/util/locks/TestRecursiveLock01.java +++ b/src/junit/com/jogamp/common/util/locks/TestRecursiveLock01.java @@ -225,24 +225,24 @@ public class TestRecursiveLock01 { } @Test - public void testLockedObjectThreading200x200Yield() throws InterruptedException { - System.err.println("++++ TestRecursiveLock01.testLockedObjectThreading200x200-Yield"); - testLockedObjectImpl(200, 200, 100, YIELD_YIELD); - System.err.println("---- TestRecursiveLock01.testLockedObjectThreading200x200-Yield"); + public void testLockedObjectThreading25x25Yield() throws InterruptedException { + System.err.println("++++ TestRecursiveLock01.testLockedObjectThreading25x25-Yield"); + testLockedObjectImpl(25, 25, 100, YIELD_YIELD); + System.err.println("---- TestRecursiveLock01.testLockedObjectThreading25x25-Yield"); } // @Test - public void testLockedObjectThreading200x200Sleep() throws InterruptedException { - System.err.println("++++ TestRecursiveLock01.testLockedObjectThreading200x200-Sleep"); - testLockedObjectImpl(200, 200, 100, YIELD_SLEEP); - System.err.println("---- TestRecursiveLock01.testLockedObjectThreading200x200-Sleep"); + public void testLockedObjectThreading25x25Sleep() throws InterruptedException { + System.err.println("++++ TestRecursiveLock01.testLockedObjectThreading25x25-Sleep"); + testLockedObjectImpl(25, 25, 100, YIELD_SLEEP); + System.err.println("---- TestRecursiveLock01.testLockedObjectThreading25x25-Sleep"); } @Test - public void testLockedObjectThreading200x200None() throws InterruptedException { - System.err.println("++++ TestRecursiveLock01.testLockedObjectThreading200x200-None"); - testLockedObjectImpl(200, 200, 100, YIELD_NONE); - System.err.println("---- TestRecursiveLock01.testLockedObjectThreading200x200-None"); + public void testLockedObjectThreading25x25None() throws InterruptedException { + System.err.println("++++ TestRecursiveLock01.testLockedObjectThreading25x25-None"); + testLockedObjectImpl(25, 25, 100, YIELD_NONE); + System.err.println("---- TestRecursiveLock01.testLockedObjectThreading25x25-None"); } static int atoi(String a) { |