diff options
Diffstat (limited to 'tests/auto/blackbox/testdata/nodejs/hello.qbs')
-rw-r--r-- | tests/auto/blackbox/testdata/nodejs/hello.qbs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/auto/blackbox/testdata/nodejs/hello.qbs b/tests/auto/blackbox/testdata/nodejs/hello.qbs index c19e455db..d7c545922 100644 --- a/tests/auto/blackbox/testdata/nodejs/hello.qbs +++ b/tests/auto/blackbox/testdata/nodejs/hello.qbs @@ -1,4 +1,10 @@ NodeJSApplication { + condition: { + var result = qbs.targetPlatform === qbs.hostPlatform; + if (!result) + console.info("targetPlatform differs from hostPlatform"); + return result; + } nodejs.applicationFile: "hello.js" name: "hello" } |