forked from qt-creator/qt-creator
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:
@@ -1403,8 +1403,10 @@ void ProjectExplorer::ProjectExplorerPlugin::testAbiOfBinary()
|
|||||||
QFETCH(QStringList, abis);
|
QFETCH(QStringList, abis);
|
||||||
|
|
||||||
const Utils::FilePath fp = Utils::FilePath::fromString(file);
|
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");
|
QSKIP("binary file not present");
|
||||||
|
|
||||||
const Abis result = Abi::abisOfBinary(fp);
|
const Abis result = Abi::abisOfBinary(fp);
|
||||||
QCOMPARE(result.count(), abis.count());
|
QCOMPARE(result.count(), abis.count());
|
||||||
for (int i = 0; i < abis.count(); ++i)
|
for (int i = 0; i < abis.count(); ++i)
|
||||||
|
Reference in New Issue
Block a user