summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Hausmann <simon.hausmann@qt.io>2019-07-10 17:03:00 +0200
committerSimon Hausmann <simon.hausmann@qt.io>2019-07-10 17:08:11 +0200
commitc0bdb8987cec136b22b72da00d044e57cd2fe644 (patch)
tree854477c6ab89c0406027e3f98ab18c6501c6ed58
parent94e796ee311938af8a3d2ec6f8be4dd4d19267f2 (diff)
Fix "testing" for binary compatibility when the minor version is zero
In that case there is nothing to test, this is the first release in a major series that _may_ break binary compatibility. Change-Id: I96cae5f3ad15c1acba87a59793c8f77cbff1c593 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io> Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
-rw-r--r--tests/postbuild/bic/tst_bic.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/postbuild/bic/tst_bic.cpp b/tests/postbuild/bic/tst_bic.cpp
index 61edefc9..7979d66b 100644
--- a/tests/postbuild/bic/tst_bic.cpp
+++ b/tests/postbuild/bic/tst_bic.cpp
@@ -448,6 +448,9 @@ void tst_Bic::sizesAndVTables_data()
}
}
+ if (minor == 0) {
+ QSKIP("This is the first minor release in the major series, there is no binary compatibility reference data by definition.");
+ }
for (int i = 0, end = keys.size(); i < end; i++) {
QString key = keys.at(i);