OSDN Git Service
(root)
/
kde
/
Katie.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2dd3ad2
)
limit normalization QChar test to 10k entries
author
Ivailo Monev
<xakepa10@laimg.moc>
Fri, 13 Dec 2019 22:02:34 +0000
(22:02 +0000)
committer
Ivailo Monev
<xakepa10@laimg.moc>
Fri, 13 Dec 2019 22:02:34 +0000
(22:02 +0000)
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
tests/auto/qchar/tst_qchar.cpp
patch
|
blob
|
history
diff --git
a/tests/auto/qchar/tst_qchar.cpp
b/tests/auto/qchar/tst_qchar.cpp
index
8ce42e1
..
4c2da71
100644
(file)
--- a/
tests/auto/qchar/tst_qchar.cpp
+++ b/
tests/auto/qchar/tst_qchar.cpp
@@
-532,6
+532,12
@@
void tst_QChar::normalization_data()
QString nm = QString("line #%1:").arg(linenum);
QTest::newRow(nm.toLatin1()) << columns << part;
+
+ // the test depends on ICU being able to normalize the input, it may
+ // not be the case with old versions thus only the first 10k are tested
+ if (linenum > 10000) {
+ break;
+ }
}
}