--- 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);