diff options
author | Christian Kandeler <christian.kandeler@qt.io> | 2018-05-30 12:04:17 +0200 |
---|---|---|
committer | Christian Kandeler <christian.kandeler@qt.io> | 2018-05-30 13:30:43 +0000 |
commit | cdb112e265dbb6b1bec673a15cdd9b1ee724244c (patch) | |
tree | 00fb790081cae61a72d8570e930d3c1ccc47b549 /share | |
parent | 24b624b09388e4ea27de38e058b3d3d59e67bb30 (diff) |
AutotestRunner: Fix default working dir
... for the case of an installed test.
Change-Id: Ib064da968cb7aae4531c0b7177c044ee6d97bcde
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
Diffstat (limited to 'share')
-rw-r--r-- | share/qbs/imports/qbs/base/AutotestRunner.qbs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/share/qbs/imports/qbs/base/AutotestRunner.qbs b/share/qbs/imports/qbs/base/AutotestRunner.qbs index 7ea953039..441ebd515 100644 --- a/share/qbs/imports/qbs/base/AutotestRunner.qbs +++ b/share/qbs/imports/qbs/base/AutotestRunner.qbs @@ -76,7 +76,7 @@ Product { cmd.description = "Running test " + input.fileName; cmd.environment = product.environment; cmd.workingDirectory = product.workingDir ? product.workingDir - : FileInfo.path(input.filePath); + : FileInfo.path(commandFilePath); return cmd; } } |