Android: skip tst_QFileSystemModel::specialFiles()

The test will never pass on Android because it's missing permissions
to read root filesystem.
Skip the test instead of blacklisting it.

Fixes: QTBUG-87427
Pick-to: 6.3 6.2
Change-Id: Ib57a49b1d2bc4204f8aa2c3028c7220d23ff2a91
Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>
This commit is contained in:
Ivan Solovev 2022-03-23 15:52:38 +01:00
parent 83a587bfa6
commit 5ef748d321
2 changed files with 3 additions and 3 deletions

View File

@ -3,6 +3,3 @@ ubuntu
b2qt
[specialFiles]
b2qt
# QTBUG-87427
[specialFiles]
android

View File

@ -1187,6 +1187,9 @@ void tst_QFileSystemModel::specialFiles()
#ifndef Q_OS_UNIX
QSKIP("Not implemented");
#endif
#ifdef Q_OS_ANDROID
QSKIP("Android does not allow access to root filesystem");
#endif
QFileSystemModel model;