From 5133ed072a809967087d53fb7bf9c88e925eb551 Mon Sep 17 00:00:00 2001 From: Ivan Solovev Date: Wed, 2 Mar 2022 17:21:43 +0100 Subject: [PATCH] Android: skip crashing tst_QPlainTextEdit::ensureCursorVisibleOnInitialShow The test crashed for some reason, so other testcases are also not executed. Skip the test for now to enable more tests in the CI Task-number: QTBUG-89402 Pick-to: 6.3 6.2 Change-Id: I5ad38645d1b8f86c64da7208c0ae4f66d126c7d9 Reviewed-by: Assam Boudjelthia --- .../auto/widgets/widgets/qplaintextedit/tst_qplaintextedit.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/auto/widgets/widgets/qplaintextedit/tst_qplaintextedit.cpp b/tests/auto/widgets/widgets/qplaintextedit/tst_qplaintextedit.cpp index ec695b4bc1..08883f8c34 100644 --- a/tests/auto/widgets/widgets/qplaintextedit/tst_qplaintextedit.cpp +++ b/tests/auto/widgets/widgets/qplaintextedit/tst_qplaintextedit.cpp @@ -1229,6 +1229,9 @@ void tst_QPlainTextEdit::canPaste() void tst_QPlainTextEdit::ensureCursorVisibleOnInitialShow() { +#ifdef Q_OS_ANDROID + QSKIP("This test crashed on Android"); +#endif QString manyPagesOfPlainText; for (int i = 0; i < 800; ++i) manyPagesOfPlainText += QLatin1String("Blah blah blah blah blah blah\n");