tests/auto/qscriptv8testsuite/tst_qscriptv8testsuite.cpp
changeset 18 2f34d5167611
parent 0 1918ee327afb
child 30 5dc02b23752f
--- a/tests/auto/qscriptv8testsuite/tst_qscriptv8testsuite.cpp	Tue Feb 02 00:43:10 2010 +0200
+++ b/tests/auto/qscriptv8testsuite/tst_qscriptv8testsuite.cpp	Fri Apr 16 15:50:13 2010 +0300
@@ -1,6 +1,6 @@
 /****************************************************************************
 **
-** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies).
+** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
 ** All rights reserved.
 ** Contact: Nokia Corporation (qt-info@nokia.com)
 **
@@ -236,6 +236,16 @@
     addExpectedFailure("global-const-var-conflicts", "false", "true", willFixInNextReleaseMessage);
     addExpectedFailure("string-lastindexof", "0", "-1", "test is wrong?");
 
+#ifndef Q_OS_LINUX
+    addExpectedFailure("to-precision", "1.235e+27", "1.234e+27", "QTBUG-8053: toPrecision(4) gives wrong result on Mac");
+#endif
+
+#ifdef Q_OS_SOLARIS
+    addExpectedFailure("math-min-max", "Infinity", "-Infinity", willFixInNextReleaseMessage);
+    addExpectedFailure("negate-zero", "false", "true", willFixInNextReleaseMessage);
+    addExpectedFailure("str-to-num", "Infinity", "-Infinity", willFixInNextReleaseMessage);
+#endif
+
     addTestExclusion("debug-*", "not applicable");
     addTestExclusion("mirror-*", "not applicable");
 
@@ -245,6 +255,10 @@
 
     addTestExclusion("string-case", "V8-specific behavior? (Doesn't pass on SpiderMonkey either)");
 
+#ifdef Q_CC_MINGW
+    addTestExclusion("date$", "QTBUG-7698: Date.prototype.setMonth() crashes on win32-g++");
+#endif
+
 #ifdef Q_OS_WINCE
     addTestExclusion("deep-recursion", "Demands too much memory on WinCE");
     addTestExclusion("nested-repetition-count-overflow", "Demands too much memory on WinCE");