summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2015-04-03 05:05:19 +0200
committerSven Gothel <[email protected]>2015-04-03 05:05:19 +0200
commit59d1511f97d574fc091afa43ea88ef50726d4b91 (patch)
treeb6b2e672613023b61d8bdfaf1632ef8fdd8db6eb
parent29da0b8bc787767d68cabbc885bad1d80357e1e7 (diff)
Bump semantic-versioning (0.9.33 + jogamp fixes)
-rw-r--r--make/lib/semantic-versioning/VERSION17
-rw-r--r--make/lib/semantic-versioning/semver-src.zipbin44649 -> 46469 bytes
-rw-r--r--make/lib/semantic-versioning/semver.jarbin302539 -> 329495 bytes
-rwxr-xr-xmake/scripts/runtest.sh4
-rw-r--r--src/junit/com/jogamp/junit/util/VersionSemanticsUtil.java15
5 files changed, 26 insertions, 10 deletions
diff --git a/make/lib/semantic-versioning/VERSION b/make/lib/semantic-versioning/VERSION
index ebfa12f..24d8d3c 100644
--- a/make/lib/semantic-versioning/VERSION
+++ b/make/lib/semantic-versioning/VERSION
@@ -1,7 +1,22 @@
https://github.com/sgothel/semantic-versioning
forked from https://github.com/jeluard/semantic-versioning
-0.9.30-SNAPSHOT
+0.9.33-SNAPSHOT
+
+commit c714666c0f4e19bb9db163f576e28d36cad7df74
+Author: Sven Gothel <[email protected]>
+Date: Fri Apr 3 05:00:00 2015 +0200
+
+ Add Delta.CompatChange for binary compatible changes, i.e. change in method throws clause or final field value
+
+ Change in method throws clause:
+ - Tools.isThrowsClauseChange(..)
+ - <https://docs.oracle.com/javase/specs/jls/se7/html/jls-13.html#jls-13.4.21>
+
+ Change of final field value:
+ - Tools.isFieldValueChange(..)
+ - <https://docs.oracle.com/javase/specs/jls/se7/html/jls-13.html#jls-13.4.9>
+
commit 616f566cfe60638eb97823e1f63cf203161502da
Author: Sven Gothel <[email protected]>
diff --git a/make/lib/semantic-versioning/semver-src.zip b/make/lib/semantic-versioning/semver-src.zip
index 8d91417..c1d867b 100644
--- a/make/lib/semantic-versioning/semver-src.zip
+++ b/make/lib/semantic-versioning/semver-src.zip
Binary files differ
diff --git a/make/lib/semantic-versioning/semver.jar b/make/lib/semantic-versioning/semver.jar
index 3959814..e93b0c2 100644
--- a/make/lib/semantic-versioning/semver.jar
+++ b/make/lib/semantic-versioning/semver.jar
Binary files differ
diff --git a/make/scripts/runtest.sh b/make/scripts/runtest.sh
index 158dae5..dc6587e 100755
--- a/make/scripts/runtest.sh
+++ b/make/scripts/runtest.sh
@@ -90,7 +90,7 @@ function onetest() {
#onetest com.jogamp.common.util.TestSystemPropsAndEnvs 2>&1 | tee -a $LOG
#onetest com.jogamp.common.util.TestVersionInfo 2>&1 | tee -a $LOG
#onetest com.jogamp.common.util.TestVersionNumber 2>&1 | tee -a $LOG
-#onetest com.jogamp.common.util.TestVersionSemantics 2>&1 | tee -a $LOG
+onetest com.jogamp.common.util.TestVersionSemantics 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.locks.TestRecursiveThreadGroupLock01 2>&1 | tee -a $LOG
@@ -142,7 +142,7 @@ function onetest() {
#onetest com.jogamp.gluegen.jcpp.PreprocessorTest 2>&1 | tee -a $LOG
#onetest com.jogamp.gluegen.test.junit.generation.Test1p1JavaEmitter 2>&1 | tee -a $LOG
-onetest com.jogamp.gluegen.test.junit.generation.Test1p2ProcAddressEmitter 2>&1 | tee -a $LOG
+#onetest com.jogamp.gluegen.test.junit.generation.Test1p2ProcAddressEmitter 2>&1 | tee -a $LOG
#onetest com.jogamp.gluegen.test.junit.generation.Test1p2LoadJNIAndImplLib 2>&1 | tee -a $LOG
#onetest com.jogamp.gluegen.test.junit.structgen.TestStructGen01 2>&1 | tee -a $LOG
#onetest com.jogamp.gluegen.test.junit.structgen.TestStructGen02 2>&1 | tee -a $LOG
diff --git a/src/junit/com/jogamp/junit/util/VersionSemanticsUtil.java b/src/junit/com/jogamp/junit/util/VersionSemanticsUtil.java
index 78f4460..32ea816 100644
--- a/src/junit/com/jogamp/junit/util/VersionSemanticsUtil.java
+++ b/src/junit/com/jogamp/junit/util/VersionSemanticsUtil.java
@@ -86,16 +86,17 @@ public class VersionSemanticsUtil {
}
System.err.println("Semantic Version Test");
- System.err.println("Previous version: "+preVersionNumber+" - "+previousJar.toString());
- System.err.println("Current version: "+curVersionNumber+" - "+currentJar.toString());
- System.err.println("Compat. expected: "+expectedCompatibilityType);
- System.err.println("Compat. detected: "+detectedCompatibilityType);
- System.err.println("Compat. result: detected "+compS+" expected -> "+(compOK ? "OK" : "ERROR"));
+ System.err.println(" criteria: "+diffCriteria);
+ System.err.println(" Previous version: "+preVersionNumber+" - "+previousJar.toString());
+ System.err.println(" Current version: "+curVersionNumber+" - "+currentJar.toString());
+ System.err.println(" Compat. expected: "+expectedCompatibilityType);
+ System.err.println(" Compat. detected: "+detectedCompatibilityType);
+ System.err.println(" Compat. result: detected "+compS+" expected -> "+(compOK ? "OK" : "ERROR"));
final String resS;
if( compOK ) {
- resS = "Current version "+curVersionNumber+" is "+expectedCompatibilityType+" to previous version "+preVersionNumber+", actually "+detectedCompatibilityType;
+ resS = " Current version "+curVersionNumber+" is "+expectedCompatibilityType+" to previous version "+preVersionNumber+", actually "+detectedCompatibilityType;
} else {
- resS = "Current version "+curVersionNumber+" is not "+expectedCompatibilityType+" to previous version "+preVersionNumber+", but "+detectedCompatibilityType;
+ resS = " Current version "+curVersionNumber+" is not "+expectedCompatibilityType+" to previous version "+preVersionNumber+", but "+detectedCompatibilityType;
}
System.err.println(resS);
System.err.printf("%n%n");