diff options
author | Robert Loehning <robert.loehning@qt.io> | 2020-02-06 22:10:26 +0100 |
---|---|---|
committer | Robert Loehning <robert.loehning@qt.io> | 2020-02-07 11:08:42 +0000 |
commit | 11abdb9ddc7b278711e1780dab91cbe92dff9915 (patch) | |
tree | 202f74302cc5a85238c78f7c8644f06e38a71fdf /tests | |
parent | e9f2178a4a81c79256eb75f5081b729d193029e8 (diff) | |
download | qt-creator-11abdb9ddc7b278711e1780dab91cbe92dff9915.tar.gz |
Squish: Fix error handling
Change-Id: I896ce824a0c75d47f7b123f80937e81793cc33e8
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/system/shared/build_utils.py | 2 | ||||
-rwxr-xr-x | tests/system/suite_CCOM/tst_CCOM01/test.py | 2 | ||||
-rw-r--r-- | tests/system/suite_SCOM/tst_SCOM01/test.py | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/tests/system/shared/build_utils.py b/tests/system/shared/build_utils.py index 30787224ad..9f2ed42ccb 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 516f9fd5b2..6c9101c381 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 c02b298e9f..161dcbd361 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") |