diff options
author | Sven Gothel <[email protected]> | 2010-10-14 21:30:14 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2010-10-14 21:30:14 +0200 |
commit | 1c7f8f8dafe0252afbb0e2701687210814b56793 (patch) | |
tree | 99e9830d5b57ab55fc109f30f9196dff6131b810 /make | |
parent | 52dcea28906b3e61ef44595399e525dd5169c014 (diff) |
Moved locking to: com.jogamp.common.util.locks ; Better abstraction ; Misc changes
Diffstat (limited to 'make')
-rwxr-xr-x | make/build.xml | 2 | ||||
-rw-r--r-- | make/scripts/runtest.sh | 14 |
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 |