From 9013a7783f397f4254f534ff16b78daa2d6307b0 Mon Sep 17 00:00:00 2001 From: Yannick Jadoul Date: Fri, 29 Dec 2017 13:33:11 +0100 Subject: [PATCH] Adding a check for Linux to test 06_docker_images's check for the '/dockcross' directory --- test/06_docker_images/setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/06_docker_images/setup.py b/test/06_docker_images/setup.py index 75b922a6..d341d5ff 100644 --- a/test/06_docker_images/setup.py +++ b/test/06_docker_images/setup.py @@ -5,7 +5,7 @@ from setuptools import setup, Extension if sys.argv[-1] != '--name': # check that we're running in the correct docker image as specified in the # environment options CIBW_MANYLINUX1_*_IMAGE - if not os.path.exists('/dockcross'): + if 'linux' in sys.platform and not os.path.exists('/dockcross'): raise Exception('/dockcross directory not found. Is this test running in the correct docker image?') setup(