Permalink
Browse files

test/driver: Fix cross-testing on recent Cygwin

Fixes error:

    Traceback (most recent call last):
      File "driver", line 70, in <module>
        _cygwin = ctypes.CDLL('cygwin1', use_errno=True)
      File "/usr/lib/python2.7/ctypes/__init__.py", line 365, in __init__
        self._handle = _dlopen(self._name, mode)
    OSError: No such file or directory
  • Loading branch information...
bgilbert committed Sep 4, 2016
1 parent 4cd4b83 commit 202659b69e8b0fa0a64606ba98488f7e156dc358
Showing with 1 addition and 1 deletion.
  1. +1 −1 test/driver.in
@@ -66,7 +66,7 @@ SKIP = object()
if '!!CYGWIN_CROSS_TEST!!':
import ctypes
_cygwin = ctypes.CDLL('cygwin1', use_errno=True)
_cygwin = ctypes.CDLL('cygwin1.dll', use_errno=True)
_cygwin_conv_path = _cygwin.cygwin_conv_path
_cygwin_conv_path.argtypes = [ctypes.c_uint, ctypes.c_void_p,
ctypes.c_void_p, ctypes.c_size_t]

0 comments on commit 202659b

Please sign in to comment.