summaryrefslogtreecommitdiffstats
path: root/scripts/packagetesting
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@qt.io>2021-04-07 13:14:20 +0200
committerFriedemann Kleint <Friedemann.Kleint@qt.io>2021-04-07 15:31:10 +0200
commit003fec02cf744be804c8687e0d1fbc1b17c43873 (patch)
tree534fd22687ad2b1b7f4ac7fd748d7adf2129f758 /scripts/packagetesting
parent5b165cc688471924dbbc375e756cc0bb10ff81ec (diff)
testwheel.py: Use the correct example for installing
Pick-to: master Change-Id: I199e7daebbd04e5ef4247031da336c25756265c3 Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
Diffstat (limited to 'scripts/packagetesting')
-rw-r--r--scripts/packagetesting/testwheel.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/scripts/packagetesting/testwheel.py b/scripts/packagetesting/testwheel.py
index 6d7a9c7b..1097aa24 100644
--- a/scripts/packagetesting/testwheel.py
+++ b/scripts/packagetesting/testwheel.py
@@ -39,7 +39,8 @@ import tempfile
Qt Package testing script for testing Qt for Python wheels
"""
-PYINSTALLER_EXAMPLE = 'widgets/widgets/tetrix.py'
+PYINSTALLER_EXAMPLE_6 = 'widgets/tetrix/tetrix.py'
+PYINSTALLER_EXAMPLE_2 = 'widgets/widgets/tetrix.py'
VERSION = -1
@@ -188,7 +189,7 @@ if __name__ == "__main__":
print('cx_Freeze not found, skipping test')
sys.exit(0)
- if test_cxfreeze(os.path.join(root_ex, PYINSTALLER_EXAMPLE)):
+ if test_cxfreeze(os.path.join(root_ex, PYINSTALLER_EXAMPLE_6)):
print("\ncx_Freeze test successful")
else:
print("\nProblem running cx_Freeze")
@@ -198,7 +199,7 @@ if __name__ == "__main__":
print('PyInstaller not found, skipping test')
sys.exit(0)
- if test_pyinstaller(os.path.join(root_ex, PYINSTALLER_EXAMPLE)):
+ if test_pyinstaller(os.path.join(root_ex, PYINSTALLER_EXAMPLE_2)):
print("\nPyInstaller test successful")
else:
print("\nProblem running PyInstaller")