From acf959bee68d0dffc38770c045e47f7c4ccf348f Mon Sep 17 00:00:00 2001 From: Samuli Piippo Date: Thu, 8 Nov 2012 12:51:41 +0200 Subject: test: Mark tst_QLocale::macDefaultLocale as XFAIL Task-number: QTBUG-27790 Change-Id: Ida33d9579df4ef35d0323546f4d89596e159cb8e Reviewed-by: Sergio Ahumada Reviewed-by: Janne Anttila --- tests/auto/corelib/tools/qlocale/tst_qlocale.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/auto/corelib/tools/qlocale/tst_qlocale.cpp b/tests/auto/corelib/tools/qlocale/tst_qlocale.cpp index 299ae104f1..40b5b3f935 100644 --- a/tests/auto/corelib/tools/qlocale/tst_qlocale.cpp +++ b/tests/auto/corelib/tools/qlocale/tst_qlocale.cpp @@ -1136,6 +1136,8 @@ void tst_QLocale::macDefaultLocale() QCOMPARE(locale.decimalPoint(), QChar('.')); QCOMPARE(locale.groupSeparator(), QChar(',')); QCOMPARE(locale.dateFormat(QLocale::ShortFormat), QString("M/d/yy")); + if (QSysInfo::MacintoshVersion > QSysInfo::MV_10_6) + QEXPECT_FAIL("", "QTBUG-27790", Continue); QCOMPARE(locale.dateFormat(QLocale::LongFormat), QString("MMMM d, yyyy")); QCOMPARE(locale.timeFormat(QLocale::ShortFormat), QString("h:mm AP")); QCOMPARE(locale.timeFormat(QLocale::LongFormat), QString("h:mm:ss AP t")); -- cgit v1.2.3