diff options
author | Sven Gothel <[email protected]> | 2015-03-06 12:02:19 +0100 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2015-03-06 12:02:19 +0100 |
commit | 6a0822b03de2976c5bc37544c50e70094eeb94a7 (patch) | |
tree | 785e048e484d6cbd1f7069925d67401f86e8764c /src/junit/com/jogamp/common/nio/TestByteBufferOutputStream.java | |
parent | 43f200428eb595665d6db6edbd5538413f5a977c (diff) |
TestByteBuffer*Stream: Reduce mmap load on poor OSX mini test machine to reduce test time (was: > 10 min)
Diffstat (limited to 'src/junit/com/jogamp/common/nio/TestByteBufferOutputStream.java')
-rw-r--r-- | src/junit/com/jogamp/common/nio/TestByteBufferOutputStream.java | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/junit/com/jogamp/common/nio/TestByteBufferOutputStream.java b/src/junit/com/jogamp/common/nio/TestByteBufferOutputStream.java index 8686b46..b0d7baf 100644 --- a/src/junit/com/jogamp/common/nio/TestByteBufferOutputStream.java +++ b/src/junit/com/jogamp/common/nio/TestByteBufferOutputStream.java @@ -284,7 +284,14 @@ public class TestByteBufferOutputStream extends SingletonJunitCase { testImpl(getSimpleTestName(".")+".bin", payLoad, 3021L, 6301L, "EOF".getBytes(), sliceShift); } + static boolean manualTest = false; + public static void main(final String args[]) throws IOException { + for(int i=0; i<args.length; i++) { + if(args[i].equals("-manual")) { + manualTest = true; + } + } final String tstname = TestByteBufferOutputStream.class.getName(); org.junit.runner.JUnitCore.main(tstname); } |