PE: Do not skip explicitly missing test files

Amends 9e5fc953da.

Change-Id: I08f792d426cb0ffcfc3904fd293c290565b0856c
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
Christian Stenger
2021-07-09 14:35:53 +02:00
parent 716f0bd032
commit 27e6cbeb5b

View File

@@ -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)