diff options
author | Joerg Bornemann <joerg.bornemann@digia.com> | 2014-05-14 12:21:04 +0200 |
---|---|---|
committer | Christian Kandeler <christian.kandeler@digia.com> | 2014-05-14 16:40:30 +0200 |
commit | bbe0de32340289407e8d0770ce95f274c448e8be (patch) | |
tree | 37e0e3e1351423b99c6ed51ee98d4d7a36a96de5 /tests/auto/blackbox | |
parent | 3bc7c3ca15e6ab416aef7343afe13acfd3a2fa61 (diff) |
make product.buildDirectory available in Probe item
As a consequence product.name is evaluated very early and cannot depend
on module properties and such. Autotests that used product.name as
verification script had to be adjusted accordingly.
Task-number: QBS-393
Change-Id: I62ae1a92313af54d9eb15e88b7457388584f7556
Reviewed-by: Christian Kandeler <christian.kandeler@digia.com>
Diffstat (limited to 'tests/auto/blackbox')
-rw-r--r-- | tests/auto/blackbox/testdata/simpleProbe/simpleProbe.qbs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/auto/blackbox/testdata/simpleProbe/simpleProbe.qbs b/tests/auto/blackbox/testdata/simpleProbe/simpleProbe.qbs index 8686b6f9d..b409c7cc6 100644 --- a/tests/auto/blackbox/testdata/simpleProbe/simpleProbe.qbs +++ b/tests/auto/blackbox/testdata/simpleProbe/simpleProbe.qbs @@ -16,14 +16,15 @@ CppApplication { found = false; } } - name: { + name: "MyApp" + type: { 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 "MyApp"; + return "application" } files: ["main.cpp"] } |