Skip to content

Commit

Permalink
test/driver: Fix cross-testing on recent Cygwin
Browse files Browse the repository at this point in the history
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 Nov 22, 2017
1 parent 4cd4b83 commit 202659b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/driver.in
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down

0 comments on commit 202659b

Please sign in to comment.