From ef4bc4432afb311c32957a5586a57f8563e48a87 Mon Sep 17 00:00:00 2001 From: Robert Loehning Date: Wed, 24 Jun 2020 19:53:55 +0200 Subject: [PATCH] Squish: Update expected output Change-Id: If5fdc09ee57ab476e7d434f084fffceb82df23cf Reviewed-by: Christian Stenger --- tests/system/suite_debugger/tst_debug_empty_main/test.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/system/suite_debugger/tst_debug_empty_main/test.py b/tests/system/suite_debugger/tst_debug_empty_main/test.py index 2d72b81ee49..5a639d5dacf 100644 --- a/tests/system/suite_debugger/tst_debug_empty_main/test.py +++ b/tests/system/suite_debugger/tst_debug_empty_main/test.py @@ -84,7 +84,7 @@ def __handleAppOutputWaitForDebuggerFinish__(): ensureChecked(":Qt Creator_AppOutput_Core::Internal::OutputPaneToggleButton") appOutput = waitForObject("{type='Core::OutputWindow' visible='1' " "windowTitle='Application Output Window'}") - if not test.verify(waitFor("str(appOutput.plainText).endswith('Debugging has finished')", 20000), + if not test.verify(waitFor("str(appOutput.plainText).rstrip().endswith('Debugging has finished')", 20000), "Verifying whether debugging has finished."): test.log("Aborting debugging to let test continue.") invokeMenuItem("Debug", "Abort Debugging")