diff options
author | Jason McDonald <jason.mcdonald@nokia.com> | 2011-09-22 17:14:42 +1000 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2011-09-26 03:03:09 +0200 |
commit | ce258242b85d2c2620ba0d0f0746a04087adf58d (patch) | |
tree | 37a9bd521c3ac675b310900645bcff6a9591c768 /tests | |
parent | b211dd93a747340f36e45db4241c6bae50f8cee9 (diff) |
Remove obsolete exclusion from selftest checking
There is no test with a datatag "float", so this code is never executed.
Change-Id: I9dd234e6575eb1c33075705edf77eb1d977061c9
Reviewed-on: http://codereview.qt-project.org/5362
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/auto/testlib/selftests/tst_selftests.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/tests/auto/testlib/selftests/tst_selftests.cpp b/tests/auto/testlib/selftests/tst_selftests.cpp index 4ad2cdcf81..4c8cd8f297 100644 --- a/tests/auto/testlib/selftests/tst_selftests.cpp +++ b/tests/auto/testlib/selftests/tst_selftests.cpp @@ -525,9 +525,6 @@ void tst_Selftests::doRunSubTest(QString const& subdir, QStringList const& logge else if (expected.startsWith(QLatin1String("FAIL! : tst_Exception::throwException() Caught unhandled exce")) && expected != output) // On some platforms we compile without RTTI, and as a result we never throw an exception. QCOMPARE(output.simplified(), QString::fromLatin1("tst_Exception::throwException()").simplified()); - else if (output != expected && qstrcmp(QTest::currentDataTag(), "float") == 0) - // The floating point formatting differs between platforms, so let's just skip it. - continue; else if (benchmark || line.startsWith("<BenchmarkResult")) { // Don't do a literal comparison for benchmark results, since // results have some natural variance. |