aboutsummaryrefslogtreecommitdiffstats
path: root/tests/system/shared/utils.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/system/shared/utils.py')
-rw-r--r--tests/system/shared/utils.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/system/shared/utils.py b/tests/system/shared/utils.py
index 7e6ba8eb0d..3a13e4269c 100644
--- a/tests/system/shared/utils.py
+++ b/tests/system/shared/utils.py
@@ -198,8 +198,10 @@ def logApplicationOutput():
try:
output = waitForObject("{type='Core::OutputWindow' visible='1' windowTitle='Application Output Window'}", 20000)
test.log("Application Output:\n%s" % output.plainText)
+ return str(output.plainText)
except:
test.fail("Could not find any Application Output - did the project run?")
+ return None
# get the output from a given cmdline call
def getOutputFromCmdline(cmdline):