summaryrefslogtreecommitdiffstats
path: root/patches/0097-Fixed-maketestselftest-after-guiapplauncher-was-made.patch
blob: 081d951a0212c969c8614b7745072827c5a33a46 (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
From d1a1c4e858b90188b911912e690b4d2f35006c55 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.3.4