From d203f9b8203dedd08e3588af0c64e1d16e130bf8 Mon Sep 17 00:00:00 2001 From: Joerg Bornemann Date: Wed, 7 May 2014 14:51:38 +0200 Subject: fix crash on Properties block in Export item The merged Export item was lacking a file context. Added a QBS_CHECK in instantiateModule to ensure a valid file context of the module instance scope. Task-number: QBS-550 Change-Id: I04368ba2e290a9af70f22e9c4c07324e295da4f0 Reviewed-by: Jake Petroules Reviewed-by: Christian Kandeler --- tests/auto/blackbox/testdata/exportSimple/project.qbs | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'tests/auto/blackbox/testdata') diff --git a/tests/auto/blackbox/testdata/exportSimple/project.qbs b/tests/auto/blackbox/testdata/exportSimple/project.qbs index 1b665b880..96244671a 100644 --- a/tests/auto/blackbox/testdata/exportSimple/project.qbs +++ b/tests/auto/blackbox/testdata/exportSimple/project.qbs @@ -19,6 +19,10 @@ Project { } Export { Depends { name: 'dummy2' } + Properties { // QBS-550 + condition: false + qbs.optimization: "ludicrous speed" + } } } -- cgit v1.2.3