Robert Löhning
e719a2b47a
SquishTests: Update tst_create_proj_wizard
...
Change-Id: Id17f5d1a68da7fe7c9f45dc5b62ab3fe1039f753
Reviewed-by: Christian Stenger <christian.stenger@qt.io >
Reviewed-by: <github-actions-qt-creator@cristianadam.eu >
2023-05-15 14:13:41 +00:00
Robert Löhning
0b241f42f1
SquishTests: Make suite_tools Python3 compatible
...
Except for tst_designer_edit which needs a bigger update.
Change-Id: I8300a9491ec34b4d8deeed39f02fc59281cc20c9
Reviewed-by: <github-actions-qt-creator@cristianadam.eu >
Reviewed-by: Christian Stenger <christian.stenger@qt.io >
2023-05-15 14:12:17 +00:00
Robert Löhning
a820b5490c
SquishTests: Fix using invalid paste IDs
...
Change-Id: Ibc48506ff1632cbfe8d662cd00ed057af7d16a6a
Reviewed-by: Christian Stenger <christian.stenger@qt.io >
2023-05-15 14:12:01 +00:00
Robert Löhning
8764bab627
SquishTests: Improve version detection for imports
...
Change-Id: If38aa92c22c3390859f738ad5bfa5bacf47302ec
Reviewed-by: Christian Stenger <christian.stenger@qt.io >
Reviewed-by: <github-actions-qt-creator@cristianadam.eu >
2023-05-09 08:29:14 +00:00
Robert Löhning
13e0011dba
SquishTests: Fix formatting of exception message
...
Amends 8d03220017
Change-Id: I05266fe6152a8ac2601890e8dcf32fc68d0989d3
Reviewed-by: Christian Stenger <christian.stenger@qt.io >
2023-05-09 08:28:51 +00:00
Robert Löhning
a32e720692
SquishTests: Some more Python3 adaption
...
Change-Id: Iee0fd4107c3423d72a1dc51b0087837e4de46537
Reviewed-by: <github-actions-qt-creator@cristianadam.eu >
Reviewed-by: Christian Stenger <christian.stenger@qt.io >
2023-05-09 08:28:29 +00:00
Robert Löhning
82b5cc89cb
SquishTests: Log used Python version
...
Change-Id: I60cb928382840f34800af6a8ee1ed7f084acfb93
Reviewed-by: Christian Stenger <christian.stenger@qt.io >
2023-05-08 07:33:12 +00:00
Robert Löhning
200d3b455b
SquishTests: Don't test.verify state of checkbox in getBuildIssues
...
- It generates a ridiculously large number of test results in
comparison to what's actually tested
- In tst_memberoperator, it is used in waitFor(). Thus, it depends
on timing and the number of test results varies from one
execution to another
Change-Id: I7d4ad8f87590b4fc2dda51e9eda703961c7acd9e
Reviewed-by: <github-actions-qt-creator@cristianadam.eu >
Reviewed-by: Christian Stenger <christian.stenger@qt.io >
2023-05-05 09:35:38 +00:00
Robert Löhning
8d03220017
SquishTests: Improve log messages of exceptions
...
...and make them more similar to Squish's own "Error" messages.
Change-Id: If5df701d4fa01fc1c1aea94cc9778a6a5dccc44e
Reviewed-by: <github-actions-qt-creator@cristianadam.eu >
Reviewed-by: Christian Stenger <christian.stenger@qt.io >
2023-05-05 09:33:01 +00:00
Robert Löhning
d86b091297
SquishTests: Further Python3 adaption
...
Fixing tests in suite_editors
Change-Id: I4e5e1adc2c4e6606232d76a794aff7a7144d5c9e
Reviewed-by: Christian Stenger <christian.stenger@qt.io >
2023-05-02 09:14:12 +00:00
Robert Loehning
1fe7b77393
SquishTests: Remove workarounds for closed issues
...
Change-Id: If5f62b0f9013223643f016ce4e04932cca53397c
Reviewed-by: Christian Stenger <christian.stenger@qt.io >
2023-04-26 11:49:13 +00:00
Robert Löhning
183cf3adc5
SquishTests: Make workaround permanent for Creator 10
...
The bug is fixed in master branch only.
Task-number: QTCREATORBUG-28985
Change-Id: I5b1648e89a2ae61ce651ce6d2061fea58559d145
Reviewed-by: <github-actions-qt-creator@cristianadam.eu >
Reviewed-by: Christian Stenger <christian.stenger@qt.io >
2023-04-26 11:44:36 +00:00
Robert Löhning
fff4ab8b3d
SquishTests: Update tst_CSUP06
...
Change-Id: Icbe7cae9b282dd125de46f8ba8bd265b9aa1054d
Reviewed-by: Christian Stenger <christian.stenger@qt.io >
Reviewed-by: <github-actions-qt-creator@cristianadam.eu >
2023-04-26 11:34:04 +00:00
Robert Löhning
94c9e6cbac
SquishTests: Add possible location of cdb
...
Change-Id: I72c3f1b5bdcceeca2764d4a77229c45655187376
Reviewed-by: Christian Stenger <christian.stenger@qt.io >
Reviewed-by: <github-actions-qt-creator@cristianadam.eu >
2023-04-21 11:44:20 +00:00
Robert Löhning
26bcec1641
SquishTests: Don't require Qt Quick Controls
...
It's not available for any version we use anymore.
Change-Id: I11556c42b4ed7924d3ede04749b0b26251d8f0da
Reviewed-by: <github-actions-qt-creator@cristianadam.eu >
Reviewed-by: Christian Stenger <christian.stenger@qt.io >
2023-04-17 09:09:44 +00:00
Christian Stenger
9beec99452
SquishTests: Expect another build fail on Win
...
Change-Id: Id4051f4f82c1219209fd59e72f1add76ec338a87
Reviewed-by: Robert Löhning <robert.loehning@qt.io >
2023-04-14 05:06:37 +00:00
Christian Stenger
cf8f23e8e0
SquishTests: Fix wrong usage
...
Amends 476f67cce5 .
Change-Id: I584a059b52515bf625a973fff43485f5b52e6061
Reviewed-by: Robert Löhning <robert.loehning@qt.io >
2023-04-14 05:06:28 +00:00
Robert Löhning
2ffe169a8d
SquishTests: Try stabilizing tst_generic_highlighter
...
Change-Id: I12e29f2886d22ce03a1a2eb62d5c776cd894d359
Reviewed-by: Christian Stenger <christian.stenger@qt.io >
2023-04-13 10:48:21 +00:00
Christian Stenger
41e78b9e57
SquishTests: Fix compiler substitution on Windows
...
Change-Id: I970622c888d6c8b7c63e8b1674419ba900ea6d24
Reviewed-by: Robert Löhning <robert.loehning@qt.io >
2023-04-06 13:56:47 +00:00
Robert Löhning
f7ad1f02a1
SquishTests: Fix waitForProjectTreeItem() for python3
...
Amends 892ccd2097
Change-Id: I18e2c9a5407e4c70dfdae5e9c17959897ea33d50
Reviewed-by: Christian Stenger <christian.stenger@qt.io >
2023-04-06 13:05:40 +00:00
Robert Löhning
42c653b53c
SquishTests: Don't filter out code model issues when we need them
...
Amends c46dff0199
Change-Id: I5f2613edf15f86161a576ab21f16f079bd12a59f
Reviewed-by: <github-actions-qt-creator@cristianadam.eu >
Reviewed-by: Christian Stenger <christian.stenger@qt.io >
2023-04-06 09:38:54 +00:00
Robert Löhning
41c1b76af0
SquishTests: Stabilize tst_rename_macros
...
Change-Id: I9d77bf9daa66b46e2b16c8618e1848538cb797aa
Reviewed-by: <github-actions-qt-creator@cristianadam.eu >
Reviewed-by: Christian Stenger <christian.stenger@qt.io >
2023-04-04 09:51:26 +00:00
Robert Löhning
892ccd2097
SquishTests: Add function for finding elements of project tree
...
Change-Id: I08c3c22a404d2b58bdb1205f22e5cf937c6027b0
Reviewed-by: <github-actions-qt-creator@cristianadam.eu >
Reviewed-by: Christian Stenger <christian.stenger@qt.io >
2023-04-04 09:51:01 +00:00
Robert Löhning
6ad3531b15
SquishTests: Handle expected failure of qml refactoring
...
Change-Id: I05b19c33de6e1245bfb6610f7a3fd39ba428aa28
Reviewed-by: <github-actions-qt-creator@cristianadam.eu >
Reviewed-by: Christian Stenger <christian.stenger@qt.io >
2023-04-03 09:27:50 +00:00
Robert Löhning
5c5e12981e
SquishTests: Add an explanation about automatically created kits
...
Change-Id: I1bb351c56600fa4a6e420299bdbaff1c436d19c9
Reviewed-by: <github-actions-qt-creator@cristianadam.eu >
Reviewed-by: Christian Stenger <christian.stenger@qt.io >
2023-04-03 09:23:39 +00:00
Christian Stenger
0c6b3b3747
Squish: Fix expected compilers on Windows
...
Compilers will be nowadays displayed with full version.
VS 2019 and 2022 are out for a long time and have been added.
Ensure installed official LLVM is detected correctly.
Change-Id: Ica29dca74cb8e08bafda1a88fcd2c2a6150bb236
Reviewed-by: Robert Löhning <robert.loehning@qt.io >
2023-03-31 06:12:49 +00:00
Christian Stenger
3ad00fc871
SquishTests: More Python3 adaption
...
Change-Id: I95488e2b5661c8790cb73246947af58de2a1899b
Reviewed-by: Robert Löhning <robert.loehning@qt.io >
2023-03-29 15:17:24 +00:00
Christian Stenger
230b030755
SquishTests: More expected build issues
...
Expect build issues if the kit does not support the
minimum cpp standard needed by the project.
Additionally exclude the kit explicitly if the compiler
is too old to understand the needed minimum cpp standard.
Change-Id: I0cf0ad17b2cd68ba990d3360a8628ddd7fe507bd
Reviewed-by: Robert Löhning <robert.loehning@qt.io >
2023-03-29 15:17:09 +00:00
Christian Stenger
5265ad275c
Squish: Allow build to fail for runAndCloseApp()
...
Allows to mark current configuration to fail when we trigger a run
with implicit build.
Change-Id: I5738c49e62bca876c0aeba28af5f8315303620a2
Reviewed-by: Robert Löhning <robert.loehning@qt.io >
Reviewed-by: <github-actions-qt-creator@cristianadam.eu >
2023-03-29 15:17:02 +00:00
Christian Stenger
c46dff0199
SquishTests: Fix checking for build issues
...
Do not count code model issues as build issues when checking for them.
Fixes tst_build_new_project on the Linux machines which fail for unknown
reasons.
Change-Id: I2cd77b0208019fc902742197c0def6d3811cfced
Reviewed-by: Robert Löhning <robert.loehning@qt.io >
2023-03-28 13:20:10 +00:00
Christian Stenger
e113a12645
SquishTests: Fix accessing build dir line edit on Win
...
The respective line edit is hidden inside the collapsed
details, so ensure we have expanded details instead.
Change-Id: Ib6f6fab9f06c3250a71baf95a853d770bfa9b221
Reviewed-by: Robert Löhning <robert.loehning@qt.io >
2023-03-28 13:06:29 +00:00
Christian Stenger
73227535a4
SquishTests: Adapt to dark theme
...
Depending on the OS QC may be started with dark theming.
As we use the color of the buttons on the welcome page to
decide whether a button is active or not we need to adapt
the expected colors to cover dark theming as well.
Change-Id: I844b1e2cf4b44ce9501a4ef4a850331ca9983e3c
Reviewed-by: Robert Löhning <robert.loehning@qt.io >
2023-03-27 04:36:39 +00:00
Christian Stenger
ac4aaf5e23
SquishTests: Some Python3 adaption
...
Makes some tests succeed and lets a couple of tests get further
on macOS.
Change-Id: I9a3f124c094e67f51748ddae47d00897fe5259d5
Reviewed-by: Robert Löhning <robert.loehning@qt.io >
2023-03-27 04:36:30 +00:00
Robert Löhning
0476212e68
SquishTests: Simplify readme file
...
Change-Id: I0e66960a3d681362addafcce3ca845019061d0fe
Reviewed-by: Christian Stenger <christian.stenger@qt.io >
2023-03-07 11:55:11 +00:00
Christian Stenger
ca030b5a9a
Squish: Fix windows toolchain for VS15
...
Similar to what has been done for fixing VS2017. But VS2015 also needs
to add a matching Windows Kit tools path.
This magically happens if the kit is set up manually, but as we
provide a stripped version of toolchains and kits we need to adjust the
kit environment manually.
Change-Id: I9a88e7424acf2768774f5ef580ef6d1fa73bcb5a
Reviewed-by: David Schulz <david.schulz@qt.io >
2023-03-01 12:08:33 +00:00
Christian Stenger
5c4cf2d018
SquishTests: More adaption to changed wizard template
...
Change-Id: Ib073a8eae3ee87dc46699083799a8316da66b32d
Reviewed-by: David Schulz <david.schulz@qt.io >
2023-02-23 12:51:08 +00:00
Christian Stenger
0604027834
SquishTests: Fix path handling for pre-installed Qts
...
There is now a Qt6 and a new possible location.
Change-Id: I4feac6da2756bde77e98ce08f945ddefec7e2fb4
Reviewed-by: David Schulz <david.schulz@qt.io >
2023-02-23 12:51:02 +00:00
Christian Stenger
3a7ab3ce8e
SquishTests: Rename helper class
...
Change-Id: I39890cbd98b7e6ebcc0fdf4722d0311eb6650397
Reviewed-by: David Schulz <david.schulz@qt.io >
2023-02-23 12:50:56 +00:00
Christian Stenger
2d79718ad4
SquishTests: Adapt to changed wizard template
...
Change-Id: I7e487481ede88d186fb868d595eb96f25afc2fc5
Reviewed-by: <github-actions-qt-creator@cristianadam.eu >
Reviewed-by: David Schulz <david.schulz@qt.io >
2023-02-21 06:23:43 +00:00
Christian Stenger
4525d7baf9
SquishTests: Adapt to changed wizard template
...
Change-Id: Id50e16a790e63f7c99fbbe5213d9e25d20aaf29b
Reviewed-by: David Schulz <david.schulz@qt.io >
2023-02-21 06:23:27 +00:00
Christian Stenger
5c7eb717ed
SquishTests: Adapt to changed wizard
...
Change-Id: I07d3b468e6b5ec4055fa57efcddaa0cdb678966b
Reviewed-by: <github-actions-qt-creator@cristianadam.eu >
Reviewed-by: David Schulz <david.schulz@qt.io >
2023-02-21 06:23:14 +00:00
Christian Stenger
507e5f76fa
SquishTests: Fix expectation for profiling
...
Wizard template has changed and we use Qt6.2 nowadays.
Change-Id: I63d0103ac324bcf83f0b07802f57a171589a2fb1
Reviewed-by: <github-actions-qt-creator@cristianadam.eu >
Reviewed-by: David Schulz <david.schulz@qt.io >
2023-02-21 06:22:51 +00:00
Christian Stenger
bc38ad8c59
SquishTests: Adapt to changed project template
...
Change-Id: I9aa98f194a7ab4fa1390b106e398b12546a7addd
Reviewed-by: David Schulz <david.schulz@qt.io >
2023-02-16 14:07:57 +00:00
Christian Stenger
7a26b76ce3
SquishTests: Tweak preparation of toolchains
...
Prepare toolchains for usage. Basically parameterize function
to be used with more than one version and make use of it.
Change-Id: I30ee198302de54d933fa7c436e701273d497cc07
Reviewed-by: David Schulz <david.schulz@qt.io >
2023-02-16 14:07:51 +00:00
Christian Stenger
15ca3268ad
SquishTests: Provide Qt6.2 for testing
...
Long overdue. Adapt Qt Quick related stuff as this nowadays
is requiring Qt6.2 as a minimum.
Change-Id: Id1e727813034044edb4584c6d5f73a56310293d2
Reviewed-by: <github-actions-qt-creator@cristianadam.eu >
Reviewed-by: David Schulz <david.schulz@qt.io >
Reviewed-by: Christian Stenger <christian.stenger@qt.io >
2023-02-16 14:07:44 +00:00
Eike Ziller
364013b9ac
Merge remote-tracking branch 'origin/9.0' into 10.0
...
Change-Id: Ib01e191652168b2c38e80678f2f804bb95143cc5
2023-02-14 16:05:31 +01:00
Robert Löhning
b7f235edb6
SquishTests: Avoid known bug with CMake-based Widgets projects
...
...and start testing it again as soon as the report is closed.
Task-number: QTCREATORBUG-28787
Change-Id: Ib33efb6ef2851726a183576bfde5db0a1a5d8c38
Reviewed-by: <github-actions-qt-creator@cristianadam.eu >
Reviewed-by: Christian Stenger <christian.stenger@qt.io >
2023-02-13 21:34:56 +00:00
Eike Ziller
b29cb4efe1
Merge remote-tracking branch 'origin/9.0' into 10.0
...
Conflicts:
src/plugins/texteditor/codestyleselectorwidget.cpp
src/plugins/updateinfo/updateinfoplugin.cpp
Change-Id: Iac33b852ccef6018bd81188716526aa70c3f5a2d
2023-02-10 10:29:14 +01:00
Christian Stenger
ff65caf62f
SquishTests: Explicitly convert QString to str
...
Change-Id: Idcd70a18ed5535d8ad76c09007558cb96f20d178
Reviewed-by: Robert Löhning <robert.loehning@qt.io >
2023-02-09 13:51:26 +00:00
Christian Stenger
bad6b2c290
SquishTests: Avoid crash in test
...
Workaround crash inside a test that may happen if the
test tries to wait for an object when the AUT is gone already.
Check for a clean exit and only if this is not the case
try to continue with the error handling.
Change-Id: I65f3e72cd343ec527ad822de915bc0c49c263153
Reviewed-by: Robert Löhning <robert.loehning@qt.io >
2023-02-09 12:04:18 +00:00