diff --git a/tests/system/shared/build_utils.py b/tests/system/shared/build_utils.py index 30787224ad7..9f2ed42ccb6 100644 --- a/tests/system/shared/build_utils.py +++ b/tests/system/shared/build_utils.py @@ -57,7 +57,7 @@ def checkCompile(): waitFor("len(str(output.plainText))>0",5000) if compileSucceeded(output.plainText): if os.getenv("SYSTEST_DEBUG") == "1": - test.log("Compile Output:\n%s" % output.plainText) + test.log("Compile Output:\n%s" % str(output.plainText)) test.passes("Compile successful") return True else: diff --git a/tests/system/suite_CCOM/tst_CCOM01/test.py b/tests/system/suite_CCOM/tst_CCOM01/test.py index 516f9fd5b25..6c9101c3813 100755 --- a/tests/system/suite_CCOM/tst_CCOM01/test.py +++ b/tests/system/suite_CCOM/tst_CCOM01/test.py @@ -58,7 +58,7 @@ def main(): compileOutput = waitForObject(":Qt Creator.Compile Output_Core::OutputWindow") if not test.verify(compileSucceeded(compileOutput.plainText), "Verifying building of existing complex qt application."): - test.log(compileOutput.plainText) + test.log(str(compileOutput.plainText)) # exit invokeMenuItem("File", "Exit") # no cleanup needed, as whole testing directory gets properly removed after test finished diff --git a/tests/system/suite_SCOM/tst_SCOM01/test.py b/tests/system/suite_SCOM/tst_SCOM01/test.py index c02b298e9f2..161dcbd3612 100644 --- a/tests/system/suite_SCOM/tst_SCOM01/test.py +++ b/tests/system/suite_SCOM/tst_SCOM01/test.py @@ -50,6 +50,6 @@ def main(): compileOutput = waitForObject(":Qt Creator.Compile Output_Core::OutputWindow") if not test.verify(compileSucceeded(compileOutput.plainText), "Verifying building of simple qt quick application."): - test.log(compileOutput.plainText) + test.log(str(compileOutput.plainText)) # exit qt creator invokeMenuItem("File", "Exit")