From bf6534bad54e5d1a4f15b933f3c08ebbda74881f Mon Sep 17 00:00:00 2001 From: Eckhart Koppen Date: Fri, 13 May 2011 17:28:20 +0300 Subject: [PATCH] Temporarily changed autotest behaviour to ignore Qt version Version past 5.0.0 was checked, but the test failed to compile in that configuration. --- tests/auto/qset/tst_qset.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/auto/qset/tst_qset.cpp b/tests/auto/qset/tst_qset.cpp index c28b683..2c3403a 100644 --- a/tests/auto/qset/tst_qset.cpp +++ b/tests/auto/qset/tst_qset.cpp @@ -715,12 +715,12 @@ void tst_QSet::stlMutableIterator() QVERIFY(set2.isEmpty()); QVERIFY(set3.isEmpty()); -#if QT_VERSION >= 0x050000 - i = set2.insert("foo"); -#else +// #if QT_VERSION >= 0x050000 +// i = set2.insert("foo"); +// #else QSet::const_iterator k = set2.insert("foo"); i = reinterpret_cast::iterator &>(k); -#endif +// #endif QVERIFY(*i == "foo"); } } -- 2.7.4