what icon theme is installed in AppVeyor enrvironment?

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
Ivailo Monev 2022-06-08 23:32:44 +03:00
parent bc820a172f
commit 60d39b493c

View file

@ -23,6 +23,7 @@
#include <qfileiconprovider.h>
#include <qfileinfo.h>
#include <qdir.h>
#include <qdebug.h>
Q_DECLARE_METATYPE(QFileIconProvider::IconType)
Q_DECLARE_METATYPE(QFileInfo)
@ -76,6 +77,7 @@ void tst_QFileIconProvider::iconType()
QFETCH(QFileIconProvider::IconType, type);
const QString icontheme = QIcon::themeName();
qDebug() << Q_FUNC_INFO << icontheme;
if (icontheme.isEmpty() || icontheme == QLatin1String("hicolor")) {
QSKIP("This test requires system icon theme", SkipAll);
}
@ -102,6 +104,7 @@ void tst_QFileIconProvider::iconInfo()
QFETCH(bool, setPath);
const QString icontheme = QIcon::themeName();
qDebug() << Q_FUNC_INFO << icontheme;
if (icontheme.isEmpty() || icontheme == QLatin1String("hicolor")) {
QSKIP("This test requires system icon theme", SkipAll);
}