aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@qt.io>2019-04-24 09:41:33 +0200
committerFriedemann Kleint <Friedemann.Kleint@qt.io>2019-04-24 08:59:57 +0000
commit6c472e4d8dc2f80de3bb8db27683957564129570 (patch)
tree7a2d2237f853dae55e148bdb212eb12edc805547
parent05ae61cba5f943eb58343b44f8d474bc88bf0ce4 (diff)
Temporarily disable wheel testing on macOS / Python 2
The test fails for Python 2.16. Change-Id: I457cb3f92306bcdfc315225aa8716ea32d70e375 Reviewed-by: Christian Tismer <tismer@stackless.com>
-rw-r--r--coin_test_instructions.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/coin_test_instructions.py b/coin_test_instructions.py
index f31c35e59..5b08c773e 100644
--- a/coin_test_instructions.py
+++ b/coin_test_instructions.py
@@ -46,6 +46,7 @@ from build_scripts.utils import rmtree
from build_scripts.utils import acceptCITestConfiguration
from build_scripts.utils import get_ci_qmake_path
import os
+import sys
# Values must match COIN thrift
CI_HOST_OS = option_value("os")
@@ -77,8 +78,8 @@ def call_testrunner(python_ver, buildnro):
qmake_path = get_ci_qmake_path(CI_ENV_INSTALL_DIR, CI_HOST_OS)
- # Try to install built wheels, and build some buildable examples.
- if CI_RELEASE_CONF:
+ # Try to install built wheels, and build some buildable examples (except macOS/Python 2.16)
+ if CI_RELEASE_CONF and CI_HOST_OS != 'MacOS' or sys.version_info[0] == 3:
wheel_tester_path = os.path.join("testing", "wheel_tester.py")
cmd = [env_python, wheel_tester_path, qmake_path]
run_instruction(cmd, "Error while running wheel_tester.py")