forked from qt-creator/qt-creator
AutoTest: Ensure we construct a file path
The original check that prevented constructing a directory will be removed. Change-Id: Ifb7960bfc245b120513ef65a1764ca60c5108093 Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -42,7 +42,7 @@ Utils::FilePath TestOutputReader::constructSourceFilePath(const Utils::FilePath
|
||||
const QString &file)
|
||||
{
|
||||
const Utils::FilePath filePath = path.resolvePath(file);
|
||||
return filePath.exists() ? filePath : Utils::FilePath();
|
||||
return filePath.isReadableFile() ? filePath : Utils::FilePath();
|
||||
}
|
||||
|
||||
TestOutputReader::TestOutputReader(const QFutureInterface<TestResultPtr> &futureInterface,
|
||||
|
Reference in New Issue
Block a user