From 07f975eef127048b8150b368259afcad183e6424 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Abecasis?= Date: Fri, 25 Mar 2011 12:30:33 +0100 Subject: Skip failing tests c7748b7838522ec38ec01423f1267acf1f163606 fixed a bug in QDir::absoluteFilePath that was masking failures in QtScript's v8 test suite. Those will have to be looked into separately. For now, skipping the tests. These are the uncovered failures, broken out by platform and test, and formatted as "test-name:line-number: actual-value / expected-value": * linux-icc_ubuntu1004 - math-min-max:50: Inf / -Inf - negate-zero:50: false / true - str-to-num:50: Inf / -Inf * linux-icc_ubuntu1004 & macx-g++_cocoa_osx106 - smi-negative-zero:50: -Inf / Inf * linux-icc_ubuntu1004 & macx-g++_cocoa & macx-g++_cocoa_osx106 & win32-msvc2005_windows_xp & win32-msvc2008_windows_xp - to-precision:50: 1.235e+27 / 1.234e+27 Reviewed-by: Kent Hansen --- tests/auto/qscriptv8testsuite/abstracttestsuite.cpp | 12 ++++++++++++ tests/auto/qscriptv8testsuite/skip.txt | 14 ++++++++++++++ 2 files changed, 26 insertions(+) diff --git a/tests/auto/qscriptv8testsuite/abstracttestsuite.cpp b/tests/auto/qscriptv8testsuite/abstracttestsuite.cpp index d47eb24..0978293 100644 --- a/tests/auto/qscriptv8testsuite/abstracttestsuite.cpp +++ b/tests/auto/qscriptv8testsuite/abstracttestsuite.cpp @@ -276,8 +276,11 @@ bool TestConfigParser::isKnownSymbol(const QString &symbol) << "Q_OS_SOLARIS" << "Q_OS_WINCE" << "Q_OS_SYMBIAN" + << "Q_OS_MAC" + << "Q_OS_WIN" << "Q_CC_MSVC" << "Q_CC_MINGW" + << "Q_CC_INTEL" ; } return knownSymbols.contains(symbol); @@ -299,12 +302,21 @@ bool TestConfigParser::isDefined(const QString &symbol) #ifdef Q_OS_SYMBIAN << "Q_OS_SYMBIAN" #endif +#ifdef Q_OS_MAC + << "Q_OS_MAC" +#endif +#ifdef Q_OS_WIN + << "Q_OS_WIN" +#endif #ifdef Q_CC_MSVC << "Q_CC_MSVC" #endif #ifdef Q_CC_MINGW << "Q_CC_MINGW" #endif +#ifdef Q_CC_INTEL + << "Q_CC_INTEL" +#endif ; } return definedSymbols.contains(symbol); diff --git a/tests/auto/qscriptv8testsuite/skip.txt b/tests/auto/qscriptv8testsuite/skip.txt index 3c2cc53..9658c2b 100644 --- a/tests/auto/qscriptv8testsuite/skip.txt +++ b/tests/auto/qscriptv8testsuite/skip.txt @@ -15,3 +15,17 @@ mul-exhaustive | Demands too much memory on WinCE [Q_OS_SYMBIAN] nested-repetition-count-overflow | Demands too much memory on Symbian unicode-test | Demands too much memory on Symbian + +[Q_CC_INTEL] +math-min-max | Unresolved failures with intel compiler +negate-zero | Unresolved failures with intel compiler +smi-negative-zero | Unresolved failures with intel compiler +str-to-num | Unresolved failures with intel compiler +to-precision | Unresolved failures with intel compiler + +[Q_OS_MAC] +smi-negative-zero | Unresolved failures on Mac OS X (Cocoa) +to-precision | Unresolved failures on Mac OS X (Cocoa) + +[Q_OS_WIN] +to-precision | Unresolved failures on Windows -- cgit v0.12