forked from qt-creator/qt-creator
Squish: Fine-tuning of tst_git_clone
Change-Id: I8fdf1e663c2149ec418c2e6760bac151c0d34847 Reviewed-by: Christian Stenger <christian.stenger@digia.com>
This commit is contained in:
@@ -41,12 +41,12 @@ def verifyCloneLog(targetDir, canceled):
|
||||
"Searching for git parameters in clone log")
|
||||
test.verify(("Stopping..." in str(cloneLog.plainText)) ^ (not canceled),
|
||||
"Searching for 'Stopping...' in clone log")
|
||||
test.verify(("'" + cloneDir + "'..." in str(cloneLog.plainText)),
|
||||
"Searching for clone directory in clone log")
|
||||
if canceled:
|
||||
result = "The process terminated in an abnormal way."
|
||||
summary = "Failed."
|
||||
else:
|
||||
test.verify(("'" + cloneDir + "'..." in str(cloneLog.plainText)),
|
||||
"Searching for clone directory in clone log")
|
||||
result = "The process terminated with exit code 0."
|
||||
summary = "Succeeded."
|
||||
test.verify((result in str(cloneLog.plainText)),
|
||||
|
Reference in New Issue
Block a user