Re-enabled passing tests in tst_qvariant

To increase the effective test coverage, this patch
re-enables the tst_qvariant test case as such, and
instead disables only the test functions that are currently
failing in CI.

Task-number: QTBUG-22453
Change-Id: Ibf0dc3caf50d34084fa50cf76d199e77a42f6e16
Reviewed-by: Olivier Goffart <ogoffart@kde.org>
This commit is contained in:
Jo Asplin 2011-11-03 13:16:50 +01:00 committed by Qt by Nokia
parent 171e137d25
commit e142a64a33
2 changed files with 3 additions and 2 deletions

View File

@ -2,5 +2,3 @@ CONFIG += testcase
TARGET = tst_qvariant
SOURCES += tst_qvariant.cpp
QT += widgets network testlib
CONFIG+=insignificant_test # See QTBUG-8959

View File

@ -2914,6 +2914,9 @@ void tst_QVariant::task256984_setValue()
void tst_QVariant::numericalConvert()
{
#if defined(Q_OS_LINUX) && defined(Q_CC_GNU) && !defined(__x86_64__)
QSKIP("Known to fail due to a GCC bug on at least Ubuntu 10.04 32-bit - check QTBUG-8959");
#endif
QVariant vfloat(float(5.3));
QVariant vdouble(double(5.3));
QVariant vreal(qreal(5.3));