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

cffi_tests.embedding.test_tlocal.TestThreadLocal:test_thread_local

self = <extra_tests.cffi_tests.embedding.test_tlocal.TestThreadLocal object at 0x0000022edc9923a0>

    def test_thread_local(self):
        tlocal_cffi = self.prepare_module('tlocal')
        self.compile('tlocal-test', [tlocal_cffi], threads=True)
        for i in range(10):
>           output = self.execute('tlocal-test')

..\build\extra_tests\cffi_tests\embedding\test_tlocal.py:10: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <extra_tests.cffi_tests.embedding.test_tlocal.TestThreadLocal object at 0x0000022edc9923a0>
name = 'tlocal-test'

    def execute(self, name):
        path = self.get_path()
        print('running %r in %r' % (name, path))
        executable_name = name
        if sys.platform == 'win32':
            executable_name = os.path.join(path, executable_name + '.exe')
        else:
            executable_name = os.path.join('.', executable_name)
        popen = self._run_base([executable_name], cwd=path,
                               stdout=subprocess.PIPE,
                               universal_newlines=True)
        result, _ = popen.communicate()
        err = popen.returncode
        if err:
>           raise OSError("%r failed with exit code %r" % (
                os.path.join(path, executable_name), err))
E           OSError: 'D:\\SystemTemp\\ffi-693\\embedding\\test_thread_local\\tlocal-test.exe' failed with exit code 3221225477

..\build\extra_tests\cffi_tests\embedding\test_basic.py:178: OSError
builder: pypy-c-jit-win-x86-64 build #2478+
test: cffi_tests.embedding.test_tlocal.TestThreadLocal:test_thread_local