diff options
author | Kent Hansen <kent.hansen@nokia.com> | 2010-02-09 11:29:03 (GMT) |
---|---|---|
committer | Kent Hansen <kent.hansen@nokia.com> | 2010-02-09 13:44:20 (GMT) |
commit | 416155f9078d9d055f72b383f7cce113cdc42645 (patch) | |
tree | 35616c8cc81dcac0d7b0e706071d27cdd50b04dd /tests/auto/qscriptv8testsuite | |
parent | 9d8af1a5a11571d3f514e4ad73a0712ea5d89b0e (diff) | |
download | Qt-416155f9078d9d055f72b383f7cce113cdc42645.zip Qt-416155f9078d9d055f72b383f7cce113cdc42645.tar.gz Qt-416155f9078d9d055f72b383f7cce113cdc42645.tar.bz2 |
Add platform-specific expected failures for JS test suite
Diffstat (limited to 'tests/auto/qscriptv8testsuite')
-rw-r--r-- | tests/auto/qscriptv8testsuite/tst_qscriptv8testsuite.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/auto/qscriptv8testsuite/tst_qscriptv8testsuite.cpp b/tests/auto/qscriptv8testsuite/tst_qscriptv8testsuite.cpp index 9514cd6..a3dfd6c 100644 --- a/tests/auto/qscriptv8testsuite/tst_qscriptv8testsuite.cpp +++ b/tests/auto/qscriptv8testsuite/tst_qscriptv8testsuite.cpp @@ -236,6 +236,16 @@ tst_Suite::tst_Suite() 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"); |