From c58e97245df207034ab6a4b066813d02ee74234f Mon Sep 17 00:00:00 2001 From: Janne Juntunen Date: Tue, 7 Jun 2022 09:59:25 +0300 Subject: tst_qfile: skip trash bin test on webOS MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Skipping moveToTrash() test is needed because WebOS does not implement a trash bin directory. Fixes: QTBUG-104053 Pick-to: 6.4 Change-Id: Id1d1595eb401d8ef3a403c915d95be1cd75368d2 Reviewed-by: MÃ¥rten Nordheim --- tests/auto/corelib/io/qfile/tst_qfile.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/auto/corelib/io') 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); -- cgit v1.2.3