tests/auto/qscriptv8testsuite/tst_qscriptv8testsuite.cpp
changeset 7 f7bc934e204c
parent 0 1918ee327afb
child 30 5dc02b23752f
equal deleted inserted replaced
3:41300fa6a67c 7:f7bc934e204c
     1 /****************************************************************************
     1 /****************************************************************************
     2 **
     2 **
     3 ** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies).
     3 ** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
     4 ** All rights reserved.
     4 ** All rights reserved.
     5 ** Contact: Nokia Corporation (qt-info@nokia.com)
     5 ** Contact: Nokia Corporation (qt-info@nokia.com)
     6 **
     6 **
     7 ** This file is part of the test suite of the Qt Toolkit.
     7 ** This file is part of the test suite of the Qt Toolkit.
     8 **
     8 **
   234     addExpectedFailure("arguments-enum", "2", "0", willFixInNextReleaseMessage);
   234     addExpectedFailure("arguments-enum", "2", "0", willFixInNextReleaseMessage);
   235     addExpectedFailure("const-redecl", "undefined", "TypeError", willFixInNextReleaseMessage);
   235     addExpectedFailure("const-redecl", "undefined", "TypeError", willFixInNextReleaseMessage);
   236     addExpectedFailure("global-const-var-conflicts", "false", "true", willFixInNextReleaseMessage);
   236     addExpectedFailure("global-const-var-conflicts", "false", "true", willFixInNextReleaseMessage);
   237     addExpectedFailure("string-lastindexof", "0", "-1", "test is wrong?");
   237     addExpectedFailure("string-lastindexof", "0", "-1", "test is wrong?");
   238 
   238 
       
   239 #ifndef Q_OS_LINUX
       
   240     addExpectedFailure("to-precision", "1.235e+27", "1.234e+27", "QTBUG-8053: toPrecision(4) gives wrong result on Mac");
       
   241 #endif
       
   242 
       
   243 #ifdef Q_OS_SOLARIS
       
   244     addExpectedFailure("math-min-max", "Infinity", "-Infinity", willFixInNextReleaseMessage);
       
   245     addExpectedFailure("negate-zero", "false", "true", willFixInNextReleaseMessage);
       
   246     addExpectedFailure("str-to-num", "Infinity", "-Infinity", willFixInNextReleaseMessage);
       
   247 #endif
       
   248 
   239     addTestExclusion("debug-*", "not applicable");
   249     addTestExclusion("debug-*", "not applicable");
   240     addTestExclusion("mirror-*", "not applicable");
   250     addTestExclusion("mirror-*", "not applicable");
   241 
   251 
   242     addTestExclusion("array-concat", "Hangs on JSC backend");
   252     addTestExclusion("array-concat", "Hangs on JSC backend");
   243     addTestExclusion("array-splice", "Hangs on JSC backend");
   253     addTestExclusion("array-splice", "Hangs on JSC backend");
   244     addTestExclusion("sparse-array-reverse", "Hangs on JSC backend");
   254     addTestExclusion("sparse-array-reverse", "Hangs on JSC backend");
   245 
   255 
   246     addTestExclusion("string-case", "V8-specific behavior? (Doesn't pass on SpiderMonkey either)");
   256     addTestExclusion("string-case", "V8-specific behavior? (Doesn't pass on SpiderMonkey either)");
       
   257 
       
   258 #ifdef Q_CC_MINGW
       
   259     addTestExclusion("date$", "QTBUG-7698: Date.prototype.setMonth() crashes on win32-g++");
       
   260 #endif
   247 
   261 
   248 #ifdef Q_OS_WINCE
   262 #ifdef Q_OS_WINCE
   249     addTestExclusion("deep-recursion", "Demands too much memory on WinCE");
   263     addTestExclusion("deep-recursion", "Demands too much memory on WinCE");
   250     addTestExclusion("nested-repetition-count-overflow", "Demands too much memory on WinCE");
   264     addTestExclusion("nested-repetition-count-overflow", "Demands too much memory on WinCE");
   251     addTestExclusion("unicode-test", "Demands too much memory on WinCE");
   265     addTestExclusion("unicode-test", "Demands too much memory on WinCE");