summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorSamuli Piippo <samuli.piippo@qt.io>2020-12-31 14:54:11 +0200
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2021-02-05 21:09:26 +0000
commit137f5518b84439845aeb5d115341b32fee33bf10 (patch)
treecf197299c8900703033289d9c85f6c8f6a377bac /tests
parent80cc01aeb5fcc81906308c45e5bac1079c5ef905 (diff)
tst_qtexttable: fix fail on QEMU ARMv7
Different font was used when running on QEMU ARMv7 and the second page was never reached. Task-number: QTQAINFRA-4127 Change-Id: Ic85b76661cf3642b69e6e1b21e8062d7c36231e3 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io> (cherry picked from commit d6f00c637d6e12986a42e3c00622e7801b55a5d0) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'tests')
-rw-r--r--tests/auto/gui/text/qtexttable/tst_qtexttable.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/gui/text/qtexttable/tst_qtexttable.cpp b/tests/auto/gui/text/qtexttable/tst_qtexttable.cpp
index 405537cc59..dabe51f833 100644
--- a/tests/auto/gui/text/qtexttable/tst_qtexttable.cpp
+++ b/tests/auto/gui/text/qtexttable/tst_qtexttable.cpp
@@ -1156,7 +1156,7 @@ void tst_QTextTable::QTBUG31330_renderBackground()
cell.setFormat(cellFormat);
QTextCursor tc = cell.firstCursorPosition();
- for (int i = 0; i < 60; ++i) {
+ for (int i = 0; i < 100; ++i) {
tc.insertBlock();
}
QTBUG31330_PaintDevice::PaintEngine engine;