summaryrefslogtreecommitdiff
path: root/tests/auto/blackbox/testdata-apple
diff options
context:
space:
mode:
authorRichard Weickelt <richard@weickelt.de>2020-04-15 22:37:21 +0200
committerRichard Weickelt <richard@weickelt.de>2020-04-15 22:37:51 +0200
commit99d009c0ae5558d86159206e7a27d4ed7e8ade28 (patch)
tree31a6917ba50c52c5987f4cec29be24dce2152565 /tests/auto/blackbox/testdata-apple
parent7d9c004b9692ee681f4778a1062e40ee1211f7e5 (diff)
parent846fc574f38395af24a9e60726372cb56075cff4 (diff)
downloadqbs-99d009c0ae5558d86159206e7a27d4ed7e8ade28.tar.gz
Merge branch '1.16' into master
Change-Id: Ie3f341fe18e2ffaf676721748279c6b027590727
Diffstat (limited to 'tests/auto/blackbox/testdata-apple')
-rw-r--r--tests/auto/blackbox/testdata-apple/xcode/xcode-project.qbs7
1 files changed, 5 insertions, 2 deletions
diff --git a/tests/auto/blackbox/testdata-apple/xcode/xcode-project.qbs b/tests/auto/blackbox/testdata-apple/xcode/xcode-project.qbs
index fbab6d0b1..fa4c67b96 100644
--- a/tests/auto/blackbox/testdata-apple/xcode/xcode-project.qbs
+++ b/tests/auto/blackbox/testdata-apple/xcode/xcode-project.qbs
@@ -43,8 +43,11 @@ Project {
}
for (var i = 0; i < a.length; ++i) {
- if (a[i] !== b[i]) {
- throw msg;
+ var version1 = a[i].split('.');
+ var version2 = b[i].split('.');
+ for (var j = 0; j < version1.length; ++j) {
+ if (version1[j] !== version2[j])
+ throw msg;
}
}
}