tst_QTextCodec::toLocal8Bit: disable the test for Android

Android doesn't allow to start a QProcess with custom binary, disable
the tst_QTextCodec::toLocal8Bit test.

Fixes: QTBUG-102254
Pick-to: dev 6.3
Change-Id: I24156b974e1e672f4515a6722e73990f44f257e6
Reviewed-by: Ivan Solovev <ivan.solovev@qt.io>
This commit is contained in:
Sona Kurazyan 2022-04-04 09:50:34 +02:00
parent 17976140b5
commit a3f3095ff4
1 changed files with 3 additions and 3 deletions

View File

@ -95,7 +95,7 @@ private slots:
void codecForUtfText_data(); void codecForUtfText_data();
void codecForUtfText(); void codecForUtfText();
#if defined(Q_OS_UNIX) #if defined(Q_OS_UNIX) && !defined(Q_OS_ANDROID)
void toLocal8Bit(); void toLocal8Bit();
#endif #endif
@ -2254,7 +2254,7 @@ void tst_QTextCodec::codecForUtfText()
QVERIFY(!codec); QVERIFY(!codec);
} }
#if defined(Q_OS_UNIX) #if defined(Q_OS_UNIX) && !defined(Q_OS_ANDROID)
void tst_QTextCodec::toLocal8Bit() void tst_QTextCodec::toLocal8Bit()
{ {
#if !QT_CONFIG(process) #if !QT_CONFIG(process)
@ -2271,7 +2271,7 @@ void tst_QTextCodec::toLocal8Bit()
QCOMPARE(process.exitCode(), 0); QCOMPARE(process.exitCode(), 0);
#endif #endif
} }
#endif #endif // defined(Q_OS_UNIX) && !defined(Q_OS_ANDROID)
class LoadAndConvert: public QRunnable class LoadAndConvert: public QRunnable
{ {