From 05d8caa4c42b5539d993a898830307c21cb942b6 Mon Sep 17 00:00:00 2001 From: Carlos Manuel Duclos Vergara Date: Fri, 28 Jan 2011 15:03:32 +0100 Subject: Incorrect comparison result in QString::locale The problem is that we are not able to set the locale in Symbian, therefore this test becomes unreliable since it depends on a particular locale being defined. We are disabling this test for now. Task-number: QTBUG-16921 Reviewed-by: Shane Kearns --- tests/auto/qstring/tst_qstring.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/auto/qstring/tst_qstring.cpp b/tests/auto/qstring/tst_qstring.cpp index 969521f..abc8d9a 100644 --- a/tests/auto/qstring/tst_qstring.cpp +++ b/tests/auto/qstring/tst_qstring.cpp @@ -4319,6 +4319,9 @@ void tst_QString::localeAwareCompare_data() void tst_QString::localeAwareCompare() { +#ifdef Q_OS_SYMBIAN + QSKIP("QTBUG-16921: There is no way to set up the system locale, so this test is not reliable in Symbian."); +#else #ifdef Q_OS_WIN # ifndef Q_OS_WINCE QSKIP("On others than Win CE, we cannot set the system or user locale.", SkipAll); @@ -4416,6 +4419,7 @@ void tst_QString::localeAwareCompare() if (!locale.isEmpty()) setlocale(LC_ALL, ""); #endif +#endif // Q_OS_SYMBIAN } void tst_QString::split_data() -- cgit v0.12