aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--make/scripts/runtest.sh19
1 files changed, 12 insertions, 7 deletions
diff --git a/make/scripts/runtest.sh b/make/scripts/runtest.sh
index 427f4f3..c58b69a 100644
--- a/make/scripts/runtest.sh
+++ b/make/scripts/runtest.sh
@@ -1,4 +1,4 @@
-#! /bin/sh
+#! /bin/bash
builddir=$1
shift
@@ -8,9 +8,14 @@ if [ -z "$builddir" ] ; then
exit 1
fi
-echo com.jogamp.gluegen.test.TestPointerBufferEndian
-java -Djava.library.path=$builddir/obj -classpath $builddir/classes com.jogamp.gluegen.test.TestPointerBufferEndian
-echo
-echo com.jogamp.gluegen.test.TestStructAccessorEndian
-java -Djava.library.path=$builddir/obj -classpath $builddir/classes com.jogamp.gluegen.test.TestStructAccessorEndian
-echo
+function onetest() {
+ clazz=$1
+ shift
+ echo $clazz
+ java -Djava.library.path=$builddir/obj:$builddir/test/build/natives -classpath lib/junit.jar:$builddir/classes:$builddir/test/build/classes $clazz
+ echo
+}
+
+onetest com.jogamp.common.util.TestRecursiveToolkitLock
+#onetest com.jogamp.gluegen.test.TestPointerBufferEndian
+#onetest com.jogamp.gluegen.test.TestStructAccessorEndian