aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/blackbox/testdata/module-providers/module-providers.qbs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/blackbox/testdata/module-providers/module-providers.qbs')
-rw-r--r--tests/auto/blackbox/testdata/module-providers/module-providers.qbs6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/auto/blackbox/testdata/module-providers/module-providers.qbs b/tests/auto/blackbox/testdata/module-providers/module-providers.qbs
index 7dc1d4c36..1ffa49038 100644
--- a/tests/auto/blackbox/testdata/module-providers/module-providers.qbs
+++ b/tests/auto/blackbox/testdata/module-providers/module-providers.qbs
@@ -1,4 +1,10 @@
Project {
+ property bool enabled: {
+ var result = qbs.targetPlatform === qbs.hostPlatform;
+ if (!result)
+ console.info("targetPlatform differs from hostPlatform");
+ return result;
+ }
readonly property string beginning: "beginning"
CppApplication {
name: "app1"