summaryrefslogtreecommitdiffstats
path: root/tests/auto/maketestselftest/tst_maketestselftest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/maketestselftest/tst_maketestselftest.cpp')
-rw-r--r--tests/auto/maketestselftest/tst_maketestselftest.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/auto/maketestselftest/tst_maketestselftest.cpp b/tests/auto/maketestselftest/tst_maketestselftest.cpp
index 8ed8cb88d0..9fbfd5a2c6 100644
--- a/tests/auto/maketestselftest/tst_maketestselftest.cpp
+++ b/tests/auto/maketestselftest/tst_maketestselftest.cpp
@@ -148,7 +148,8 @@ void tst_MakeTestSelfTest::tests_pro_files_data()
foreach (const QString& subdir, subdirs) {
if (subdir == QString::fromLatin1("tmp")
- || subdir.startsWith("."))
+ || subdir.startsWith(".")
+ || !dir.exists(subdir + "/" + subdir + ".pro"))
{
continue;
}