diff options
author | Robert Löhning <robert.loehning@qt.io> | 2023-06-07 22:55:12 +0200 |
---|---|---|
committer | Robert Löhning <robert.loehning@qt.io> | 2023-06-08 13:44:44 +0000 |
commit | f939f19b9dfc524fd99ea606955f05115eed158f (patch) | |
tree | a19691f42100701559cd93e42d1ff1aaa21213d5 | |
parent | c2d008a3228d2862de692a16a5274b0472b60451 (diff) |
SquishTests: Update tst_opencreator_qbs for Python3
Change-Id: If0e03204c49e80eb2bfca6e0d14413aad9d790f4
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
-rw-r--r-- | tests/system/suite_general/tst_opencreator_qbs/test.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/system/suite_general/tst_opencreator_qbs/test.py b/tests/system/suite_general/tst_opencreator_qbs/test.py index 555e143758..88c39f5753 100644 --- a/tests/system/suite_general/tst_opencreator_qbs/test.py +++ b/tests/system/suite_general/tst_opencreator_qbs/test.py @@ -25,8 +25,8 @@ def main(): test.warning("Parsing project timed out") compareProjectTree(rootNodeTemplate % "Qt Creator", "projecttree_creator.tsv") buildIssuesTexts = map(lambda i: str(i[3]), getBuildIssues()) - deprecationWarnings = filter(lambda s: "deprecated" in s, buildIssuesTexts) + deprecationWarnings = "\n".join(set(filter(lambda s: "deprecated" in s, buildIssuesTexts))) if deprecationWarnings: test.warning("Creator claims that the .qbs file uses deprecated features.", - "\n".join(set(deprecationWarnings))) + deprecationWarnings) invokeMenuItem("File", "Exit") |