forked from qt-creator/qt-creator
Squish: Fix execution of tst_simple_debug
Targets checked for debugging libraries now match the targets selected while creating the project. Change-Id: Ib5e73254b549a66850da64ffb955531aae6b3477 Reviewed-by: Robert Loehning <robert.loehning@digia.com>
This commit is contained in:
@@ -16,7 +16,10 @@ def main():
|
|||||||
return
|
return
|
||||||
# using a temporary directory won't mess up a potentially existing
|
# using a temporary directory won't mess up a potentially existing
|
||||||
workingDir = tempDir()
|
workingDir = tempDir()
|
||||||
checkedTargets, projectName = createNewQtQuickApplication(workingDir)
|
targetsVal = 0
|
||||||
|
for t in targets:
|
||||||
|
targetsVal |= t
|
||||||
|
checkedTargets, projectName = createNewQtQuickApplication(workingDir, targets=targetsVal)
|
||||||
editor = waitForObject(":Qt Creator_QmlJSEditor::QmlJSTextEditorWidget")
|
editor = waitForObject(":Qt Creator_QmlJSEditor::QmlJSTextEditorWidget")
|
||||||
if placeCursorToLine(editor, "MouseArea.*", True):
|
if placeCursorToLine(editor, "MouseArea.*", True):
|
||||||
type(editor, '<Up>')
|
type(editor, '<Up>')
|
||||||
|
Reference in New Issue
Block a user