Home - Summaries: (main) : (py3.11) : Everything - Nightly builds - Benchmarks - RPython - Builders - About

jit/backend/llsupport/test/test_runner.py::TestAbstractLLCPU::()::test_call_to_c_function

self = <rpython.jit.backend.llsupport.test.test_runner.TestAbstractLLCPU object at 0x000001bbd1aba608>

    def test_call_to_c_function(self):
        from rpython.rlib.libffi import CDLL, types, ArgChain, FUNCFLAG_CDECL
        from rpython.rtyper.lltypesystem.ll2ctypes import libc_name
>       libc = CDLL(libc_name)

jit\backend\test\runner_test.py:2701: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
rlib\libffi.py:446: in __init__
    self.lib = dlopen(libname, mode)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

name = 'ucrtbase.dll', mode = -1

    def dlopen(name, mode=-1):
        # mode is unused on windows, but a consistant signature
        if not name:
            raise DLOpenError("cannot use None")
        with rffi.scoped_utf82wcharp(name, codepoints_in_utf8(name)) as buf:
            res = rwin32.LoadLibraryW(buf)
        if not res:
            err = rwin32.GetLastError_saved()
            ustr, lgt = rwin32.FormatErrorW(err)
>           raise DLOpenError(ustr)
E           DLOpenError: 'Teseiidmdl ol o efud\xf2\xa0\x80\x8d\x00\xe9\xa9\x88\xe0\xb4\x80\x01\x00\xeb\x9d\xb0\xc6\xbb\xeb\x94\x80\xe7\xbf\xba \t\x01\x00\x00\x00\xeb\x94\x80\xe7\xbf\xba\xeb\x9d\xb0\xc6\xbb'

rlib\rdynload.py:242: DLOpenError
builder: rpython-win-x86-64 build #399
test: jit/backend/llsupport/test/test_runner/py/TestAbstractLLCPU/()/test_call_to_c_function