diff options
author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2021-09-28 11:39:31 +0200 |
---|---|---|
committer | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2021-09-28 11:43:10 +0200 |
commit | 5f080e843c94dc0ab3f88992c1f44333da5994b5 (patch) | |
tree | 2da8e94220e2cd9832ed9883354911897d61ce93 /scripts/packagetesting | |
parent | 467a8daa07376b582d219c0eb6905bfbd9f4c871 (diff) |
testwheel.py: Add the 6.2 examples
Split out a function for the PySide2 examples.
Pick-to: master
Change-Id: If760b5e15036602990e6b3ba63b42d5f1d3d5939
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
Diffstat (limited to 'scripts/packagetesting')
-rw-r--r-- | scripts/packagetesting/testwheel.py | 31 |
1 files changed, 20 insertions, 11 deletions
diff --git a/scripts/packagetesting/testwheel.py b/scripts/packagetesting/testwheel.py index 7236db8a..da22cb20 100644 --- a/scripts/packagetesting/testwheel.py +++ b/scripts/packagetesting/testwheel.py @@ -65,19 +65,28 @@ def get_pyside_version_from_import(): return 0, 0, 0 +def pyside2_examples(): + """List of examples to be tested (PYSIDE 2)""" + return ['widgets/mainwindows/mdi/mdi.py', + 'opengl/hellogl.py', + 'multimedia/player.py', + 'charts/donutbreakdown.py', + 'webenginewidgets/tabbedbrowser/main.py'] + + def examples(): """Compile a list of examples to be tested""" - result = ['widgets/mainwindows/mdi/mdi.py'] - if VERSION[0] >= 6: - result.extend(['declarative/extending/chapter5-listproperties/listproperties.py', - '3d/simple3d/simple3d.py']) - if VERSION[1] >= 1: - result.extend(['charts/chartthemes/main.py', - 'datavisualization/bars3d/bars3d.py']) - else: - result.extend(['opengl/hellogl.py', - 'multimedia/player.py', - 'charts/donutbreakdown.py', + if VERSION[0] < 6: + return pyside2_examples() + + result = ['widgets/mainwindows/mdi/mdi.py', + 'declarative/extending/chapter5-listproperties/listproperties.py', + '3d/simple3d/simple3d.py'] + if VERSION[1] >= 1: + result.extend(['charts/chartthemes/main.py', + 'datavisualization/bars3d/bars3d.py']) + if VERSION[1] >= 2: + result.extend(['multimedia/player/player.py', 'webenginewidgets/tabbedbrowser/main.py']) return result |