summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorJanne Juntunen <janne.juntunen@qt.io>2022-06-07 09:59:25 +0300
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2022-06-08 11:30:31 +0000
commit24139989a54ee7404bbcd123f15c108352db7706 (patch)
tree53b4c1a9981c246fb1b842e23f916000cf3a0d75 /tests
parent415e37c84a00fc1aa318de914910775375f91882 (diff)
tst_qfile: skip trash bin test on webOS
Skipping moveToTrash() test is needed because WebOS does not implement a trash bin directory. Fixes: QTBUG-104053 Change-Id: Id1d1595eb401d8ef3a403c915d95be1cd75368d2 Reviewed-by: MÃ¥rten Nordheim <marten.nordheim@qt.io> (cherry picked from commit c58e97245df207034ab6a4b066813d02ee74234f) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'tests')
-rw-r--r--tests/auto/corelib/io/qfile/tst_qfile.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/auto/corelib/io/qfile/tst_qfile.cpp b/tests/auto/corelib/io/qfile/tst_qfile.cpp
index 0d7b2a4079..fe412641f5 100644
--- a/tests/auto/corelib/io/qfile/tst_qfile.cpp
+++ b/tests/auto/corelib/io/qfile/tst_qfile.cpp
@@ -3797,8 +3797,8 @@ void tst_QFile::moveToTrash_data()
void tst_QFile::moveToTrash()
{
-#ifdef Q_OS_ANDROID
- QSKIP("Android doesn't implement a trash bin");
+#if defined(Q_OS_ANDROID) or defined(Q_OS_WEBOS)
+ QSKIP("This platform doesn't implement a trash bin");
#endif
QFETCH(QString, source);
QFETCH(bool, create);