aboutsummaryrefslogtreecommitdiffstats
path: root/coin_test_instructions.py
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@qt.io>2019-01-22 08:30:41 +0100
committerFriedemann Kleint <Friedemann.Kleint@qt.io>2019-01-22 09:24:18 +0000
commit6b8d0eca48e18394cb1075d3e7ace326a398742e (patch)
treea64d97d4a954b8c9c419c479e6257e073c8923d1 /coin_test_instructions.py
parent77de5fb2d02551eb7563ba1a42c74ad6581815fb (diff)
coin_build/test_instructions.py: Remove environment variables impacting cmake
Remove CC,CXX which might be set by some COIN setup scripts. Change-Id: I33d56dfeb54476edf591fc765a4a4c3c8fe746a6 Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
Diffstat (limited to 'coin_test_instructions.py')
-rw-r--r--coin_test_instructions.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/coin_test_instructions.py b/coin_test_instructions.py
index 4121bb558..7fbe540b4 100644
--- a/coin_test_instructions.py
+++ b/coin_test_instructions.py
@@ -87,6 +87,11 @@ def run_test_instructions():
if not acceptCITestConfiguration(CI_HOST_OS, CI_HOST_OS_VER, CI_TARGET_ARCH, CI_COMPILER):
exit()
+ # Remove some environment variables that impact cmake
+ for env_var in ['CC', 'CXX']:
+ if os.environ.get(env_var):
+ del os.environ[env_var]
+
os.chdir(CI_ENV_AGENT_DIR)
testRun = 0
# We didn't build for Python 2 in win