aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/api/testdata/simple-probe
diff options
context:
space:
mode:
authorJake Petroules <jake.petroules@theqtcompany.com>2016-03-25 17:54:01 -0700
committerJake Petroules <jake.petroules@theqtcompany.com>2016-03-26 22:14:59 +0000
commit425e1119632aae5295c7782831e76cb7a0484e83 (patch)
tree0695fffee32eb479a37ce999aa5d0595258d4e77 /tests/auto/api/testdata/simple-probe
parent05086e88d2e0b3050ec2c3b60da7d58a99459c79 (diff)
Fix some language tests.
The bundle module's probes take the Product's name/targetName/type properties as inputs, so these properties cannot depend on any Probe properties. Task-number: QBS-949 Change-Id: I4866313022eb8060b14fd653cf19766c37ddb27b Reviewed-by: Christian Kandeler <christian.kandeler@theqtcompany.com>
Diffstat (limited to 'tests/auto/api/testdata/simple-probe')
-rw-r--r--tests/auto/api/testdata/simple-probe/project.qbs6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/auto/api/testdata/simple-probe/project.qbs b/tests/auto/api/testdata/simple-probe/project.qbs
index 9a869c3de..34700a99b 100644
--- a/tests/auto/api/testdata/simple-probe/project.qbs
+++ b/tests/auto/api/testdata/simple-probe/project.qbs
@@ -16,17 +16,17 @@ CppApplication {
found = false;
}
}
+ type: ["application"]
name: "MyApp"
- type: {
+ consoleApplication: {
if (!probe1.found)
throw "probe1 not found";
if (probe2.found)
throw "probe2 unexpectedly found";
if (probe1.someString !== "one")
throw "probe1.someString expected to be \"one\"."
- return "application"
+ return true
}
- consoleApplication: true
files: ["main.cpp"]
}