From 27e6cbeb5b4e748ff608404d7d98048f2d267c5e Mon Sep 17 00:00:00 2001 From: Christian Stenger Date: Fri, 9 Jul 2021 14:35:53 +0200 Subject: [PATCH] PE: Do not skip explicitly missing test files Amends 9e5fc953da7. Change-Id: I08f792d426cb0ffcfc3904fd293c290565b0856c Reviewed-by: Christian Kandeler --- src/plugins/projectexplorer/abi.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/plugins/projectexplorer/abi.cpp b/src/plugins/projectexplorer/abi.cpp index ba4acf1f519..10134096d9c 100644 --- a/src/plugins/projectexplorer/abi.cpp +++ b/src/plugins/projectexplorer/abi.cpp @@ -1403,8 +1403,10 @@ void ProjectExplorer::ProjectExplorerPlugin::testAbiOfBinary() QFETCH(QStringList, abis); const Utils::FilePath fp = Utils::FilePath::fromString(file); - if (!fp.exists()) + const QString dataTag = QString::fromLocal8Bit(QTest::currentDataTag()); + if (!fp.exists() && dataTag != "no file" && dataTag != "non existing file") QSKIP("binary file not present"); + const Abis result = Abi::abisOfBinary(fp); QCOMPARE(result.count(), abis.count()); for (int i = 0; i < abis.count(); ++i)