aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/api/testdata/timeout-process/timeout.qbs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/api/testdata/timeout-process/timeout.qbs')
-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" }