summaryrefslogtreecommitdiffstats
path: root/patches/0097-Fixed-maketestselftest-after-guiapplauncher-was-made.patch
blob: 25536a0c225b7d02e3633a7b4356ea3a24c72fc8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
From fb1f2fa3e375382df16d1e9c8b5137ddad3e96e5 Mon Sep 17 00:00:00 2001
From: axis <qt-info@nokia.com>
Date: Tue, 22 Mar 2011 09:19:46 +0100
Subject: [PATCH] Fixed maketestselftest after guiapplauncher was made a
 global test.

---
 .../auto/maketestselftest/tst_maketestselftest.cpp |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/qtbase/tests/auto/maketestselftest/tst_maketestselftest.cpp b/qtbase/tests/auto/maketestselftest/tst_maketestselftest.cpp
index 8ed8cb8..9fbfd5a 100644
--- a/qtbase/tests/auto/maketestselftest/tst_maketestselftest.cpp
+++ b/qtbase/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;
         }
-- 
1.7.5.rc2.4.g4d8b3