summaryrefslogtreecommitdiffstats
path: root/make/scripts/runtest.sh
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2011-09-23 14:08:13 +0200
committerSven Gothel <[email protected]>2011-09-23 14:08:13 +0200
commit609e649443f900116039cda7a1bc7c9359b0242f (patch)
tree6bc208a3df2f5c487c0631e5e51b34e07f5f97f4 /make/scripts/runtest.sh
parent0a54e4b8e2923d1c4eb5847a397906fb783a10d3 (diff)
Add boolean system property 'jogamp.gluegen.UseTempJarCache', defaults to 'true' - allowing to disable usage of TempJarCache.
Diffstat (limited to 'make/scripts/runtest.sh')
-rwxr-xr-xmake/scripts/runtest.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/make/scripts/runtest.sh b/make/scripts/runtest.sh
index d8436b6..d1ab23d 100755
--- a/make/scripts/runtest.sh
+++ b/make/scripts/runtest.sh
@@ -32,10 +32,13 @@ rm -f $LOG
#D_ARGS="-Djogamp.debug.JARUtil"
#D_ARGS="-Djogamp.debug.TempFileCache"
#D_ARGS="-Djogamp.debug.JNILibLoader -Djogamp.debug.TempFileCache -Djogamp.debug.JARUtil"
+#D_ARGS="-Djogamp.debug.JNILibLoader -Djogamp.gluegen.UseTempJarCache=false"
+D_ARGS="-Djogamp.debug.JNILibLoader"
function onetest() {
clazz=$1
shift
+ #libspath=$builddir/obj:$builddir/test/build/natives:
libspath=$builddir/test/build/natives:
echo LD_LIBRARY_PATH=$libspath:$LD_LIBRARY_PATH java $D_ARGS -Djava.library.path=$libspath -classpath lib/junit.jar:$ANT_JARS:$builddir/gluegen-rt.jar:$builddir/gluegen.jar:$builddir/test/build/classes $clazz
LD_LIBRARY_PATH=$libspath:$LD_LIBRARY_PATH java $D_ARGS -Djava.library.path=$libspath -classpath lib/junit.jar:$ANT_JARS:$builddir/gluegen-rt.jar:$builddir/gluegen.jar:$builddir/test/build/classes $clazz