aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/blackbox/find/find-xcode.qbs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/blackbox/find/find-xcode.qbs')
-rw-r--r--tests/auto/blackbox/find/find-xcode.qbs4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/auto/blackbox/find/find-xcode.qbs b/tests/auto/blackbox/find/find-xcode.qbs
index bb6ee9718..15c2aa17e 100644
--- a/tests/auto/blackbox/find/find-xcode.qbs
+++ b/tests/auto/blackbox/find/find-xcode.qbs
@@ -14,7 +14,9 @@ Product {
cmd.description = output.filePath;
cmd.sourceCode = function() {
var tools = {};
- if (product.moduleProperty("xcode", "present")) {
+ var present = product.moduleProperty("xcode", "present");
+ tools["present"] = !!present;
+ if (present) {
var keys = [
"developerPath",
"version"