aboutsummaryrefslogtreecommitdiffstats
path: root/testing/wheel_tester.py
diff options
context:
space:
mode:
Diffstat (limited to 'testing/wheel_tester.py')
-rw-r--r--testing/wheel_tester.py7
1 files changed, 6 insertions, 1 deletions
diff --git a/testing/wheel_tester.py b/testing/wheel_tester.py
index 24bc890bc..b36ee55a4 100644
--- a/testing/wheel_tester.py
+++ b/testing/wheel_tester.py
@@ -229,7 +229,12 @@ def _run_deploy_test(example, tmpdirname):
raise RuntimeError("Error deploying")
suffix = "exe" if sys.platform == "win32" else "bin"
- binary = f"{tmpdirname}/{main_file.stem}.{suffix}"
+
+ if sys.platform != "darwin":
+ binary = f"{tmpdirname}/{main_file.stem}.{suffix}"
+ else:
+ binary = f"{tmpdirname}/pyside_app_demo.app/Contents/MacOS/{main_file.stem}"
+
if run_process([binary]) != 0:
raise RuntimeError("Error running the deployed example")
return True