Adding a check for Linux to test 06_docker_images's check for the '/dockcross' directory
This commit is contained in:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user