forked from qt-creator/qt-creator
Squish: Update tst_opencreator_qbs
Change-Id: I2aac18170ee7d4490852e587b2c016f913b242e0 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -43,8 +43,8 @@ def main():
|
|||||||
return
|
return
|
||||||
test.log("Start parsing project")
|
test.log("Start parsing project")
|
||||||
rootNodeTemplate = "{column='0' container=':Qt Creator_Utils::NavigationTreeView' text~='%s( \[\S+\])?' type='QModelIndex'}"
|
rootNodeTemplate = "{column='0' container=':Qt Creator_Utils::NavigationTreeView' text~='%s( \[\S+\])?' type='QModelIndex'}"
|
||||||
ntwObject = waitForObject(rootNodeTemplate % "qtcreator.qbs")
|
ntwObject = waitForObject(rootNodeTemplate % "Qt Creator", 200000)
|
||||||
if waitFor("ntwObject.model().rowCount(ntwObject) > 2", 200000): # No need to wait for C++-parsing
|
if waitFor("ntwObject.model().rowCount(ntwObject) > 2", 20000): # No need to wait for C++-parsing
|
||||||
test.log("Parsing project done") # we only need the project
|
test.log("Parsing project done") # we only need the project
|
||||||
else:
|
else:
|
||||||
test.warning("Parsing project timed out")
|
test.warning("Parsing project timed out")
|
||||||
|
Reference in New Issue
Block a user