diff --git a/tests/auto/maketestselftest/tst_maketestselftest.cpp b/tests/auto/maketestselftest/tst_maketestselftest.cpp index 8ed8cb88d02..9fbfd5a2c65 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; }