diff options
author | Rohan McGovern <rohan.mcgovern@nokia.com> | 2010-02-02 04:38:11 (GMT) |
---|---|---|
committer | Rohan McGovern <rohan.mcgovern@nokia.com> | 2010-02-02 04:38:11 (GMT) |
commit | 669d23710f449617a327cf38b7d09867b28335ff (patch) | |
tree | 97d73379096470650a10e0bfb7ebcfe212cacd6b | |
parent | b8102ec6d2f01a0aedf2ecd5bbf16d3a5f6c296e (diff) | |
download | Qt-669d23710f449617a327cf38b7d09867b28335ff.zip Qt-669d23710f449617a327cf38b7d09867b28335ff.tar.gz Qt-669d23710f449617a327cf38b7d09867b28335ff.tar.bz2 |
Fixed maketestselftest failure with some MSVC versions.
The generated `tests/auto/tmp' directory was causing this test to fail.
-rw-r--r-- | tests/auto/maketestselftest/tst_maketestselftest.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/auto/maketestselftest/tst_maketestselftest.cpp b/tests/auto/maketestselftest/tst_maketestselftest.cpp index c674202..ef92c56 100644 --- a/tests/auto/maketestselftest/tst_maketestselftest.cpp +++ b/tests/auto/maketestselftest/tst_maketestselftest.cpp @@ -92,6 +92,9 @@ void tst_MakeTestSelfTest::auto_dot_pro_data() QStringList subdirs = dir.entryList(QDir::AllDirs|QDir::NoDotAndDotDot); foreach (const QString& subdir, subdirs) { + if (subdir == QString::fromLatin1("tmp")) { + continue; + } QTest::newRow(qPrintable(subdir)) << subdir; } } |