summaryrefslogtreecommitdiff
path: root/tests/auto/api/testdata/timeout-process
diff options
context:
space:
mode:
authorIvan Komissarov <abbapoh@gmail.com>2020-04-20 15:51:22 +0200
committerIvan Komissarov <ABBAPOH@gmail.com>2020-05-22 08:21:10 +0000
commit38bec94ff92bc117906906cfff9b2b08fc74dfab (patch)
tree3903fba3d8f2a700f2a593b836cd1d3425929c27 /tests/auto/api/testdata/timeout-process
parent92970c2cb233bc3c629250312761637ffb6d36b8 (diff)
downloadqbs-38bec94ff92bc117906906cfff9b2b08fc74dfab.tar.gz
Fix or skip tests to be able to run with the iOS profile
This skips tests that are not possible to run without the device and fixes other tests for the iOS profile. Also, adds Travis job that runs tests using iOS profile. This is the squashed merge commit of the wip/ci-ios branch. Change-Id: Ia0c1fc05fdb8c6e269f5e66f979f2ae19465433c Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Diffstat (limited to 'tests/auto/api/testdata/timeout-process')
-rw-r--r--tests/auto/api/testdata/timeout-process/timeout.qbs6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/auto/api/testdata/timeout-process/timeout.qbs b/tests/auto/api/testdata/timeout-process/timeout.qbs
index bb8deac9b..30f390946 100644
--- a/tests/auto/api/testdata/timeout-process/timeout.qbs
+++ b/tests/auto/api/testdata/timeout-process/timeout.qbs
@@ -13,6 +13,12 @@ Project {
}
Product {
+ condition: {
+ var result = qbs.targetPlatform === qbs.hostPlatform;
+ if (!result)
+ console.info("targetPlatform differs from hostPlatform");
+ return result;
+ }
type: "product-under-test"
name: "caller"
Depends { name: "infinite-loop" }