summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--make/scripts/runtest.sh3
-rw-r--r--src/java/com/jogamp/common/util/VersionInfo.java3
-rw-r--r--src/junit/com/jogamp/common/util/TestVersionInfo.java3
3 files changed, 6 insertions, 3 deletions
diff --git a/make/scripts/runtest.sh b/make/scripts/runtest.sh
index eea1313..0cb645b 100644
--- a/make/scripts/runtest.sh
+++ b/make/scripts/runtest.sh
@@ -38,7 +38,8 @@ function onetest() {
echo
}
-onetest com.jogamp.common.util.TestVersionInfo 2>&1 | tee -a $LOG
+onetest com.jogamp.common.util.VersionInfo 2>&1 | tee -a $LOG
+#onetest com.jogamp.common.util.TestVersionInfo 2>&1 | tee -a $LOG
#onetest com.jogamp.common.util.TestIteratorIndexCORE 2>&1 | tee -a $LOG
#onetest com.jogamp.common.util.locks.TestRecursiveLock01 2>&1 | tee -a $LOG
#onetest com.jogamp.common.util.TestArrayHashSet01 2>&1 | tee -a $LOG
diff --git a/src/java/com/jogamp/common/util/VersionInfo.java b/src/java/com/jogamp/common/util/VersionInfo.java
index 553e906..1e76812 100644
--- a/src/java/com/jogamp/common/util/VersionInfo.java
+++ b/src/java/com/jogamp/common/util/VersionInfo.java
@@ -34,4 +34,7 @@ public class VersionInfo {
return VersionUtil.getInfo(VersionInfo.class.getClassLoader(), prefix, "com.jogamp.common.util", "VersionInfo", sb);
}
+ public static void main(String args[]) {
+ System.err.println(VersionInfo.getInfo(null, "GlueGen"));
+ }
} \ No newline at end of file
diff --git a/src/junit/com/jogamp/common/util/TestVersionInfo.java b/src/junit/com/jogamp/common/util/TestVersionInfo.java
index f0c39d5..abfbee1 100644
--- a/src/junit/com/jogamp/common/util/TestVersionInfo.java
+++ b/src/junit/com/jogamp/common/util/TestVersionInfo.java
@@ -36,8 +36,7 @@ public class TestVersionInfo {
@Test
public void testInfo01() {
- StringBuffer sb = VersionInfo.getInfo(null, "GlueGen");
- System.err.println(sb);
+ System.err.println(VersionInfo.getInfo(null, "GlueGen"));
}