diff options
Diffstat (limited to 'tests/auto/blackbox/testdata/autotests/autotests.qbs')
-rw-r--r-- | tests/auto/blackbox/testdata/autotests/autotests.qbs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/auto/blackbox/testdata/autotests/autotests.qbs b/tests/auto/blackbox/testdata/autotests/autotests.qbs index 10334156e..4927a8869 100644 --- a/tests/auto/blackbox/testdata/autotests/autotests.qbs +++ b/tests/auto/blackbox/testdata/autotests/autotests.qbs @@ -1,6 +1,12 @@ Project { references: ["test1", "test2", "test3"] AutotestRunner { + condition: { + var result = qbs.targetPlatform === qbs.hostPlatform; + if (!result) + console.info("targetPlatform differs from hostPlatform"); + return result; + } Depends { name: "cpp" // Make sure build environment is set up properly. condition: qbs.hostOS.contains("windows") && qbs.toolchain.contains("gcc") |