summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorRohan McGovern <rohan.mcgovern@nokia.com>2010-02-02 04:38:11 (GMT)
committerRohan McGovern <rohan.mcgovern@nokia.com>2010-02-02 04:38:11 (GMT)
commit669d23710f449617a327cf38b7d09867b28335ff (patch)
tree97d73379096470650a10e0bfb7ebcfe212cacd6b /tests
parentb8102ec6d2f01a0aedf2ecd5bbf16d3a5f6c296e (diff)
downloadQt-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.
Diffstat (limited to 'tests')
-rw-r--r--tests/auto/maketestselftest/tst_maketestselftest.cpp3
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;
}
}