forked from qt-creator/qt-creator
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:
@@ -5,7 +5,7 @@ source("../../shared/qtcreator.py")
|
||||
|
||||
def main():
|
||||
with GitClone("git://code.qt.io/qt-creator/qt-creator.git",
|
||||
"v6.0.1") as CreatorSrcPath:
|
||||
"v12.0.2") as CreatorSrcPath:
|
||||
if not CreatorSrcPath:
|
||||
test.fatal("Could not clone Qt Creator")
|
||||
return
|
||||
@@ -15,9 +15,10 @@ def main():
|
||||
if not startedWithoutPluginError():
|
||||
return
|
||||
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'"
|
||||
% Targets.getStringForTarget(Targets.DESKTOP_5_10_1_DEFAULT))
|
||||
% Targets.getStringForTarget(usedKit))
|
||||
invokeMenuItem("File", "Exit")
|
||||
return
|
||||
test.log("Start parsing project")
|
||||
|
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user