From 4103dfd6c26801286afc141338689bfbdace8f4d Mon Sep 17 00:00:00 2001 From: Christian Stenger Date: Thu, 15 Jul 2021 08:17:38 +0200 Subject: [PATCH] AutoTest: Ensure we construct a file path The original check that prevented constructing a directory will be removed. Change-Id: Ifb7960bfc245b120513ef65a1764ca60c5108093 Reviewed-by: hjk --- src/plugins/autotest/testoutputreader.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/autotest/testoutputreader.cpp b/src/plugins/autotest/testoutputreader.cpp index ada972d094a..f2ad3bff054 100644 --- a/src/plugins/autotest/testoutputreader.cpp +++ b/src/plugins/autotest/testoutputreader.cpp @@ -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 &futureInterface,