summaryrefslogtreecommitdiff
path: root/tests/system/suite_debugger/tst_cli_output_console/test.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/system/suite_debugger/tst_cli_output_console/test.py')
-rw-r--r--tests/system/suite_debugger/tst_cli_output_console/test.py8
1 files changed, 6 insertions, 2 deletions
diff --git a/tests/system/suite_debugger/tst_cli_output_console/test.py b/tests/system/suite_debugger/tst_cli_output_console/test.py
index 6512e5bb9b..3d04ceda26 100644
--- a/tests/system/suite_debugger/tst_cli_output_console/test.py
+++ b/tests/system/suite_debugger/tst_cli_output_console/test.py
@@ -41,7 +41,9 @@ def main():
test.log("Running application")
runControlFinished = False
clickButton(waitForObject("{type='Core::Internal::FancyToolButton' text='Run' visible='1'}", 20000))
- waitFor("runControlFinished==True")
+ waitFor("runControlFinished==True", 20000)
+ if not runControlFinished:
+ test.warning("Waiting for runControlFinished timed out")
appOutput = str(waitForObject("{type='Core::OutputWindow' unnamed='1' visible='1'}", 20000).plainText)
verifyOutput(appOutput, outputStdOut, "std::cout", "Application Output")
verifyOutput(appOutput, outputStdErr, "std::cerr", "Application Output")
@@ -53,7 +55,9 @@ def main():
invokeMenuItem("Debug", "Start Debugging", "Start Debugging")
JIRA.performWorkaroundIfStillOpen(6853, JIRA.Bug.CREATOR, config)
handleDebuggerWarnings(config)
- waitFor("runControlFinished==True")
+ waitFor("runControlFinished==True", 20000)
+ if not runControlFinished:
+ test.warning("Waiting for runControlFinished timed out")
try:
debuggerLog = takeDebuggerLog()
if not "MSVC" in config: