summaryrefslogtreecommitdiffstats
path: root/make/scripts/runtest.sh
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2010-10-09 04:35:53 +0200
committerSven Gothel <[email protected]>2010-10-09 04:35:53 +0200
commit52dcea28906b3e61ef44595399e525dd5169c014 (patch)
tree668356464c86cf1413b4f3c02c0e88fe30a939e6 /make/scripts/runtest.sh
parent23b02e8cce05ed6020ed3eb1c8e23d0d83932379 (diff)
fix runtest.sh scripts
Diffstat (limited to 'make/scripts/runtest.sh')
-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