tests/auto/selftests/tst_selftests.cpp
branchRCL_3
changeset 5 d3bac044e0f0
parent 4 3b1da2848fc7
child 13 c0432d11811c
--- a/tests/auto/selftests/tst_selftests.cpp	Fri Feb 19 23:40:16 2010 +0200
+++ b/tests/auto/selftests/tst_selftests.cpp	Fri Mar 12 15:46:37 2010 +0200
@@ -248,7 +248,7 @@
             continue;
 
         const QString output(QString::fromLatin1(line));
-        const QString expected(QString::fromLatin1(exp.at(i)));
+        const QString expected(QString::fromLatin1(exp.at(i)).replace("<INSERT_QT_VERSION_HERE>", QT_VERSION_STR));
 
         if (line.contains("ASSERT") && output != expected)
             QEXPECT_FAIL("assert", "QTestLib prints out the absolute path.", Continue);