Android: skip crahsing tst_QFile's unixPipe() and socketPair()
... on Android 12. Task-number: QTBUG-105736 Pick-to: 6.4 6.3 6.2 Change-Id: I1a67ef34e2f3918d96bdcfdcde48c1c14fe01c2e Reviewed-by: Ivan Solovev <ivan.solovev@qt.io>
This commit is contained in:
parent
2c6e71e562
commit
7c917a6dbf
@ -2640,6 +2640,10 @@ void tst_QFile::unixPipe_data()
|
|||||||
|
|
||||||
void tst_QFile::unixPipe()
|
void tst_QFile::unixPipe()
|
||||||
{
|
{
|
||||||
|
#ifdef Q_OS_ANDROID
|
||||||
|
if (QNativeInterface::QAndroidApplication::sdkVersion() >= 31)
|
||||||
|
QSKIP("Crashes on Android 12 (QTBUG-105736)");
|
||||||
|
#endif
|
||||||
int pipes[2] = { -1, -1 };
|
int pipes[2] = { -1, -1 };
|
||||||
QVERIFY2(pipe(pipes) == 0, qPrintable(qt_error_string()));
|
QVERIFY2(pipe(pipes) == 0, qPrintable(qt_error_string()));
|
||||||
unixPipe_helper(pipes);
|
unixPipe_helper(pipes);
|
||||||
@ -2649,6 +2653,10 @@ void tst_QFile::unixPipe()
|
|||||||
|
|
||||||
void tst_QFile::socketPair()
|
void tst_QFile::socketPair()
|
||||||
{
|
{
|
||||||
|
#ifdef Q_OS_ANDROID
|
||||||
|
if (QNativeInterface::QAndroidApplication::sdkVersion() >= 31)
|
||||||
|
QSKIP("Crashes on Android 12 (QTBUG-105736)");
|
||||||
|
#endif
|
||||||
int pipes[2] = { -1, -1 };
|
int pipes[2] = { -1, -1 };
|
||||||
QVERIFY2(socketpair(AF_UNIX, SOCK_STREAM, 0, pipes) == 0, qPrintable(qt_error_string()));
|
QVERIFY2(socketpair(AF_UNIX, SOCK_STREAM, 0, pipes) == 0, qPrintable(qt_error_string()));
|
||||||
unixPipe_helper(pipes);
|
unixPipe_helper(pipes);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user