summaryrefslogtreecommitdiffstats
path: root/make
diff options
context:
space:
mode:
Diffstat (limited to 'make')
-rwxr-xr-xmake/build.xml2
-rw-r--r--make/scripts/runtest.sh14
2 files changed, 12 insertions, 4 deletions
diff --git a/make/build.xml b/make/build.xml
index 0ed82e9..4babd6b 100755
--- a/make/build.xml
+++ b/make/build.xml
@@ -634,6 +634,7 @@
<include name="com/jogamp/common/impl/*.class" />
<include name="com/jogamp/common/jvm/*.class" />
<include name="com/jogamp/common/util/*.class" />
+ <include name="com/jogamp/common/util/locks/*.class" />
<include name="com/jogamp/common/nio/*.class" />
<include name="com/jogamp/common/os/*.class" />
<include name="com/jogamp/common/*.class" />
@@ -682,6 +683,7 @@
<include name="com/sun/gluegen/**Test*"/>
<include name="com/jogamp/common/nio/**Test*"/>
<include name="com/jogamp/common/util/**Test*"/>
+ <include name="com/jogamp/common/util/locks/**Test*"/>
</fileset>
<formatter usefile="false" type="plain"/>
<formatter usefile="true" type="xml"/>
diff --git a/make/scripts/runtest.sh b/make/scripts/runtest.sh
index c58b69a..9484eb4 100644
--- a/make/scripts/runtest.sh
+++ b/make/scripts/runtest.sh
@@ -8,14 +8,20 @@ if [ -z "$builddir" ] ; then
exit 1
fi
+LOG=runtest.log
+rm -f $LOG
+
+#D_ARGS="-Djogamp.debug.ProcAddressHelper=true -Djogamp.debug.NativeLibrary=true"
+D_ARGS="-Djogamp.debug.TraceLock"
+
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
+ java $D_ARGS -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
+onetest com.jogamp.common.util.TestRecursiveToolkitLock 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