From a861552bdaddd384749aca3359b9f9da61735a29 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Simo=20F=C3=A4lt?= Date: Thu, 7 Jun 2018 13:23:39 +0300 Subject: Skip building on Windows for Python2 Change-Id: Ie6970361748f5b7dab52a401f6e3cf7995015ee7 Reviewed-by: Alexandru Croitor --- coin_test_instructions.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'coin_test_instructions.py') diff --git a/coin_test_instructions.py b/coin_test_instructions.py index c9c184dd0..ffbf001fa 100644 --- a/coin_test_instructions.py +++ b/coin_test_instructions.py @@ -81,10 +81,14 @@ def run_test_instructions(): exit() os.chdir(CI_ENV_AGENT_DIR) - call_testrunner("", "0") + testRun = 0 + # We didn't build for Python 2 in win + if CI_HOST_OS != "Windows": + call_testrunner("", str(testRun)) + testRun =+ 1 # We know that second build was with python3 if CI_RELEASE_CONF and CI_HOST_OS_VER not in ["RHEL_6_6"]: - call_testrunner("3", "1") + call_testrunner("3", str(testRun)) if __name__ == "__main__": run_test_instructions() -- cgit v1.2.3