SquishTest: Update sources for testing qbs

The old sources used deprecated features.

Done by:
1. Assuming that current Creator works correctly because
   it is passing the test with the old sources.
2. Replacing the .tsv's contents with what Creator
   generates from the new sources on Linux.
3. Removing everything from the .tsv which is not found
   in the same place on Windows.

Change-Id: I31f0f1a46c1972d8c717c216275dd453ca74fc27
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
Robert Löhning
2024-02-19 23:11:22 +01:00
parent 871b91b843
commit d54e98cdb8
2 changed files with 8345 additions and 8190 deletions

View File

@@ -5,7 +5,7 @@ source("../../shared/qtcreator.py")
def main(): def main():
with GitClone("git://code.qt.io/qt-creator/qt-creator.git", with GitClone("git://code.qt.io/qt-creator/qt-creator.git",
"v6.0.1") as CreatorSrcPath: "v12.0.2") as CreatorSrcPath:
if not CreatorSrcPath: if not CreatorSrcPath:
test.fatal("Could not clone Qt Creator") test.fatal("Could not clone Qt Creator")
return return
@@ -15,9 +15,10 @@ def main():
if not startedWithoutPluginError(): if not startedWithoutPluginError():
return return
openQbsProject(pathCreator) openQbsProject(pathCreator)
if not addAndActivateKit(Targets.DESKTOP_5_14_1_DEFAULT): usedKit = Targets.DESKTOP_6_2_4
if not addAndActivateKit(usedKit):
test.fatal("Failed to activate '%s'" test.fatal("Failed to activate '%s'"
% Targets.getStringForTarget(Targets.DESKTOP_5_10_1_DEFAULT)) % Targets.getStringForTarget(usedKit))
invokeMenuItem("File", "Exit") invokeMenuItem("File", "Exit")
return return
test.log("Start parsing project") test.log("Start parsing project")