Squish: Updated checking for created files

Done-with: Christian Stenger

Change-Id: I533ff2f41a5d6554d0f6a880d1ede093de2f9d6c
Reviewed-by: Christian Stenger <christian.stenger@nokia.com>
This commit is contained in:
Robert Loehning
2012-03-09 17:17:34 +01:00
committed by Christian Stenger
parent 6f45ec97f8
commit 79b0ff8186
+7 -1
View File
@@ -169,7 +169,13 @@ def createProject_Qt_GUI(path, projectName, qtVersion = None, checks = True):
if platform.system() in ('Windows', 'Microsoft'):
path = os.path.abspath(path)
path = os.path.join(path, projectName)
expectedFiles = [path, cpp_file, h_file, ui_file, pro_file]
expectedFiles = [path]
tmpList = ["main.cpp", cpp_file, h_file, ui_file, pro_file]
if platform.system() in ('Windows', 'Microsoft'):
tmpList.sort(key=str.lower)
else:
tmpList.sort()
expectedFiles.extend(tmpList)
__createProjectHandleLastPage__(expectedFiles)
waitForSignal("{type='CppTools::Internal::CppModelManager' unnamed='1'}", "sourceFilesRefreshed(QStringList)", 20000)