From bbe0de32340289407e8d0770ce95f274c448e8be Mon Sep 17 00:00:00 2001 From: Joerg Bornemann Date: Wed, 14 May 2014 12:21:04 +0200 Subject: 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 --- tests/auto/blackbox/testdata/simpleProbe/simpleProbe.qbs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'tests/auto/blackbox/testdata') 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"] } -- cgit v1.2.3