aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorIvan Komissarov <abbapoh@gmail.com>2020-10-25 15:51:36 +0100
committerIvan Komissarov <ABBAPOH@gmail.com>2020-10-26 15:46:34 +0000
commit54556c25cb3e73233255c54b2d1dff1345e92b1e (patch)
treeae96f203f51175a545ce1e598aded7a67701e585 /tests
parent73319dffde4c02df78b42fa2c91a965621de8f3f (diff)
Xcode: fix apple-multiconfig test for ios-simulator
Change-Id: I0db7d7104cd06521291970a51ddf0a6f55cc71a6 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Diffstat (limited to 'tests')
-rw-r--r--tests/auto/blackbox/testdata-apple/apple-multiconfig/helpers.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/auto/blackbox/testdata-apple/apple-multiconfig/helpers.js b/tests/auto/blackbox/testdata-apple/apple-multiconfig/helpers.js
index aaab9baae..16ba00fa9 100644
--- a/tests/auto/blackbox/testdata-apple/apple-multiconfig/helpers.js
+++ b/tests/auto/blackbox/testdata-apple/apple-multiconfig/helpers.js
@@ -41,7 +41,7 @@ function enableOldArch(qbs, xcodeVersion) {
}
function getNewArch(qbs) {
- if (qbs.targetOS.contains("macos"))
+ if (qbs.targetOS.contains("macos") || qbs.targetOS.contains("ios-simulator"))
return "x86_64"
else if (qbs.targetOS.contains("ios"))
return "arm64"
@@ -53,7 +53,7 @@ function getNewArch(qbs) {
}
function getOldArch(qbs) {
- if (qbs.targetOS.contains("macos"))
+ if (qbs.targetOS.contains("macos") || qbs.targetOS.contains("ios-simulator"))
return "x86"
else if (qbs.targetOS.contains("ios"))
return "armv7a"