Commit 54a7188c authored by Robert Loehning's avatar Robert Loehning

Squish: Cloning installer-framework instead of jom in tst_git_clone

jom's repository can be cloned quicker than Squish can cancel the
procedure, making the test instable. Cloning installer-framework
takes a couple of seconds longer.

Change-Id: I032a4bf60cfd3b070e4c311fbd1dae5b81e8fcd1
Reviewed-by: Christian Stenger's avatarChristian Stenger <>
parent 8579e684
......@@ -25,8 +25,8 @@
cloneUrl = ""
cloneDir = "myCloneOfJom"
cloneUrl = ""
cloneDir = "myCloneOfIfw"
def verifyCloneLog(targetDir, canceled):
if canceled:
......@@ -39,8 +39,7 @@ def verifyCloneLog(targetDir, canceled):
test.warning("Cloning failed outside Creator.")
return False
# test for QTCREATORBUG-10112"remote: Counting objects:"), 1)"remote: Finding sources:"), 1)"remote: Total"), 1)"Receiving objects:"), 1)"Resolving deltas:"), 1)
test.verify(not "Stopping..." in cloneLog,
......@@ -75,9 +74,9 @@ def verifyVersionControlView(targetDir, canceled):
clickButton(waitForObject(":*Qt Creator.Clear_QToolButton"))
def verifyFiles(targetDir):
for file in [".gitignore", "CMakeLists.txt", "",
os.path.join("bin", "ibjom.bat"),
os.path.join("src", "app", "main.cpp")]:
for file in [".gitignore", "LGPL_EXCEPTION.txt", "",
os.path.join("tests", "test-installer", "create-test-installer.bat"),
os.path.join("src", "sdk", "main.cpp")]:
test.verify(os.path.exists(os.path.join(targetDir, cloneDir, file)),
"Verify the existence of %s" % file)
......@@ -95,7 +94,7 @@ def main():
replaceEditorContent(waitForObject(":Working Copy_Utils::BaseValidatingLineEdit"),
cloneDirEdit = waitForObject("{name='Dir' type='QLineEdit' visible='1'}"), "jom"), "installer-framework")
replaceEditorContent(cloneDirEdit, cloneDir)
cloneLog = waitForObject(":Git Repository Clone.logPlainTextEdit_QPlainTextEdit", 1000)
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment