virt_test\Scripts\python.exe testrunner/runner.py --logfile=testrun.log --config=pypy/testrunner_cfg.py --config=~/machine_cfg.py --root=rpython --timeout=4000
in dir d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build (timeout 4000 secs)
watching logfiles {'pytestLog': 'testrun.log'}
argv: ['virt_test\\Scripts\\python.exe', 'testrunner/runner.py', '--logfile=testrun.log', '--config=pypy/testrunner_cfg.py', '--config=~/machine_cfg.py', '--root=rpython', '--timeout=4000']
environment:
ALLUSERSPROFILE=C:\ProgramData
APPDATA=C:\Users\matti\AppData\Roaming
ASL.LOG=Destination=file
CHOCOLATEYINSTALL=C:\ProgramData\chocolatey
CHOCOLATEYLASTPATHUPDATE=133185086718935289
CHOCOLATEYTOOLSLOCATION=C:\tools
CLINK_DIR=C:\Program Files (x86)\clink\0.4.9
COMMONPROGRAMFILES=C:\Program Files (x86)\Common Files
COMMONPROGRAMFILES(X86)=C:\Program Files (x86)\Common Files
COMMONPROGRAMW6432=C:\Program Files\Common Files
COMPUTERNAME=DESKTOP-RYZEN
COMSPEC=C:\WINDOWS\system32\cmd.exe
CONDA_BAT=d:\miniconda\condabin\conda.bat
CONDA_EXE=d:\miniconda\Scripts\conda.exe
CONDA_SHLVL=0
CUDA_PATH=C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.7
CUDA_PATH_V11_7=C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.7
DRIVERDATA=C:\Windows\System32\Drivers\DriverData
LOCALAPPDATA=C:\Users\matti\AppData\Local
NUMBER_OF_PROCESSORS=2
NVTOOLSEXT_PATH=C:\Program Files\NVIDIA Corporation\NvToolsExt\
OS=Windows_NT
PATH=d:\CPython27\lib\site-packages\pywin32_system32;d:\pypy_stuff\pypy\externals\bin;D:\CPython27;D:\pypy_stuff\pypy2.7-v7.3.18\Scripts;D:\pypy_stuff\pypy2.7-v7.3.18;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\TortoiseHg\;C:\Program Files\Git\cmd;C:\ProgramData\chocolatey\bin;C:\WINDOWS\System32\OpenSSH
PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC
PROCESSOR_ARCHITECTURE=x86
PROCESSOR_ARCHITEW6432=AMD64
PROCESSOR_IDENTIFIER=AMD64 Family 23 Model 113 Stepping 0, AuthenticAMD
PROCESSOR_LEVEL=23
PROCESSOR_REVISION=7100
PROGRAMDATA=C:\ProgramData
PROGRAMFILES=C:\Program Files (x86)
PROGRAMFILES(X86)=C:\Program Files (x86)
PROGRAMW6432=C:\Program Files
PROMPT=$P$G
PSMODULEPATH=%ProgramFiles%\WindowsPowerShell\Modules;C:\WINDOWS\system32\WindowsPowerShell\v1.0\Modules
PUBLIC=C:\Users\Public
PWD=d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build
PYPYCHERRYPICK=
PYPY_ENABLE_WINCONSOLEIO=1
PYTEST_XDIST_AUTO_NUM_WORKERS=4
PYTHONPATH=.;
RTOOLS40_HOME=C:\rtools40
RTOOLS43_HOME=C:\rtools43
RTOOLS44_HOME=C:\rtools44
SYSTEMDRIVE=C:
SYSTEMROOT=C:\WINDOWS
TEMP=D:\SystemTemp
TMP=D:\SystemTemp
TMPDIR=d:\systemtemp\pytest
USERDOMAIN=DESKTOP-RYZEN
USERNAME=matti
USERPROFILE=C:\Users\matti
VS140COMNTOOLS=C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\Tools\
WINDIR=C:\WINDOWS
using PTY: False
using config pypy/testrunner_cfg.py
using config C:\Users\matti/machine_cfg.py
running 4 parallel test workers
setting MAKEFLAGS to ' ' (space)
-- annotator/test
-- config/test
-- flowspace/test
-- jit/backend/aarch64/test/test_basic.py
-- jit/backend/aarch64/test/test_call.py
-- jit/backend/aarch64/test/test_calling_convention.py
-- jit/backend/aarch64/test/test_del.py
-- jit/backend/aarch64/test/test_dict.py
-- jit/backend/aarch64/test/test_exception.py
-- jit/backend/aarch64/test/test_fficall.py
-- jit/backend/aarch64/test/test_float.py
-- jit/backend/aarch64/test/test_instr_builder.py
-- jit/backend/aarch64/test/test_jitlog.py
-- jit/backend/aarch64/test/test_list.py
-- jit/backend/aarch64/test/test_llop.py
-- jit/backend/aarch64/test/test_loop_unroll.py
-- jit/backend/aarch64/test/test_quasiimmut.py
-- jit/backend/aarch64/test/test_rawmem.py
-- jit/backend/aarch64/test/test_recursive.py
-- jit/backend/aarch64/test/test_runner.py
-- jit/backend/aarch64/test/test_rvmprof.py
-- jit/backend/aarch64/test/test_send.py
-- jit/backend/aarch64/test/test_slist.py
-- jit/backend/aarch64/test/test_string.py
-- jit/backend/aarch64/test/test_tl.py
-- jit/backend/aarch64/test/test_tlc.py
-- jit/backend/aarch64/test/test_virtual.py
-- jit/backend/aarch64/test/test_virtualizable.py
-- jit/backend/aarch64/test/test_virtualref.py
-- jit/backend/aarch64/test/test_zrpy_gc.py
-- jit/backend/aarch64/test/test_zrpy_gc_boehm.py
-- jit/backend/aarch64/test/test_zrpy_releasegil.py
-- jit/backend/aarch64/test/test_zrpy_vmprof.py
-- jit/backend/aarch64/test/test_ztranslation_basic.py
-- jit/backend/aarch64/test/test_ztranslation_call_assembler.py
-- jit/backend/aarch64/test/test_ztranslation_jit_stats.py
-- jit/backend/arm/test
-- jit/backend/llgraph/test
-- jit/backend/llsupport/test
-- jit/backend/ppc/test
-- jit/backend/riscv/test
-- jit/backend/test
-- jit/backend/x86/test/test_assembler.py
-- jit/backend/x86/test/test_basic.py
-- jit/backend/x86/test/test_call.py
-- jit/backend/x86/test/test_callbuilder.py
-- jit/backend/x86/test/test_calling_convention.py
-- jit/backend/x86/test/test_del.py
-- jit/backend/x86/test/test_dict.py
-- jit/backend/x86/test/test_exception.py
-- jit/backend/x86/test/test_fficall.py
-- jit/backend/x86/test/test_float.py
-- jit/backend/x86/test/test_jitlog.py
-- jit/backend/x86/test/test_jump.py
-- jit/backend/x86/test/test_list.py
-- jit/backend/x86/test/test_llop.py
-- jit/backend/x86/test/test_longlong.py
-- jit/backend/x86/test/test_loop_unroll.py
-- jit/backend/x86/test/test_quasiimmut.py
-- jit/backend/x86/test/test_rawmem.py
-- jit/backend/x86/test/test_recursive.py
-- jit/backend/x86/test/test_regalloc.py
-- jit/backend/x86/test/test_regloc.py
-- jit/backend/x86/test/test_runner.py
-- jit/backend/x86/test/test_rvmprof.py
-- jit/backend/x86/test/test_rx86.py
-- jit/backend/x86/test/test_rx86_32_auto_encoding.py
-- jit/backend/x86/test/test_rx86_64_auto_encoding.py
-- jit/backend/x86/test/test_send.py
-- jit/backend/x86/test/test_slist.py
-- jit/backend/x86/test/test_string.py
-- jit/backend/x86/test/test_symbolic_x86.py
-- jit/backend/x86/test/test_tl.py
-- jit/backend/x86/test/test_tlc.py
-- jit/backend/x86/test/test_tracelimit.py
-- jit/backend/x86/test/test_virtual.py
-- jit/backend/x86/test/test_virtualizable.py
-- jit/backend/x86/test/test_virtualref.py
-- jit/backend/x86/test/test_x86vector.py
-- jit/backend/x86/test/test_zmath.py
-- jit/backend/x86/test/test_zrpy_gc.py
-- jit/backend/x86/test/test_zrpy_gc_boehm.py
-- jit/backend/x86/test/test_zrpy_releasegil.py
-- jit/backend/x86/test/test_zrpy_vecopt.py
-- jit/backend/x86/test/test_zrpy_vmprof.py
-- jit/backend/x86/test/test_ztranslation_basic.py
-- jit/backend/x86/test/test_ztranslation_call_assembler.py
-- jit/backend/x86/test/test_ztranslation_external_exception.py
-- jit/backend/x86/test/test_ztranslation_jit_stats.py
-- jit/backend/x86/tool/test/test_viewcode.py
-- jit/backend/zarch/test
-- jit/codewriter/test
-- jit/metainterp/optimizeopt/test/test_costmodel.py
-- jit/metainterp/optimizeopt/test/test_dependency.py
-- jit/metainterp/optimizeopt/test/test_guard.py
-- jit/metainterp/optimizeopt/test/test_intbound.py
-- jit/metainterp/optimizeopt/test/test_intdiv.py
-- jit/metainterp/optimizeopt/test/test_optimizebasic.py
-- jit/metainterp/optimizeopt/test/test_optimizebridge.py
-- jit/metainterp/optimizeopt/test/test_optimizeheap.py
-- jit/metainterp/optimizeopt/test/test_optimizeintbound.py
-- jit/metainterp/optimizeopt/test/test_optimizeopt.py
-- jit/metainterp/optimizeopt/test/test_rawbuffer.py
-- jit/metainterp/optimizeopt/test/test_schedule.py
-- jit/metainterp/optimizeopt/test/test_short.py
-- jit/metainterp/optimizeopt/test/test_unroll.py
-- jit/metainterp/optimizeopt/test/test_util.py
-- jit/metainterp/optimizeopt/test/test_vecopt.py
-- jit/metainterp/optimizeopt/test/test_virtualstate.py
-- jit/metainterp/optimizeopt/test/test_z3checktests.py
-- jit/metainterp/optimizeopt/test/test_z3intbound.py
-- jit/metainterp/ruleopt/test/test_codegen.py
-- jit/metainterp/ruleopt/test/test_parse.py
-- jit/metainterp/ruleopt/test/test_prove.py
-- jit/metainterp/test/test_ajit.py
-- jit/metainterp/test/test_blackhole.py
-- jit/metainterp/test/test_bridgeopt.py
-- jit/metainterp/test/test_bytearray.py
-- jit/metainterp/test/test_call.py
-- jit/metainterp/test/test_compile.py
-- jit/metainterp/test/test_counter.py
-- jit/metainterp/test/test_del.py
-- jit/metainterp/test/test_dict.py
-- jit/metainterp/test/test_exception.py
-- jit/metainterp/test/test_executor.py
-- jit/metainterp/test/test_fficall.py
-- jit/metainterp/test/test_float.py
-- jit/metainterp/test/test_greenfield.py
-- jit/metainterp/test/test_heapcache.py
-- jit/metainterp/test/test_history.py
-- jit/metainterp/test/test_immutable.py
-- jit/metainterp/test/test_jitdriver.py
-- jit/metainterp/test/test_jitiface.py
-- jit/metainterp/test/test_jitprof.py
-- jit/metainterp/test/test_list.py
-- jit/metainterp/test/test_llop.py
-- jit/metainterp/test/test_logger.py
-- jit/metainterp/test/test_longlong.py
-- jit/metainterp/test/test_loop.py
-- jit/metainterp/test/test_loop_unroll.py
-- jit/metainterp/test/test_loop_unroll_disopt.py
-- jit/metainterp/test/test_math.py
-- jit/metainterp/test/test_memmgr.py
-- jit/metainterp/test/test_opencoder.py
-- jit/metainterp/test/test_pyjitpl.py
-- jit/metainterp/test/test_quasiimmut.py
-- jit/metainterp/test/test_rawmem.py
-- jit/metainterp/test/test_recursive.py
-- jit/metainterp/test/test_resoperation.py
-- jit/metainterp/test/test_resume.py
-- jit/metainterp/test/test_resumecode.py
-- jit/metainterp/test/test_send.py
-- jit/metainterp/test/test_slist.py
-- jit/metainterp/test/test_string.py
-- jit/metainterp/test/test_support.py
-- jit/metainterp/test/test_threadlocal.py
-- jit/metainterp/test/test_tl.py
-- jit/metainterp/test/test_tlc.py
-- jit/metainterp/test/test_tracelimit.py
-- jit/metainterp/test/test_tracingopts.py
-- jit/metainterp/test/test_virtual.py
-- jit/metainterp/test/test_virtualizable.py
-- jit/metainterp/test/test_virtualref.py
-- jit/metainterp/test/test_warmspot.py
-- jit/metainterp/test/test_warmstate.py
-- jit/metainterp/test/test_zvector.py
-- jit/tl/test
-- jit/tl/tinyframe/test
-- jit/tl/tla
-- jit/tool/test
-- memory/gc/test
-- memory/gctransform/test
-- memory/test/test_gctypelayout.py
-- memory/test/test_generational_gc.py
-- memory/test/test_growingsemispace_gc.py
-- memory/test/test_hybrid_gc.py
-- memory/test/test_hybrid_gc_smallheap.py
-- memory/test/test_incminimark_gc.py
-- memory/test/test_incminimark_gc_cardmarking.py
-- memory/test/test_lldict.py
-- memory/test/test_minimark_gc.py
-- memory/test/test_minimark_gc_cardmarking.py
-- memory/test/test_semispace_gc.py
-- memory/test/test_support.py
-- memory/test/test_transformed_gc.py
-- rlib/parsing/test/test_deterministic.py
-- rlib/parsing/test/test_ebnfparse.py
-- rlib/parsing/test/test_lexer.py
-- rlib/parsing/test/test_parse.py
-- rlib/parsing/test/test_parseerrors.py
-- rlib/parsing/test/test_pcre_regtest.py
-- rlib/parsing/test/test_pypackrat.py
-- rlib/parsing/test/test_pythonlexer.py
-- rlib/parsing/test/test_pythonparse.py
-- rlib/parsing/test/test_regex.py
-- rlib/parsing/test/test_regexparse.py
-- rlib/parsing/test/test_translate.py
-- rlib/parsing/test/test_translate_lexer.py
-- rlib/parsing/test/test_tree.py
-- rlib/rjitlog/test/test_jitlog.py
-- rlib/rsre/test/test_char.py
-- rlib/rsre/test/test_ext_opcode.py
-- rlib/rsre/test/test_match.py
-- rlib/rsre/test/test_re.py
-- rlib/rsre/test/test_search.py
-- rlib/rsre/test/test_zexternal.py
-- rlib/rsre/test/test_zinterp.py
-- rlib/rsre/test/test_zjit.py
-- rlib/rstrategies/test/test_rstrategies.py
-- rlib/rstruct/test/test_ieee.py
-- rlib/rstruct/test/test_pack.py
-- rlib/rstruct/test/test_runpack.py
-- rlib/rvmprof/test/test_file.py
-- rlib/rvmprof/test/test_rvmprof.py
-- rlib/rvmprof/test/test_support.py
-- rlib/rvmprof/test/test_traceback.py
-- rlib/rvmprof/test/test_ztranslation.py
-- rlib/test/test__jit_vref.py
-- rlib/test/test_buffer.py
-- rlib/test/test_cache.py
-- rlib/test/test_clibffi.py
-- rlib/test/test_compilerinfo.py
-- rlib/test/test_debug.py
-- rlib/test/test_jit.py
-- rlib/test/test_jit_libffi.py
-- rlib/test/test_libffi.py
-- rlib/test/test_listsort.py
-- rlib/test/test_longlong2float.py
-- rlib/test/test_mutbuffer.py
-- rlib/test/test_nonconst.py
-- rlib/test/test_objectmodel.py
-- rlib/test/test_posix.py
-- rlib/test/test_rStringIO.py
-- rlib/test/test_rarithmetic.py
-- rlib/test/test_rawrefcount.py
-- rlib/test/test_rawrefcount_boehm.py
-- rlib/test/test_rawstorage.py
-- rlib/test/test_rbigint.py
-- rlib/test/test_rbisect.py
-- rlib/test/test_rcomplex.py
-- rlib/test/test_rdtoa.py
-- rlib/test/test_rdynload.py
-- rlib/test/test_rerased.py
-- rlib/test/test_rfile.py
-- rlib/test/test_rfloat.py
-- rlib/test/test_rgc.py
-- rlib/test/test_rgil.py
-- rlib/test/test_rlocale.py
-- rlib/test/test_rmarshal.py
-- rlib/test/test_rmd5.py
-- rlib/test/test_rmmap.py
-- rlib/test/test_rope.py
-- rlib/test/test_rpath.py
-- rlib/test/test_rpoll.py
-- rlib/test/test_rposix.py
-- rlib/test/test_rposix_environ.py
-- rlib/test/test_rposix_scandir.py
-- rlib/test/test_rposix_stat.py
-- rlib/test/test_rrandom.py
-- rlib/test/test_rrawarray.py
-- rlib/test/test_rsha.py
-- rlib/test/test_rshrinklist.py
-- rlib/test/test_rsignal.py
-- rlib/test/test_rsiphash.py
-- rlib/test/test_rsocket.py
-- rlib/test/test_rstacklet.py
-- rlib/test/test_rstackovf.py
-- rlib/test/test_rstring.py
-- rlib/test/test_rtermios.py
-- rlib/test/test_rthread.py
-- rlib/test/test_rtime.py
-- rlib/test/test_rtimer.py
-- rlib/test/test_runicode.py
-- rlib/test/test_rurandom.py
-- rlib/test/test_rutf8.py
-- rlib/test/test_rweakkeydict.py
-- rlib/test/test_rweaklist.py
-- rlib/test/test_rweakref.py
-- rlib/test/test_rweakvaldict.py
-- rlib/test/test_rwin32.py
-- rlib/test/test_rzipfile.py
-- rlib/test/test_rzlib.py
-- rlib/test/test_signature.py
-- rlib/test/test_streamio.py
-- rlib/test/test_z3.py
-- rlib/unicodedata/test/test_codegen.py
-- rlib/unicodedata/test/test_dawg.py
-- rlib/unicodedata/test/test_ucd.py
-- rlib/unicodedata/test/test_unicodedata.py
-- rtyper/lltypesystem/module/test
-- rtyper/lltypesystem/test
-- rtyper/test
-- rtyper/tool/test
-- tool/algo/test
-- tool/cparser/test
-- tool/jitlogparser/test
-- tool/pytest/test
-- tool/test
-- translator/backendopt/test
-- translator/c/test/test_backendoptimized.py
-- translator/c/test/test_boehm.py
-- translator/c/test/test_database.py
-- translator/c/test/test_exception.py
-- translator/c/test/test_extfunc.py
-- translator/c/test/test_genc.py
-- translator/c/test/test_lladdresses.py
-- translator/c/test/test_llop.py
-- translator/c/test/test_lltyped.py
-- translator/c/test/test_math.py
-- translator/c/test/test_newgc.py
-- translator/c/test/test_refcount.py
-- translator/c/test/test_rtagged.py
-- translator/c/test/test_standalone.py
-- translator/c/test/test_standalone_print_function.py
-- translator/c/test/test_support.py
-- translator/c/test/test_symbolic.py
-- translator/c/test/test_typed.py
-- translator/platform/arch/test
-- translator/platform/test
-- translator/sandbox/test
-- translator/test
-- translator/tool/test
-- total: 322 to run
++ 02:30:49 starting annotator/test [1 started in total]
++ 02:30:49 starting config/test [2 started in total]
++ 02:30:49 starting flowspace/test [3 started in total]
++ 02:30:49 starting jit/backend/aarch64/test/test_basic.py [4 started in total]
__ jit/backend/aarch64/test/test_basic.py [1 done in total, somefailed=False] _
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 0 items / 1 skipped
========================== 1 skipped in 0.02 seconds ==========================
++ 02:31:56 starting jit/backend/aarch64/test/test_call.py [5 started in total]
__ flowspace/test [2 done in total, somefailed=False] _________________________
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 162 items
flowspace\test\test_argument.py .....
flowspace\test\test_checkgraph.py ........
flowspace\test\test_flowcontext.py .....
flowspace\test\test_framestate.py ..........
flowspace\test\test_generator.py .....
flowspace\test\test_model.py .........
flowspace\test\test_objspace.py .............................................................xx...................xx..x................
flowspace\test\test_objspace_py2.py ....
flowspace\test\test_print_function.py .........
flowspace\test\test_unroll.py ....
=================== 157 passed, 5 xfailed in 47.78 seconds ====================
++ 02:31:56 starting jit/backend/aarch64/test/test_calling_convention.py [6 started in total]
__ jit/backend/aarch64/test/test_call.py [3 done in total, somefailed=False] __
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 0 items / 1 skipped
========================== 1 skipped in 0.01 seconds ==========================
++ 02:32:01 starting jit/backend/aarch64/test/test_del.py [7 started in total]
__ jit/backend/aarch64/test/test_calling_convention.py [4 done in total, somefailed=False]
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 0 items / 1 skipped
========================== 1 skipped in 0.01 seconds ==========================
++ 02:32:02 starting jit/backend/aarch64/test/test_dict.py [8 started in total]
__ config/test [5 done in total, somefailed=False] ____________________________
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.py
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 43 items
config\test\test_config.py ....................................
config\test\test_parse.py ..
config\test\test_support.py sss
config\test\test_translationoption.py ..
==================== 40 passed, 3 skipped in 59.32 seconds ====================
++ 02:32:03 starting jit/backend/aarch64/test/test_exception.py [9 started in total]
__ jit/backend/aarch64/test/test_dict.py [6 done in total, somefailed=False] __
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 0 items / 1 skipped
========================== 1 skipped in 0.01 seconds ==========================
++ 02:32:09 starting jit/backend/aarch64/test/test_fficall.py [10 started in total]
__ jit/backend/aarch64/test/test_del.py [7 done in total, somefailed=False] ___
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 0 items / 1 skipped
========================== 1 skipped in 0.01 seconds ==========================
++ 02:32:09 starting jit/backend/aarch64/test/test_float.py [11 started in total]
__ jit/backend/aarch64/test/test_exception.py [8 done in total, somefailed=False]
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 0 items / 1 skipped
========================== 1 skipped in 0.02 seconds ==========================
++ 02:32:09 starting jit/backend/aarch64/test/test_instr_builder.py [12 started in total]
__ jit/backend/aarch64/test/test_float.py [9 done in total, somefailed=False] _
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 0 items / 1 skipped
========================== 1 skipped in 0.02 seconds ==========================
++ 02:32:16 starting jit/backend/aarch64/test/test_jitlog.py [13 started in total]
__ jit/backend/aarch64/test/test_fficall.py [10 done in total, somefailed=False]
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 0 items / 1 skipped
========================== 1 skipped in 0.02 seconds ==========================
++ 02:32:16 starting jit/backend/aarch64/test/test_list.py [14 started in total]
__ jit/backend/aarch64/test/test_instr_builder.py [11 done in total, somefailed=False]
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 0 items / 1 skipped
========================== 1 skipped in 0.01 seconds ==========================
++ 02:32:16 starting jit/backend/aarch64/test/test_llop.py [15 started in total]
__ jit/backend/aarch64/test/test_jitlog.py [12 done in total, somefailed=False]
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 0 items / 1 skipped
========================== 1 skipped in 0.01 seconds ==========================
++ 02:32:22 starting jit/backend/aarch64/test/test_loop_unroll.py [16 started in total]
__ jit/backend/aarch64/test/test_list.py [13 done in total, somefailed=False] _
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 0 items / 1 skipped
========================== 1 skipped in 0.01 seconds ==========================
++ 02:32:23 starting jit/backend/aarch64/test/test_quasiimmut.py [17 started in total]
__ jit/backend/aarch64/test/test_llop.py [14 done in total, somefailed=False] _
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 0 items / 1 skipped
========================== 1 skipped in 0.02 seconds ==========================
++ 02:32:24 starting jit/backend/aarch64/test/test_rawmem.py [18 started in total]
__ jit/backend/aarch64/test/test_quasiimmut.py [15 done in total, somefailed=False]
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 0 items / 1 skipped
========================== 1 skipped in 0.03 seconds ==========================
++ 02:32:29 starting jit/backend/aarch64/test/test_recursive.py [19 started in total]
__ jit/backend/aarch64/test/test_loop_unroll.py [16 done in total, somefailed=False]
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 0 items / 1 skipped
========================== 1 skipped in 0.02 seconds ==========================
++ 02:32:29 starting jit/backend/aarch64/test/test_runner.py [20 started in total]
__ jit/backend/aarch64/test/test_rawmem.py [17 done in total, somefailed=False]
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 0 items / 1 skipped
========================== 1 skipped in 0.02 seconds ==========================
++ 02:32:30 starting jit/backend/aarch64/test/test_rvmprof.py [21 started in total]
__ jit/backend/aarch64/test/test_runner.py [18 done in total, somefailed=False]
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 0 items / 1 skipped
========================== 1 skipped in 0.03 seconds ==========================
++ 02:32:35 starting jit/backend/aarch64/test/test_send.py [22 started in total]
__ jit/backend/aarch64/test/test_recursive.py [19 done in total, somefailed=False]
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 0 items / 1 skipped
========================== 1 skipped in 0.01 seconds ==========================
++ 02:32:37 starting jit/backend/aarch64/test/test_slist.py [23 started in total]
__ jit/backend/aarch64/test/test_rvmprof.py [20 done in total, somefailed=False]
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 0 items / 1 skipped
========================== 1 skipped in 0.01 seconds ==========================
++ 02:32:37 starting jit/backend/aarch64/test/test_string.py [24 started in total]
__ jit/backend/aarch64/test/test_send.py [21 done in total, somefailed=False] _
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 0 items / 1 skipped
========================== 1 skipped in 0.02 seconds ==========================
++ 02:32:43 starting jit/backend/aarch64/test/test_tl.py [25 started in total]
__ jit/backend/aarch64/test/test_slist.py [22 done in total, somefailed=False]
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 0 items / 1 skipped
========================== 1 skipped in 0.08 seconds ==========================
++ 02:32:43 starting jit/backend/aarch64/test/test_tlc.py [26 started in total]
__ jit/backend/aarch64/test/test_string.py [23 done in total, somefailed=False]
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 0 items / 1 skipped
========================== 1 skipped in 0.01 seconds ==========================
++ 02:32:45 starting jit/backend/aarch64/test/test_virtual.py [27 started in total]
__ jit/backend/aarch64/test/test_tl.py [24 done in total, somefailed=False] ___
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 0 items / 1 skipped
========================== 1 skipped in 0.02 seconds ==========================
++ 02:32:49 starting jit/backend/aarch64/test/test_virtualizable.py [28 started in total]
__ jit/backend/aarch64/test/test_tlc.py [25 done in total, somefailed=False] __
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 0 items / 1 skipped
========================== 1 skipped in 0.01 seconds ==========================
++ 02:32:50 starting jit/backend/aarch64/test/test_virtualref.py [29 started in total]
__ jit/backend/aarch64/test/test_virtual.py [26 done in total, somefailed=False]
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 0 items / 1 skipped
========================== 1 skipped in 0.02 seconds ==========================
++ 02:32:50 starting jit/backend/aarch64/test/test_zrpy_gc.py [30 started in total]
__ jit/backend/aarch64/test/test_virtualizable.py [27 done in total, somefailed=False]
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 0 items / 1 skipped
========================== 1 skipped in 0.01 seconds ==========================
++ 02:32:56 starting jit/backend/aarch64/test/test_zrpy_gc_boehm.py [31 started in total]
__ jit/backend/aarch64/test/test_zrpy_gc.py [28 done in total, somefailed=False]
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 0 items / 1 skipped
========================== 1 skipped in 0.02 seconds ==========================
++ 02:32:56 starting jit/backend/aarch64/test/test_zrpy_releasegil.py [32 started in total]
__ jit/backend/aarch64/test/test_virtualref.py [29 done in total, somefailed=False]
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 0 items / 1 skipped
========================== 1 skipped in 0.01 seconds ==========================
++ 02:32:57 starting jit/backend/aarch64/test/test_zrpy_vmprof.py [33 started in total]
__ jit/backend/aarch64/test/test_zrpy_vmprof.py [30 done in total, somefailed=False]
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 0 items / 1 skipped
========================== 1 skipped in 0.02 seconds ==========================
++ 02:33:03 starting jit/backend/aarch64/test/test_ztranslation_basic.py [34 started in total]
__ jit/backend/aarch64/test/test_zrpy_gc_boehm.py [31 done in total, somefailed=False]
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 0 items / 1 skipped
========================== 1 skipped in 0.04 seconds ==========================
++ 02:33:03 starting jit/backend/aarch64/test/test_ztranslation_call_assembler.py [35 started in total]
__ jit/backend/aarch64/test/test_zrpy_releasegil.py [32 done in total, somefailed=False]
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 0 items / 1 skipped
========================== 1 skipped in 0.02 seconds ==========================
++ 02:33:03 starting jit/backend/aarch64/test/test_ztranslation_jit_stats.py [36 started in total]
__ jit/backend/aarch64/test/test_ztranslation_call_assembler.py [33 done in total, somefailed=False]
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 0 items / 1 skipped
========================== 1 skipped in 0.02 seconds ==========================
++ 02:33:09 starting jit/backend/arm/test [37 started in total]
__ jit/backend/aarch64/test/test_ztranslation_basic.py [34 done in total, somefailed=False]
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 0 items / 1 skipped
========================== 1 skipped in 0.02 seconds ==========================
++ 02:33:10 starting jit/backend/llgraph/test [38 started in total]
__ jit/backend/aarch64/test/test_ztranslation_jit_stats.py [35 done in total, somefailed=False]
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 0 items / 1 skipped
========================== 1 skipped in 0.01 seconds ==========================
++ 02:33:11 starting jit/backend/llsupport/test [39 started in total]
__ jit/backend/arm/test [36 done in total, somefailed=False] __________________
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 0 items
======================== no tests ran in 0.04 seconds =========================
++ 02:33:16 starting jit/backend/ppc/test [40 started in total]
__ jit/backend/ppc/test [37 done in total, somefailed=False] __________________
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 0 items
======================== no tests ran in 0.02 seconds =========================
++ 02:33:22 starting jit/backend/riscv/test [41 started in total]
__ jit/backend/riscv/test [38 done in total, somefailed=False] ________________
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 0 items
======================== no tests ran in 0.01 seconds =========================
++ 02:33:29 starting jit/backend/test [42 started in total]
__ jit/backend/llgraph/test [39 done in total, somefailed=False] ______________
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 156 items
jit\backend\llgraph\test\test_llgraph.py ss...............................................................................sss..........s.sssss......s.............ss..s.....s.........s.....s........
=================== 138 passed, 18 skipped in 31.43 seconds ===================
++ 02:33:49 starting jit/backend/x86/test/test_assembler.py [43 started in total]
__ jit/backend/x86/test/test_assembler.py [40 done in total, somefailed=False]
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 3 items
jit\backend\x86\test\test_assembler.py ...
========================== 3 passed in 11.80 seconds ==========================
++ 02:34:07 starting jit/backend/x86/test/test_basic.py [44 started in total]
__ jit/backend/llsupport/test [41 done in total, somefailed=False] ____________
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 420 items
jit\backend\llsupport\test\test_asmmemmgr.py ...........s...
jit\backend\llsupport\test\test_codemap.py .s
jit\backend\llsupport\test\test_descr.py ....s....s............
jit\backend\llsupport\test\test_ffisupport.py .
jit\backend\llsupport\test\test_gc.py .............
jit\backend\llsupport\test\test_gc_integration.py ..............s......
jit\backend\llsupport\test\test_gcreftracer.py ...
jit\backend\llsupport\test\test_recompilation.py .....
jit\backend\llsupport\test\test_regalloc.py ...............................................s.
jit\backend\llsupport\test\test_regalloc_integration.py ...........................ssssss
jit\backend\llsupport\test\test_rewrite.py ...........................................................................................
jit\backend\llsupport\test\test_runner.py ssssssssssssss.sssssssssssssssss.ss..sssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss..sssssss.s.s.s.s.ssssssssssssssssssssssssssssssssssss
jit\backend\llsupport\test\test_skiplist.py .
jit\backend\llsupport\test\test_symbolic.py ......
jit\backend\llsupport\test\test_zrpy_gc_direct.py ..
================== 263 passed, 157 skipped in 398.65 seconds ==================
++ 02:40:01 starting jit/backend/x86/test/test_call.py [45 started in total]
__ jit/backend/x86/test/test_call.py [42 done in total, somefailed=False] _____
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 16 items
jit\backend\x86\test\test_call.py ................
========================= 16 passed in 37.47 seconds ==========================
++ 02:40:53 starting jit/backend/x86/test/test_callbuilder.py [46 started in total]
__ jit/backend/x86/test/test_callbuilder.py [43 done in total, somefailed=False]
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 2 items
jit\backend\x86\test\test_callbuilder.py ..
========================== 2 passed in 8.05 seconds ===========================
++ 02:41:11 starting jit/backend/x86/test/test_calling_convention.py [47 started in total]
__ jit/backend/x86/test/test_calling_convention.py [44 done in total, somefailed=False]
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 7 items
jit\backend\x86\test\test_calling_convention.py .......
========================== 7 passed in 63.55 seconds ==========================
++ 02:42:34 starting jit/backend/x86/test/test_del.py [48 started in total]
__ jit/backend/x86/test/test_del.py [45 done in total, somefailed=False] ______
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 3 items
jit\backend\x86\test\test_del.py ...
========================== 3 passed in 27.97 seconds ==========================
++ 02:43:13 starting jit/backend/x86/test/test_dict.py [49 started in total]
__ jit/backend/x86/test/test_dict.py [46 done in total, somefailed=False] _____
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 20 items
jit\backend\x86\test\test_dict.py ....................
========================= 20 passed in 126.06 seconds =========================
++ 02:45:33 starting jit/backend/x86/test/test_exception.py [50 started in total]
__ jit/backend/test [47 done in total, somefailed=False] ______________________
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 12 items
jit\backend\test\test_detect_cpu.py .....
jit\backend\test\test_ll_random.py .
jit\backend\test\test_model.py .
jit\backend\test\test_random.py .
jit\backend\test\test_zll_stress_0.py .
jit\backend\test\test_zll_stress_1.py .
jit\backend\test\test_zll_stress_2.py .
jit\backend\test\test_zll_stress_3.py .
========================= 12 passed in 815.18 seconds =========================
++ 02:47:14 starting jit/backend/x86/test/test_fficall.py [51 started in total]
__ jit/backend/x86/test/test_exception.py [48 done in total, somefailed=False]
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 32 items
jit\backend\x86\test\test_exception.py s...............................
==================== 31 passed, 1 skipped in 85.80 seconds ====================
++ 02:47:24 starting jit/backend/x86/test/test_float.py [52 started in total]
__ jit/backend/x86/test/test_basic.py [49 done in total, somefailed=False] ____
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 194 items
jit\backend\x86\test\test_basic.py .s...........................................................................................................................................s................s..............s...........s........
=================== 189 passed, 5 skipped in 810.34 seconds ===================
++ 02:47:52 starting jit/backend/x86/test/test_jitlog.py [53 started in total]
__ jit/backend/x86/test/test_float.py [50 done in total, somefailed=False] ____
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 10 items
jit\backend\x86\test\test_float.py ..........
========================= 10 passed in 24.74 seconds ==========================
++ 02:47:57 starting jit/backend/x86/test/test_jump.py [54 started in total]
__ jit/backend/x86/test/test_jitlog.py [51 done in total, somefailed=False] ___
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 0 items / 1 skipped
========================== 1 skipped in 5.38 seconds ==========================
++ 02:48:04 starting jit/backend/x86/test/test_list.py [55 started in total]
__ jit/backend/x86/test/test_fficall.py [52 done in total, somefailed=False] __
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 12 items
jit\backend\x86\test\test_fficall.py ...s........
==================== 11 passed, 1 skipped in 60.35 seconds ====================
++ 02:48:21 starting jit/backend/x86/test/test_llop.py [56 started in total]
__ jit/backend/x86/test/test_jump.py [53 done in total, somefailed=False] _____
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 12 items
jit\backend\x86\test\test_jump.py ............
========================= 12 passed in 26.69 seconds ==========================
++ 02:48:31 starting jit/backend/x86/test/test_longlong.py [57 started in total]
__ jit/backend/x86/test/test_llop.py [54 done in total, somefailed=False] _____
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 5 items
jit\backend\x86\test\test_llop.py .....
========================== 5 passed in 18.55 seconds ==========================
++ 02:48:45 starting jit/backend/x86/test/test_loop_unroll.py [58 started in total]
__ jit/backend/x86/test/test_longlong.py [55 done in total, somefailed=False] _
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 14 items
jit\backend\x86\test\test_longlong.py ssssssssssssss
========================= 14 skipped in 7.12 seconds ==========================
++ 02:48:46 starting jit/backend/x86/test/test_quasiimmut.py [59 started in total]
__ jit/backend/x86/test/test_list.py [56 done in total, somefailed=False] _____
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 23 items
jit\backend\x86\test\test_list.py ...s...................
==================== 22 passed, 1 skipped in 50.52 seconds ====================
++ 02:49:04 starting jit/backend/x86/test/test_rawmem.py [60 started in total]
__ jit/backend/x86/test/test_quasiimmut.py [57 done in total, somefailed=False]
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 20 items
jit\backend\x86\test\test_quasiimmut.py ..............s.....
==================== 19 passed, 1 skipped in 32.49 seconds ====================
++ 02:49:31 starting jit/backend/x86/test/test_recursive.py [61 started in total]
__ jit/backend/x86/test/test_rawmem.py [58 done in total, somefailed=False] ___
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 7 items
jit\backend\x86\test\test_rawmem.py .......
========================== 7 passed in 15.64 seconds ==========================
++ 02:49:33 starting jit/backend/x86/test/test_regalloc.py [62 started in total]
__ jit/backend/x86/test/test_regalloc.py [59 done in total, somefailed=False] _
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 19 items
jit\backend\x86\test\test_regalloc.py ....s........s.....
==================== 17 passed, 2 skipped in 7.15 seconds =====================
++ 02:49:48 starting jit/backend/x86/test/test_regloc.py [63 started in total]
__ jit/backend/x86/test/test_regloc.py [60 done in total, somefailed=False] ___
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 25 items
jit\backend\x86\test\test_regloc.py ....s..................s.
==================== 23 passed, 2 skipped in 10.86 seconds ====================
++ 02:50:10 starting jit/backend/x86/test/test_runner.py [64 started in total]
__ jit/backend/x86/test/test_loop_unroll.py [61 done in total, somefailed=False]
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 37 items
jit\backend\x86\test\test_loop_unroll.py ..............................ss.s...
=================== 34 passed, 3 skipped in 100.22 seconds ====================
++ 02:50:36 starting jit/backend/x86/test/test_rvmprof.py [65 started in total]
__ jit/backend/x86/test/test_rvmprof.py [62 done in total, somefailed=False] __
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 0 items / 1 skipped
========================== 1 skipped in 8.04 seconds ==========================
++ 02:51:09 starting jit/backend/x86/test/test_rx86.py [66 started in total]
__ annotator/test [63 done in total, somefailed=False] ________________________
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 697 items
annotator\test\test_annrpython.py ......................................................................................x..........................................................................................................................................x........................................................................................xx.............
annotator\test\test_annrpython_py2.py ...
annotator\test\test_annsimplifyrpython.py ......................................................................................x..........................................................................................................................................x........................................................................................xx................
annotator\test\test_argument.py ......
annotator\test\test_description.py ...
annotator\test\test_model.py ..........X.x..........
annotator\test\test_signature.py .
============= 687 passed, 9 xfailed, 1 xpassed in 1207.90 seconds =============
++ 02:51:12 starting jit/backend/x86/test/test_rx86_32_auto_encoding.py [67 started in total]
__ jit/backend/x86/test/test_rx86.py [64 done in total, somefailed=False] _____
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 34 items
jit\backend\x86\test\test_rx86.py ..................................
========================== 34 passed in 0.12 seconds ==========================
++ 02:51:17 starting jit/backend/x86/test/test_rx86_64_auto_encoding.py [68 started in total]
__ jit/backend/x86/test/test_rx86_32_auto_encoding.py [65 done in total, somefailed=False]
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
The system cannot find the path specified.
collected 0 items / 1 skipped
========================== 1 skipped in 0.37 seconds ==========================
++ 02:51:30 starting jit/backend/x86/test/test_send.py [69 started in total]
__ jit/backend/x86/test/test_rx86_64_auto_encoding.py [66 done in total, somefailed=False]
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
The system cannot find the path specified.
collected 1 items / 1 skipped
jit\backend\x86\test\test_rx86_64_auto_encoding.py s
========================== 2 skipped in 0.57 seconds ==========================
++ 02:51:35 starting jit/backend/x86/test/test_slist.py [70 started in total]
__ jit/backend/x86/test/test_slist.py [67 done in total, somefailed=False] ____
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 6 items
jit\backend\x86\test\test_slist.py s.....
==================== 5 passed, 1 skipped in 23.08 seconds =====================
++ 02:52:21 starting jit/backend/x86/test/test_string.py [71 started in total]
__ jit/backend/x86/test/test_recursive.py [68 done in total, somefailed=True] _
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 42 items
jit\backend\x86\test\test_recursive.py ................s........s..............sF
================================== FAILURES ===================================
___________ TestRecursive.test_tco_doesnt_lead_to_infinite_tracing ____________
self = <rpython.jit.backend.x86.test.test_recursive.TestRecursive instance at 0x000002017e699f20>
def test_tco_doesnt_lead_to_infinite_tracing(self):
import multiprocessing
# this is super annoying to test too! since we have stack overflows in
# the llinterp, sort of random things can happen, depending on how much
# code in llinterp and pyjitpl are already jitted. therefore we run the
# function in a subprocess.
import subprocess, sys, os
env = os.environ.copy()
env["PYTHONPATH"] = os.pathsep.join(sys.path)
> subprocess.check_output("%s %s" % (sys.executable, __file__), shell=True, env=env)
jit\metainterp\test\test_recursive.py:1369:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
popenargs = ('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\virt_test\\Scripts\\python.exe d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\jit\\metainterp\\test\\test_recursive.py',)
kwargs = {'env': {'ALLUSERSPROFILE': 'C:\\ProgramData', 'APPDATA': 'C:\\Users\\matti\\AppData\\Roaming', 'ASL.LOG': 'Destination=file', 'CHOCOLATEYINSTALL': 'C:\\ProgramData\\chocolatey', ...}, 'shell': True}
process = <subprocess.Popen object at 0x0000020101526100>
output = "~~~ Crash in JIT!\r\n~~~ <type 'exceptions.AssertionError'>: \r\n> d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\rlib\\rgil.py(131)release()\r\n-> assert self._tid == self._get_ident()\r\n(Pdb) \r\n"
unused_err = None, retcode = 1
cmd = 'd:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\virt_test\\Scripts\\python.exe d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\jit\\metainterp\\test\\test_recursive.py'
def check_output(*popenargs, **kwargs):
r"""Run command with arguments and return its output as a byte string.
If the exit code was non-zero it raises a CalledProcessError. The
CalledProcessError object will have the return code in the returncode
attribute and output in the output attribute.
The arguments are the same as for the Popen constructor. Example:
>>> check_output(["ls", "-l", "/dev/null"])
'crw-rw-rw- 1 root root 1, 3 Oct 18 2007 /dev/null\n'
The stdout argument is not allowed as it is used internally.
To capture standard error in the result, use stderr=STDOUT.
>>> check_output(["/bin/sh", "-c",
... "ls -l non_existent_file ; exit 0"],
... stderr=STDOUT)
'ls: non_existent_file: No such file or directory\n'
"""
if 'stdout' in kwargs:
raise ValueError('stdout argument not allowed, it will be overridden.')
process = Popen(stdout=PIPE, *popenargs, **kwargs)
output, unused_err = process.communicate()
retcode = process.poll()
if retcode:
cmd = kwargs.get("args")
if cmd is None:
cmd = popenargs[0]
> raise CalledProcessError(retcode, cmd, output=output)
E CalledProcessError: Command 'd:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\virt_test\Scripts\python.exe d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython\jit\metainterp\test\test_recursive.py' returned non-zero exit status 1
d:\pypy_stuff\pypy2.7-v7.3.18\lib-python\2.7\subprocess.py:223: CalledProcessError
---------------------------- Captured stderr call -----------------------------
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Updated environment with vsver 160, using x64 True
[rtyper] -=- specialized 12 blocks -=-
[rtyper] -=- specialized 4 more blocks -=-
[rtyper] -=- specialized 2 more blocks -=-
[rtyper] -=- specialized 7 more blocks -=-
[rtyper] -=- specialized 6 more blocks -=-
[rtyper] -=- specialized 19 more blocks -=-
[rtyper] -=- specialized 12 more blocks -=-
[rtyper] -=- specialized 3 more blocks -=-
[jitcodewriter:info] making JitCodes...
[jitcodewriter:info] There are 2 JitCode instances.
[jitcodewriter:info] There are 6 -live- ops. Size of liveness is 4 bytes
[jitcodewriter] compute_bitstrings:
[jitcodewriter] 0 effectinfos:
[jitcodewriter] 0 descrs for arrays
[jitcodewriter] 0 descrs for fields
[jitcodewriter] 0 descrs for interiorfields
Traceback (most recent call last):
File "d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython\jit\metainterp\test\test_recursive.py", line 1410, in _run
tco_doesnt_lead_to_infinite_tracing()
File "d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython\jit\metainterp\test\test_recursive.py", line 1394, in tco_doesnt_lead_to_infinite_tracing
res = self.meta_interp(g, [4])
File "d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython\jit\metainterp\test\support.py", line 265, in meta_interp
return ll_meta_interp(*args, **kwds)
File "d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython\jit\metainterp\warmspot.py", line 89, in ll_meta_interp
return jittify_and_run(interp, graph, args, backendopt=backendopt, **kwds)
File "d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython\jit\metainterp\warmspot.py", line 127, in jittify_and_run
res = interp.eval_graph(graph, args)
File "d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython\rtyper\llinterp.py", line 97, in eval_graph
retval = llframe.eval()
File "d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython\rtyper\llinterp.py", line 295, in eval
nextblock, args = self.eval_block(nextblock)
File "d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython\rtyper\llinterp.py", line 319, in eval_block
self.eval_operation(op)
File "d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython\rtyper\llinterp.py", line 422, in eval_operation
retval = ophandler(*vals)
File "d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython\rtyper\llinterp.py", line 697, in op_direct_call
return self.perform_call(f, FTYPE.ARGS, args)
File "d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython\rtyper\llinterp.py", line 684, in perform_call
return self.invoke_callable_with_pyexceptions(f, *args)
File "d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython\rtyper\llinterp.py", line 507, in invoke_callable_with_pyexceptions
self.make_llexception()
File "d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython\rtyper\llinterp.py", line 491, in invoke_callable_with_pyexceptions
return obj._callable(*args)
File "d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython\jit\metainterp\warmspot.py", line 954, in ll_portal_runner
portal_ptr)(*args)
File "d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython\jit\codewriter\support.py", line 163, in on_top_of_llinterp
return llinterp.eval_graph(funcobj.graph, list(args))
File "d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython\rtyper\llinterp.py", line 97, in eval_graph
retval = llframe.eval()
File "d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython\rtyper\llinterp.py", line 295, in eval
nextblock, args = self.eval_block(nextblock)
File "d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython\rtyper\llinterp.py", line 319, in eval_block
self.eval_operation(op)
File "d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython\rtyper\llinterp.py", line 422, in eval_operation
retval = ophandler(*vals)
File "d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython\rtyper\llinterp.py", line 697, in op_direct_call
return self.perform_call(f, FTYPE.ARGS, args)
File "d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython\rtyper\llinterp.py", line 684, in perform_call
return self.invoke_callable_with_pyexceptions(f, *args)
File "d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython\rtyper\llinterp.py", line 507, in invoke_callable_with_pyexceptions
self.make_llexception()
File "d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython\rtyper\llinterp.py", line 491, in invoke_callable_with_pyexceptions
return obj._callable(*args)
File "d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython\jit\metainterp\warmspot.py", line 581, in maybe_enter_jit
crash_in_jit(e)
File "d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython\jit\metainterp\warmspot.py", line 579, in maybe_enter_jit
maybe_compile_and_run(state.increment_threshold, *args)
File "d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython\jit\metainterp\warmstate.py", line 468, in maybe_compile_and_run
bound_reached(hash, None, *args)
File "d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython\jit\metainterp\warmstate.py", line 442, in bound_reached
metainterp.compile_and_run_once(jitdriver_sd, *args)
File "d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython\jit\metainterp\pyjitpl.py", line 2889, in compile_and_run_once
self.staticdata._setup_once()
File "d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython\jit\metainterp\pyjitpl.py", line 2295, in _setup_once
self.jitlog.setup_once()
File "d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython\rlib\rjitlog\rjitlog.py", line 350, in setup_once
jitlog_try_init_using_env()
File "d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython\rtyper\lltypesystem\rffi.py", line 321, in wrapper
res = call_external_function(*real_args)
File "<17-codegen d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython\rtyper\lltypesystem\rffi.py:217>", line 4, in call_external_function
rgil.release()
File "d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython\rlib\rgil.py", line 167, in release
_emulated_gil_holder.release()
File "d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython\rlib\rgil.py", line 131, in release
assert self._tid == self._get_ident()
AssertionError
=========================== short test summary info ===========================
FAIL jit/backend/x86/test/test_recursive.py::TestRecursive::()::test_tco_doesnt_lead_to_infinite_tracing
============== 1 failed, 38 passed, 3 skipped in 169.09 seconds ===============
++ 02:52:34 starting jit/backend/x86/test/test_symbolic_x86.py [72 started in total]
__ jit/backend/x86/test/test_symbolic_x86.py [69 done in total, somefailed=False]
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 6 items
jit\backend\x86\test\test_symbolic_x86.py ......
========================== 6 passed in 0.03 seconds ===========================
++ 02:52:47 starting jit/backend/x86/test/test_tl.py [73 started in total]
__ jit/backend/x86/test/test_send.py [70 done in total, somefailed=False] _____
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 23 items
jit\backend\x86\test\test_send.py .......................
========================= 23 passed in 61.14 seconds ==========================
++ 02:52:52 starting jit/backend/x86/test/test_tlc.py [74 started in total]
__ jit/backend/x86/test/test_runner.py [71 done in total, somefailed=False] ___
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 172 items
jit\backend\x86\test\test_runner.py ............................................................................................s...........................ss.........s.................sssss....s....s....s.s.
================== 159 passed, 13 skipped in 166.91 seconds ===================
read saved errno: 24
read saved errno: 0
read saved errno: 25
read saved errno: 0
GetLastError() result: 24
9 8 7 6 5 4 3
GetLastError() result: 25
9 8 7 6 5 4 3
++ 02:53:07 starting jit/backend/x86/test/test_tracelimit.py [75 started in total]
__ jit/backend/x86/test/test_tlc.py [72 done in total, somefailed=False] ______
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 3 items
jit\backend\x86\test\test_tlc.py ss.
==================== 1 passed, 2 skipped in 19.05 seconds =====================
++ 02:53:26 starting jit/backend/x86/test/test_virtual.py [76 started in total]
__ jit/backend/x86/test/test_tl.py [73 done in total, somefailed=False] _______
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 5 items
jit\backend\x86\test\test_tl.py .....
========================== 5 passed in 31.79 seconds ==========================
++ 02:53:33 starting jit/backend/x86/test/test_virtualizable.py [77 started in total]
__ jit/backend/x86/test/test_tracelimit.py [74 done in total, somefailed=False]
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 5 items
jit\backend\x86\test\test_tracelimit.py .....
========================== 5 passed in 83.03 seconds ==========================
++ 02:54:43 starting jit/backend/x86/test/test_virtualref.py [78 started in total]
__ jit/backend/x86/test/test_virtualizable.py [75 done in total, somefailed=False]
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 37 items
jit\backend\x86\test\test_virtualizable.py s...x................................
============== 35 passed, 1 skipped, 1 xfailed in 87.75 seconds ===============
++ 02:55:16 starting jit/backend/x86/test/test_x86vector.py [79 started in total]
__ jit/backend/x86/test/test_virtual.py [76 done in total, somefailed=False] __
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 52 items
jit\backend\x86\test\test_virtual.py ....................................................
========================= 52 passed in 123.68 seconds =========================
++ 02:55:45 starting jit/backend/x86/test/test_zmath.py [80 started in total]
__ jit/backend/x86/test/test_string.py [77 done in total, somefailed=False] ___
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 97 items
jit\backend\x86\test\test_string.py .............................s............................................s......................
=================== 95 passed, 2 skipped in 211.73 seconds ====================
++ 02:56:08 starting jit/backend/x86/test/test_zrpy_gc.py [81 started in total]
__ jit/backend/x86/test/test_virtualref.py [78 done in total, somefailed=False]
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 21 items
jit\backend\x86\test\test_virtualref.py ..s..................
==================== 20 passed, 1 skipped in 70.00 seconds ====================
++ 02:56:12 starting jit/backend/x86/test/test_zrpy_gc_boehm.py [82 started in total]
__ jit/backend/x86/test/test_zmath.py [79 done in total, somefailed=False] ____
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 1 items
jit\backend\x86\test\test_zmath.py .
========================== 1 passed in 58.11 seconds ==========================
++ 02:57:01 starting jit/backend/x86/test/test_zrpy_releasegil.py [83 started in total]
__ jit/backend/x86/test/test_zrpy_gc_boehm.py [80 done in total, somefailed=False]
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 1 items
jit\backend\x86\test\test_zrpy_gc_boehm.py .
========================= 1 passed in 274.14 seconds ==========================
++ 03:00:58 starting jit/backend/x86/test/test_zrpy_vecopt.py [84 started in total]
__ jit/backend/x86/test/test_zrpy_vecopt.py [81 done in total, somefailed=False]
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 1 items
jit\backend\x86\test\test_zrpy_vecopt.py .
========================= 1 passed in 192.25 seconds ==========================
++ 03:04:48 starting jit/backend/x86/test/test_zrpy_vmprof.py [85 started in total]
__ jit/backend/x86/test/test_zrpy_gc.py [82 done in total, somefailed=False] __
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 19 items
jit\backend\x86\test\test_zrpy_gc.py ...................
========================= 19 passed in 605.73 seconds =========================
++ 03:06:25 starting jit/backend/x86/test/test_ztranslation_basic.py [86 started in total]
__ jit/backend/x86/test/test_zrpy_releasegil.py [83 done in total, somefailed=False]
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 3 items
jit\backend\x86\test\test_zrpy_releasegil.py ...
========================= 3 passed in 486.00 seconds ==========================
++ 03:06:40 starting jit/backend/x86/test/test_ztranslation_call_assembler.py [87 started in total]
__ jit/backend/x86/test/test_ztranslation_call_assembler.py [84 done in total, somefailed=False]
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 0 items / 1 skipped
========================== 1 skipped in 9.91 seconds ==========================
++ 03:07:01 starting jit/backend/x86/test/test_ztranslation_external_exception.py [88 started in total]
__ jit/backend/x86/test/test_ztranslation_basic.py [85 done in total, somefailed=False]
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 1 items
jit\backend\x86\test\test_ztranslation_basic.py .
========================= 1 passed in 294.72 seconds ==========================
++ 03:11:33 starting jit/backend/x86/test/test_ztranslation_jit_stats.py [89 started in total]
__ jit/backend/x86/test/test_zrpy_vmprof.py [86 done in total, somefailed=False]
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 1 items
jit\backend\x86\test\test_zrpy_vmprof.py .
========================= 1 passed in 371.77 seconds ==========================
++ 03:11:40 starting jit/backend/x86/tool/test/test_viewcode.py [90 started in total]
__ jit/backend/x86/tool/test/test_viewcode.py [87 done in total, somefailed=False]
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 2 items
jit\backend\x86\tool\test\test_viewcode.py ..
========================== 2 passed in 0.03 seconds ===========================
++ 03:11:51 starting jit/backend/zarch/test [91 started in total]
__ jit/backend/zarch/test [88 done in total, somefailed=False] ________________
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 0 items
======================== no tests ran in 0.01 seconds =========================
++ 03:12:04 starting jit/codewriter/test [92 started in total]
__ jit/backend/x86/test/test_ztranslation_external_exception.py [89 done in total, somefailed=False]
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 1 items
jit\backend\x86\test\test_ztranslation_external_exception.py .
========================= 1 passed in 437.89 seconds ==========================
++ 03:15:35 starting jit/metainterp/optimizeopt/test/test_costmodel.py [93 started in total]
__ jit/backend/x86/test/test_ztranslation_jit_stats.py [90 done in total, somefailed=False]
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 2 items
jit\backend\x86\test\test_ztranslation_jit_stats.py s.
==================== 1 passed, 1 skipped in 239.04 seconds ====================
++ 03:15:44 starting jit/metainterp/optimizeopt/test/test_dependency.py [94 started in total]
__ jit/metainterp/optimizeopt/test/test_costmodel.py [91 done in total, somefailed=False]
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 11 items
jit\metainterp\optimizeopt\test\test_costmodel.py ...........
========================= 11 passed in 12.36 seconds ==========================
++ 03:15:53 starting jit/metainterp/optimizeopt/test/test_guard.py [95 started in total]
__ jit/metainterp/optimizeopt/test/test_dependency.py [92 done in total, somefailed=False]
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 36 items
jit\metainterp\optimizeopt\test\test_dependency.py ....................................
========================= 36 passed in 10.03 seconds ==========================
++ 03:15:59 starting jit/metainterp/optimizeopt/test/test_intbound.py [96 started in total]
__ jit/metainterp/optimizeopt/test/test_guard.py [93 done in total, somefailed=False]
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 7 items
jit\metainterp\optimizeopt\test\test_guard.py .......
========================== 7 passed in 9.13 seconds ===========================
++ 03:16:06 starting jit/metainterp/optimizeopt/test/test_intdiv.py [97 started in total]
__ jit/metainterp/optimizeopt/test/test_intdiv.py [94 done in total, somefailed=False]
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 3 items
jit\metainterp\optimizeopt\test\test_intdiv.py ...
========================== 3 passed in 13.61 seconds ==========================
++ 03:16:24 starting jit/metainterp/optimizeopt/test/test_optimizebasic.py [98 started in total]
__ jit/metainterp/optimizeopt/test/test_intbound.py [95 done in total, somefailed=False]
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 133 items
jit\metainterp\optimizeopt\test\test_intbound.py .....................................................................................................................................
========================= 133 passed in 32.45 seconds =========================
++ 03:16:38 starting jit/metainterp/optimizeopt/test/test_optimizebridge.py [99 started in total]
__ jit/metainterp/optimizeopt/test/test_optimizebasic.py [96 done in total, somefailed=False]
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 136 items
jit\metainterp\optimizeopt\test\test_optimizebasic.py ............................................x.........................................................x..............x..................
=================== 133 passed, 3 xfailed in 17.48 seconds ====================
++ 03:16:48 starting jit/metainterp/optimizeopt/test/test_optimizeheap.py [100 started in total]
__ jit/metainterp/optimizeopt/test/test_optimizebridge.py [97 done in total, somefailed=False]
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 4 items
jit\metainterp\optimizeopt\test\test_optimizebridge.py ....
========================== 4 passed in 12.55 seconds ==========================
++ 03:16:56 starting jit/metainterp/optimizeopt/test/test_optimizeintbound.py [101 started in total]
__ jit/metainterp/optimizeopt/test/test_optimizeheap.py [98 done in total, somefailed=False]
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 111 items
jit\metainterp\optimizeopt\test\test_optimizeheap.py ..........................................x......................x.............................................
=================== 109 passed, 2 xfailed in 13.38 seconds ====================
++ 03:17:06 starting jit/metainterp/optimizeopt/test/test_optimizeopt.py [102 started in total]
__ jit/metainterp/optimizeopt/test/test_optimizeintbound.py [99 done in total, somefailed=False]
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 218 items
jit\metainterp\optimizeopt\test\test_optimizeintbound.py ..........................................................................................................................................................................................................................
========================= 218 passed in 18.17 seconds =========================
++ 03:17:17 starting jit/metainterp/optimizeopt/test/test_rawbuffer.py [103 started in total]
__ jit/metainterp/optimizeopt/test/test_rawbuffer.py [100 done in total, somefailed=False]
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 7 items
jit\metainterp\optimizeopt\test\test_rawbuffer.py .......
========================== 7 passed in 13.36 seconds ==========================
++ 03:17:35 starting jit/metainterp/optimizeopt/test/test_schedule.py [104 started in total]
__ jit/codewriter/test [101 done in total, somefailed=False] __________________
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 530 items
jit\codewriter\test\test_assembler.py ...s..........
jit\codewriter\test\test_call.py .......s.......
jit\codewriter\test\test_codewriter.py .......
jit\codewriter\test\test_effectinfo.py ............
jit\codewriter\test\test_flatten.py ..................................................
jit\codewriter\test\test_format.py ............
jit\codewriter\test\test_jitcode.py .
jit\codewriter\test\test_jtransform.py ..............................................................................................................................................................................................................................................................................................................................................
jit\codewriter\test\test_list.py .............
jit\codewriter\test\test_liveness.py ................
jit\codewriter\test\test_longlong.py .ssssssss
jit\codewriter\test\test_policy.py ...........
jit\codewriter\test\test_regalloc.py ............
jit\codewriter\test\test_support.py ...........
jit\codewriter\test\test_void_list.py .............
================== 520 passed, 10 skipped in 301.68 seconds ===================
++ 03:17:42 starting jit/metainterp/optimizeopt/test/test_short.py [105 started in total]
__ jit/metainterp/optimizeopt/test/test_optimizeopt.py [102 done in total, somefailed=False]
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 417 items
jit\metainterp\optimizeopt\test\test_optimizeopt.py ......................................................................................................................x..............................................................................................x..............x..............................................................................................................x.....x.....x....................................x............................
=================== 410 passed, 7 xfailed in 33.78 seconds ====================
++ 03:17:45 starting jit/metainterp/optimizeopt/test/test_unroll.py [106 started in total]
__ jit/metainterp/optimizeopt/test/test_schedule.py [103 done in total, somefailed=False]
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 17 items
jit\metainterp\optimizeopt\test\test_schedule.py ...s...s.........
==================== 15 passed, 2 skipped in 11.24 seconds ====================
++ 03:17:50 starting jit/metainterp/optimizeopt/test/test_util.py [107 started in total]
__ jit/metainterp/optimizeopt/test/test_short.py [104 done in total, somefailed=False]
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 2 items
jit\metainterp\optimizeopt\test\test_short.py ..
========================== 2 passed in 9.66 seconds ===========================
++ 03:17:55 starting jit/metainterp/optimizeopt/test/test_vecopt.py [108 started in total]
__ jit/metainterp/optimizeopt/test/test_unroll.py [105 done in total, somefailed=False]
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 12 items
jit\metainterp\optimizeopt\test\test_unroll.py ............
========================= 12 passed in 11.81 seconds ==========================
++ 03:18:00 starting jit/metainterp/optimizeopt/test/test_virtualstate.py [109 started in total]
__ jit/metainterp/optimizeopt/test/test_util.py [106 done in total, somefailed=False]
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 3 items
jit\metainterp\optimizeopt\test\test_util.py ...
========================== 3 passed in 9.13 seconds ===========================
++ 03:18:03 starting jit/metainterp/optimizeopt/test/test_z3checktests.py [110 started in total]
__ jit/metainterp/optimizeopt/test/test_vecopt.py [107 done in total, somefailed=False]
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 72 items
jit\metainterp\optimizeopt\test\test_vecopt.py ........................s...............................................
==================== 71 passed, 1 skipped in 10.33 seconds ====================
++ 03:18:10 starting jit/metainterp/optimizeopt/test/test_z3intbound.py [111 started in total]
__ jit/metainterp/optimizeopt/test/test_virtualstate.py [108 done in total, somefailed=False]
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 49 items
jit\metainterp\optimizeopt\test\test_virtualstate.py ...........................................ssssss
==================== 43 passed, 6 skipped in 13.66 seconds ====================
++ 03:18:18 starting jit/metainterp/ruleopt/test/test_codegen.py [112 started in total]
__ jit/metainterp/optimizeopt/test/test_z3checktests.py [109 done in total, somefailed=False]
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 0 items / 1 skipped
========================= 1 skipped in 10.66 seconds ==========================
++ 03:18:18 starting jit/metainterp/ruleopt/test/test_parse.py [113 started in total]
__ jit/metainterp/ruleopt/test/test_codegen.py [110 done in total, somefailed=False]
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 0 items / 1 skipped
========================== 1 skipped in 0.04 seconds ==========================
++ 03:18:21 starting jit/metainterp/ruleopt/test/test_prove.py [114 started in total]
__ jit/metainterp/ruleopt/test/test_parse.py [111 done in total, somefailed=False]
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 0 items / 1 skipped
========================== 1 skipped in 0.04 seconds ==========================
++ 03:18:22 starting jit/metainterp/test/test_ajit.py [115 started in total]
__ jit/metainterp/ruleopt/test/test_prove.py [112 done in total, somefailed=False]
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 0 items / 1 skipped
========================== 1 skipped in 0.03 seconds ==========================
++ 03:18:25 starting jit/metainterp/test/test_blackhole.py [116 started in total]
__ jit/metainterp/optimizeopt/test/test_z3intbound.py [113 done in total, somefailed=False]
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 0 items / 1 skipped
========================= 1 skipped in 10.76 seconds ==========================
++ 03:18:25 starting jit/metainterp/test/test_bridgeopt.py [117 started in total]
__ jit/metainterp/test/test_blackhole.py [114 done in total, somefailed=False]
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 11 items
jit\metainterp\test\test_blackhole.py ......xxx..
==================== 8 passed, 3 xfailed in 12.97 seconds =====================
++ 03:18:43 starting jit/metainterp/test/test_bytearray.py [118 started in total]
__ jit/metainterp/test/test_bridgeopt.py [115 done in total, somefailed=False]
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 11 items
jit\metainterp\test\test_bridgeopt.py ..........x
==================== 10 passed, 1 xfailed in 25.69 seconds ====================
++ 03:18:58 starting jit/metainterp/test/test_call.py [119 started in total]
__ jit/metainterp/test/test_bytearray.py [116 done in total, somefailed=False]
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 8 items
jit\metainterp\test\test_bytearray.py ......s.
==================== 7 passed, 1 skipped in 24.55 seconds =====================
++ 03:19:12 starting jit/metainterp/test/test_compile.py [120 started in total]
__ jit/metainterp/test/test_compile.py [117 done in total, somefailed=False] __
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 2 items
jit\metainterp\test\test_compile.py ..
========================== 2 passed in 14.91 seconds ==========================
++ 03:19:33 starting jit/metainterp/test/test_counter.py [121 started in total]
__ jit/metainterp/test/test_counter.py [118 done in total, somefailed=False] __
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 7 items
jit\metainterp\test\test_counter.py .......
========================== 7 passed in 1.51 seconds ===========================
++ 03:19:40 starting jit/metainterp/test/test_del.py [122 started in total]
__ jit/metainterp/test/test_call.py [119 done in total, somefailed=False] _____
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 16 items
jit\metainterp\test\test_call.py ................
========================= 16 passed in 36.71 seconds ==========================
++ 03:19:43 starting jit/metainterp/test/test_dict.py [123 started in total]
__ jit/metainterp/test/test_del.py [120 done in total, somefailed=False] ______
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 3 items
jit\metainterp\test\test_del.py ...
========================== 3 passed in 16.00 seconds ==========================
++ 03:20:02 starting jit/metainterp/test/test_exception.py [124 started in total]
__ jit/metainterp/test/test_exception.py [121 done in total, somefailed=False]
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 32 items
jit\metainterp\test\test_exception.py ................................
========================= 32 passed in 80.97 seconds ==========================
++ 03:21:31 starting jit/metainterp/test/test_executor.py [125 started in total]
__ jit/metainterp/test/test_executor.py [122 done in total, somefailed=False] _
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 7 items
jit\metainterp\test\test_executor.py .......
========================== 7 passed in 18.69 seconds ==========================
++ 03:21:56 starting jit/metainterp/test/test_fficall.py [126 started in total]
__ jit/metainterp/test/test_dict.py [123 done in total, somefailed=False] _____
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 42 items
jit\metainterp\test\test_dict.py ........................s.ss.....s......s.
=================== 37 passed, 5 skipped in 203.47 seconds ====================
++ 03:23:16 starting jit/metainterp/test/test_float.py [127 started in total]
__ jit/metainterp/test/test_fficall.py [124 done in total, somefailed=False] __
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 17 items
jit\metainterp\test\test_fficall.py ...s........s....
==================== 15 passed, 2 skipped in 93.93 seconds ====================
++ 03:23:40 starting jit/metainterp/test/test_greenfield.py [128 started in total]
__ jit/metainterp/test/test_float.py [125 done in total, somefailed=False] ____
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 10 items
jit\metainterp\test\test_float.py ..........
========================= 10 passed in 30.95 seconds ==========================
++ 03:23:55 starting jit/metainterp/test/test_heapcache.py [129 started in total]
__ jit/metainterp/test/test_greenfield.py [126 done in total, somefailed=False]
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 0 items / 1 skipped
========================= 1 skipped in 14.00 seconds ==========================
++ 03:23:59 starting jit/metainterp/test/test_history.py [130 started in total]
__ jit/metainterp/test/test_heapcache.py [127 done in total, somefailed=False]
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 44 items
jit\metainterp\test\test_heapcache.py ...............s.sss........................
==================== 40 passed, 4 skipped in 13.84 seconds ====================
++ 03:24:13 starting jit/metainterp/test/test_immutable.py [131 started in total]
__ jit/metainterp/test/test_history.py [128 done in total, somefailed=False] __
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 7 items
jit\metainterp\test\test_history.py .......
========================== 7 passed in 29.36 seconds ==========================
++ 03:24:38 starting jit/metainterp/test/test_jitdriver.py [132 started in total]
__ jit/metainterp/test/test_jitdriver.py [129 done in total, somefailed=False]
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 7 items
jit\metainterp\test\test_jitdriver.py ....s..
==================== 6 passed, 1 skipped in 29.42 seconds =====================
++ 03:25:11 starting jit/metainterp/test/test_jitiface.py [133 started in total]
__ jit/metainterp/test/test_immutable.py [130 done in total, somefailed=False]
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 8 items
jit\metainterp\test\test_immutable.py ........
========================== 8 passed in 52.59 seconds ==========================
++ 03:25:13 starting jit/metainterp/test/test_jitprof.py [134 started in total]
__ jit/metainterp/test/test_jitprof.py [131 done in total, somefailed=False] __
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 4 items
jit\metainterp\test\test_jitprof.py s...
==================== 3 passed, 1 skipped in 22.66 seconds =====================
++ 03:25:42 starting jit/metainterp/test/test_list.py [135 started in total]
__ jit/metainterp/test/test_jitiface.py [132 done in total, somefailed=False] _
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 11 items
jit\metainterp\test\test_jitiface.py ...........
========================= 11 passed in 35.93 seconds ==========================
++ 03:25:57 starting jit/metainterp/test/test_llop.py [136 started in total]
__ jit/metainterp/test/test_llop.py [133 done in total, somefailed=False] _____
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 5 items
jit\metainterp\test\test_llop.py .....
========================== 5 passed in 31.72 seconds ==========================
++ 03:26:37 starting jit/metainterp/test/test_logger.py [137 started in total]
__ jit/metainterp/test/test_list.py [134 done in total, somefailed=False] _____
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 27 items
jit\metainterp\test\test_list.py ...s.......................
==================== 26 passed, 1 skipped in 65.97 seconds ====================
++ 03:26:57 starting jit/metainterp/test/test_longlong.py [138 started in total]
__ jit/metainterp/test/test_ajit.py [135 done in total, somefailed=False] _____
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 223 items
jit\metainterp\test\test_ajit.py .............................................................................................................................................................s..............s...........s......................s.........s.s...
=================== 217 passed, 6 skipped in 515.62 seconds ===================
++ 03:27:00 starting jit/metainterp/test/test_loop.py [139 started in total]
__ jit/metainterp/test/test_logger.py [136 done in total, somefailed=False] ___
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 16 items
jit\metainterp\test\test_logger.py ................
========================= 16 passed in 18.68 seconds ==========================
++ 03:27:02 starting jit/metainterp/test/test_loop_unroll.py [140 started in total]
__ jit/metainterp/test/test_longlong.py [137 done in total, somefailed=False] _
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 14 items
jit\metainterp\test\test_longlong.py ssssssssssssss
========================= 14 skipped in 9.29 seconds ==========================
++ 03:27:10 starting jit/metainterp/test/test_loop_unroll_disopt.py [141 started in total]
__ jit/metainterp/test/test_loop.py [138 done in total, somefailed=False] _____
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 37 items
jit\metainterp\test\test_loop.py ..............................ss.s...
=================== 34 passed, 3 skipped in 111.31 seconds ====================
++ 03:28:58 starting jit/metainterp/test/test_math.py [142 started in total]
__ jit/metainterp/test/test_loop_unroll.py [139 done in total, somefailed=False]
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 37 items
jit\metainterp\test\test_loop_unroll.py ..............................ss.s...
=================== 34 passed, 3 skipped in 111.39 seconds ====================
++ 03:29:00 starting jit/metainterp/test/test_memmgr.py [143 started in total]
__ jit/metainterp/test/test_memmgr.py [140 done in total, somefailed=False] ___
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 1 items
jit\metainterp\test\test_memmgr.py s
========================= 1 skipped in 13.28 seconds ==========================
++ 03:29:18 starting jit/metainterp/test/test_opencoder.py [144 started in total]
__ jit/metainterp/test/test_math.py [141 done in total, somefailed=False] _____
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 1 items
jit\metainterp\test\test_math.py .
========================== 1 passed in 23.24 seconds ==========================
++ 03:29:26 starting jit/metainterp/test/test_pyjitpl.py [145 started in total]
__ jit/metainterp/test/test_opencoder.py [142 done in total, somefailed=False]
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 11 items
jit\metainterp\test\test_opencoder.py ...........
========================= 11 passed in 14.43 seconds ==========================
++ 03:29:36 starting jit/metainterp/test/test_quasiimmut.py [146 started in total]
__ jit/metainterp/test/test_pyjitpl.py [143 done in total, somefailed=False] __
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 3 items
jit\metainterp\test\test_pyjitpl.py s..
==================== 2 passed, 1 skipped in 12.66 seconds =====================
++ 03:29:45 starting jit/metainterp/test/test_rawmem.py [147 started in total]
__ jit/metainterp/test/test_rawmem.py [144 done in total, somefailed=False] ___
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 8 items
jit\metainterp\test\test_rawmem.py ........
========================== 8 passed in 34.15 seconds ==========================
++ 03:30:24 starting jit/metainterp/test/test_recursive.py [148 started in total]
__ jit/metainterp/test/test_quasiimmut.py [145 done in total, somefailed=False]
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 21 items
jit\metainterp\test\test_quasiimmut.py ...............s.....
==================== 20 passed, 1 skipped in 49.56 seconds ====================
++ 03:30:37 starting jit/metainterp/test/test_resoperation.py [149 started in total]
__ jit/metainterp/test/test_resoperation.py [146 done in total, somefailed=False]
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 15 items
jit\metainterp\test\test_resoperation.py ...............
========================= 15 passed in 16.61 seconds ==========================
++ 03:30:58 starting jit/metainterp/test/test_resume.py [150 started in total]
__ jit/metainterp/test/test_resume.py [147 done in total, somefailed=False] ___
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 37 items
jit\metainterp\test\test_resume.py ............................ss.......
==================== 35 passed, 2 skipped in 31.10 seconds ====================
++ 03:31:38 starting jit/metainterp/test/test_resumecode.py [151 started in total]
__ jit/metainterp/test/test_resumecode.py [148 done in total, somefailed=False]
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 5 items
jit\metainterp\test\test_resumecode.py .....
========================== 5 passed in 3.81 seconds ===========================
++ 03:31:47 starting jit/metainterp/test/test_send.py [152 started in total]
__ jit/metainterp/test/test_send.py [149 done in total, somefailed=False] _____
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 22 items
jit\metainterp\test\test_send.py ......................
========================= 22 passed in 71.62 seconds ==========================
++ 03:33:09 starting jit/metainterp/test/test_slist.py [153 started in total]
__ jit/metainterp/test/test_recursive.py [150 done in total, somefailed=True] _
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 42 items
jit\metainterp\test\test_recursive.py ................s........s...............F
================================== FAILURES ===================================
_____________ TestLLtype.test_tco_doesnt_lead_to_infinite_tracing _____________
self = <rpython.jit.metainterp.test.test_recursive.TestLLtype instance at 0x000001e032045ea0>
def test_tco_doesnt_lead_to_infinite_tracing(self):
import multiprocessing
# this is super annoying to test too! since we have stack overflows in
# the llinterp, sort of random things can happen, depending on how much
# code in llinterp and pyjitpl are already jitted. therefore we run the
# function in a subprocess.
import subprocess, sys, os
env = os.environ.copy()
env["PYTHONPATH"] = os.pathsep.join(sys.path)
> subprocess.check_output("%s %s" % (sys.executable, __file__), shell=True, env=env)
jit\metainterp\test\test_recursive.py:1369:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
popenargs = ('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\virt_test\\Scripts\\python.exe d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\jit\\metainterp\\test\\test_recursive.pyc',)
kwargs = {'env': {'ALLUSERSPROFILE': 'C:\\ProgramData', 'APPDATA': 'C:\\Users\\matti\\AppData\\Roaming', 'ASL.LOG': 'Destination=file', 'CHOCOLATEYINSTALL': 'C:\\ProgramData\\chocolatey', ...}, 'shell': True}
process = <subprocess.Popen object at 0x000001e031b0a560>
output = "~~~ Crash in JIT!\r\n~~~ <type 'exceptions.AssertionError'>: \r\n> d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\rlib\\rgil.py(131)release()\r\n-> assert self._tid == self._get_ident()\r\n(Pdb) \r\n"
unused_err = None, retcode = 1
cmd = 'd:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\virt_test\\Scripts\\python.exe d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\jit\\metainterp\\test\\test_recursive.pyc'
def check_output(*popenargs, **kwargs):
r"""Run command with arguments and return its output as a byte string.
If the exit code was non-zero it raises a CalledProcessError. The
CalledProcessError object will have the return code in the returncode
attribute and output in the output attribute.
The arguments are the same as for the Popen constructor. Example:
>>> check_output(["ls", "-l", "/dev/null"])
'crw-rw-rw- 1 root root 1, 3 Oct 18 2007 /dev/null\n'
The stdout argument is not allowed as it is used internally.
To capture standard error in the result, use stderr=STDOUT.
>>> check_output(["/bin/sh", "-c",
... "ls -l non_existent_file ; exit 0"],
... stderr=STDOUT)
'ls: non_existent_file: No such file or directory\n'
"""
if 'stdout' in kwargs:
raise ValueError('stdout argument not allowed, it will be overridden.')
process = Popen(stdout=PIPE, *popenargs, **kwargs)
output, unused_err = process.communicate()
retcode = process.poll()
if retcode:
cmd = kwargs.get("args")
if cmd is None:
cmd = popenargs[0]
> raise CalledProcessError(retcode, cmd, output=output)
E CalledProcessError: Command 'd:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\virt_test\Scripts\python.exe d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython\jit\metainterp\test\test_recursive.pyc' returned non-zero exit status 1
d:\pypy_stuff\pypy2.7-v7.3.18\lib-python\2.7\subprocess.py:223: CalledProcessError
---------------------------- Captured stderr call -----------------------------
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Updated environment with vsver 160, using x64 True
[rtyper] -=- specialized 12 blocks -=-
[rtyper] -=- specialized 4 more blocks -=-
[rtyper] -=- specialized 2 more blocks -=-
[rtyper] -=- specialized 7 more blocks -=-
[rtyper] -=- specialized 6 more blocks -=-
[rtyper] -=- specialized 19 more blocks -=-
[rtyper] -=- specialized 12 more blocks -=-
[rtyper] -=- specialized 3 more blocks -=-
[jitcodewriter:info] making JitCodes...
[jitcodewriter:info] There are 2 JitCode instances.
[jitcodewriter:info] There are 6 -live- ops. Size of liveness is 4 bytes
[jitcodewriter] compute_bitstrings:
[jitcodewriter] 0 effectinfos:
[jitcodewriter] 0 descrs for arrays
[jitcodewriter] 0 descrs for fields
[jitcodewriter] 0 descrs for interiorfields
Traceback (most recent call last):
File "d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython\jit\metainterp\test\test_recursive.py", line 1410, in _run
tco_doesnt_lead_to_infinite_tracing()
File "d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython\jit\metainterp\test\test_recursive.py", line 1394, in tco_doesnt_lead_to_infinite_tracing
res = self.meta_interp(g, [4])
File "d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython\jit\metainterp\test\support.py", line 265, in meta_interp
return ll_meta_interp(*args, **kwds)
File "d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython\jit\metainterp\warmspot.py", line 89, in ll_meta_interp
return jittify_and_run(interp, graph, args, backendopt=backendopt, **kwds)
File "d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython\jit\metainterp\warmspot.py", line 127, in jittify_and_run
res = interp.eval_graph(graph, args)
File "d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython\rtyper\llinterp.py", line 97, in eval_graph
retval = llframe.eval()
File "d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython\rtyper\llinterp.py", line 295, in eval
nextblock, args = self.eval_block(nextblock)
File "d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython\rtyper\llinterp.py", line 319, in eval_block
self.eval_operation(op)
File "d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython\rtyper\llinterp.py", line 422, in eval_operation
retval = ophandler(*vals)
File "d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython\rtyper\llinterp.py", line 697, in op_direct_call
return self.perform_call(f, FTYPE.ARGS, args)
File "d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython\rtyper\llinterp.py", line 684, in perform_call
return self.invoke_callable_with_pyexceptions(f, *args)
File "d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython\rtyper\llinterp.py", line 507, in invoke_callable_with_pyexceptions
self.make_llexception()
File "d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython\rtyper\llinterp.py", line 491, in invoke_callable_with_pyexceptions
return obj._callable(*args)
File "d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython\jit\metainterp\warmspot.py", line 954, in ll_portal_runner
portal_ptr)(*args)
File "d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython\jit\codewriter\support.py", line 163, in on_top_of_llinterp
return llinterp.eval_graph(funcobj.graph, list(args))
File "d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython\rtyper\llinterp.py", line 97, in eval_graph
retval = llframe.eval()
File "d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython\rtyper\llinterp.py", line 295, in eval
nextblock, args = self.eval_block(nextblock)
File "d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython\rtyper\llinterp.py", line 319, in eval_block
self.eval_operation(op)
File "d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython\rtyper\llinterp.py", line 422, in eval_operation
retval = ophandler(*vals)
File "d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython\rtyper\llinterp.py", line 697, in op_direct_call
return self.perform_call(f, FTYPE.ARGS, args)
File "d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython\rtyper\llinterp.py", line 684, in perform_call
return self.invoke_callable_with_pyexceptions(f, *args)
File "d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython\rtyper\llinterp.py", line 507, in invoke_callable_with_pyexceptions
self.make_llexception()
File "d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython\rtyper\llinterp.py", line 491, in invoke_callable_with_pyexceptions
return obj._callable(*args)
File "d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython\jit\metainterp\warmspot.py", line 581, in maybe_enter_jit
crash_in_jit(e)
File "d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython\jit\metainterp\warmspot.py", line 579, in maybe_enter_jit
maybe_compile_and_run(state.increment_threshold, *args)
File "d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython\jit\metainterp\warmstate.py", line 468, in maybe_compile_and_run
bound_reached(hash, None, *args)
File "d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython\jit\metainterp\warmstate.py", line 442, in bound_reached
metainterp.compile_and_run_once(jitdriver_sd, *args)
File "d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython\jit\metainterp\pyjitpl.py", line 2889, in compile_and_run_once
self.staticdata._setup_once()
File "d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython\jit\metainterp\pyjitpl.py", line 2295, in _setup_once
self.jitlog.setup_once()
File "d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython\rlib\rjitlog\rjitlog.py", line 350, in setup_once
jitlog_try_init_using_env()
File "d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython\rtyper\lltypesystem\rffi.py", line 321, in wrapper
res = call_external_function(*real_args)
File "<17-codegen d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython\rtyper\lltypesystem\rffi.py:217>", line 4, in call_external_function
rgil.release()
File "d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython\rlib\rgil.py", line 167, in release
_emulated_gil_holder.release()
File "d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython\rlib\rgil.py", line 131, in release
assert self._tid == self._get_ident()
AssertionError
=========================== short test summary info ===========================
FAIL jit/metainterp/test/test_recursive.py::TestLLtype::()::test_tco_doesnt_lead_to_infinite_tracing
============== 1 failed, 39 passed, 2 skipped in 200.46 seconds ===============
++ 03:33:57 starting jit/metainterp/test/test_string.py [154 started in total]
__ jit/metainterp/test/test_slist.py [151 done in total, somefailed=False] ____
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 6 items
jit\metainterp\test\test_slist.py ......
========================== 6 passed in 46.49 seconds ==========================
++ 03:34:03 starting jit/metainterp/test/test_support.py [155 started in total]
__ jit/metainterp/test/test_support.py [152 done in total, somefailed=False] __
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 1 items
jit\metainterp\test\test_support.py .
========================== 1 passed in 2.17 seconds ===========================
++ 03:34:13 starting jit/metainterp/test/test_threadlocal.py [156 started in total]
__ jit/metainterp/test/test_threadlocal.py [153 done in total, somefailed=False]
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 3 items
jit\metainterp\test\test_threadlocal.py ...
========================== 3 passed in 30.50 seconds ==========================
++ 03:34:53 starting jit/metainterp/test/test_tl.py [157 started in total]
__ jit/metainterp/test/test_tl.py [154 done in total, somefailed=False] _______
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 5 items
jit\metainterp\test\test_tl.py .....
========================== 5 passed in 55.31 seconds ==========================
++ 03:36:00 starting jit/metainterp/test/test_tlc.py [158 started in total]
__ jit/metainterp/test/test_tlc.py [155 done in total, somefailed=False] ______
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 2 items
jit\metainterp\test\test_tlc.py .s
==================== 1 passed, 1 skipped in 46.83 seconds =====================
++ 03:37:00 starting jit/metainterp/test/test_tracelimit.py [159 started in total]
__ jit/metainterp/test/test_loop_unroll_disopt.py [156 done in total, somefailed=False]
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 259 items
jit\metainterp\test\test_loop_unroll_disopt.py ..............................ss.s.................................ss.s.................................ss.s.................................ss.s.................................ss.s.................................ss.s.................................ss.s...
================== 238 passed, 21 skipped in 663.71 seconds ===================
++ 03:38:20 starting jit/metainterp/test/test_tracingopts.py [160 started in total]
__ jit/metainterp/test/test_tracelimit.py [157 done in total, somefailed=False]
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 5 items
jit\metainterp\test\test_tracelimit.py .....
========================= 5 passed in 136.63 seconds ==========================
++ 03:39:27 starting jit/metainterp/test/test_virtual.py [161 started in total]
__ jit/metainterp/test/test_string.py [158 done in total, somefailed=False] ___
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 97 items
jit\metainterp\test\test_string.py .............................s............................................s......................
=================== 95 passed, 2 skipped in 329.95 seconds ====================
++ 03:39:34 starting jit/metainterp/test/test_virtualizable.py [162 started in total]
__ jit/metainterp/test/test_tracingopts.py [159 done in total, somefailed=False]
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 39 items
jit\metainterp\test\test_tracingopts.py .................................s.....
=================== 38 passed, 1 skipped in 440.55 seconds ====================
++ 03:45:49 starting jit/metainterp/test/test_virtualref.py [163 started in total]
__ jit/metainterp/test/test_virtualizable.py [160 done in total, somefailed=False]
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 50 items
jit\metainterp\test\test_virtualizable.py ................x.................................
=================== 49 passed, 1 xfailed in 400.38 seconds ====================
++ 03:46:25 starting jit/metainterp/test/test_warmspot.py [164 started in total]
__ jit/metainterp/test/test_virtualref.py [161 done in total, somefailed=False]
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 21 items
jit\metainterp\test\test_virtualref.py ..s..................
=================== 20 passed, 1 skipped in 199.40 seconds ====================
++ 03:49:22 starting jit/metainterp/test/test_warmstate.py [165 started in total]
__ jit/metainterp/test/test_warmspot.py [162 done in total, somefailed=False] _
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 27 items
jit\metainterp\test\test_warmspot.py ...........sss.....ssss....
=================== 20 passed, 7 skipped in 198.34 seconds ====================
++ 03:49:58 starting jit/metainterp/test/test_zvector.py [166 started in total]
__ jit/metainterp/test/test_warmstate.py [163 done in total, somefailed=False]
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 9 items
jit\metainterp\test\test_warmstate.py .........
========================== 9 passed in 44.21 seconds ==========================
++ 03:50:23 starting jit/tl/test [167 started in total]
__ jit/tl/test [164 done in total, somefailed=False] __________________________
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 44 items / 1 skipped
jit\tl\test\test_brainfuck.py .
jit\tl\test\test_tl.py ......................s
jit\tl\test\test_tlc.py ..................
jit\tl\test\test_tlr.py .s
==================== 42 passed, 3 skipped in 83.67 seconds ====================
++ 03:52:00 starting jit/tl/tinyframe/test [168 started in total]
__ jit/tl/tinyframe/test [165 done in total, somefailed=False] ________________
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 7 items
jit\tl\tinyframe\test\test_tinyframe.py .......
========================== 7 passed in 24.75 seconds ==========================
++ 03:52:34 starting jit/tl/tla [169 started in total]
__ jit/metainterp/test/test_virtual.py [166 done in total, somefailed=False] __
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 133 items
jit\metainterp\test\test_virtual.py .....................................................................................................................................
======================== 133 passed in 804.73 seconds =========================
++ 03:53:07 starting jit/tool/test [170 started in total]
__ jit/tl/tla [167 done in total, somefailed=False] ___________________________
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 15 items
jit\tl\tla\test_tla.py ..........ssss.
==================== 11 passed, 4 skipped in 41.61 seconds ====================
++ 03:53:27 starting memory/gc/test [171 started in total]
__ jit/tool/test [168 done in total, somefailed=False] ________________________
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 49 items
jit\tool\test\test_jitoutput.py ..
jit\tool\test\test_loopcounter.py .
jit\tool\test\test_oparser.py ...................................
jit\tool\test\test_traceviewer.py ...........
========================= 49 passed in 52.32 seconds ==========================
++ 03:54:15 starting memory/gctransform/test [172 started in total]
__ memory/gc/test [169 done in total, somefailed=False] _______________________
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 216 items
memory\gc\test\test_direct.py ....................................s.............................................................................
memory\gc\test\test_env.py .......
memory\gc\test\test_hook.py ...
memory\gc\test\test_incminimark.py ...
memory\gc\test\test_inspector.py ..
memory\gc\test\test_minimark.py ...
memory\gc\test\test_minimarkpage.py ...............
memory\gc\test\test_object_pinning.py .............................................
memory\gc\test\test_rawrefcount.py ........................
=================== 215 passed, 1 skipped in 185.50 seconds ===================
++ 03:56:47 starting memory/test/test_gctypelayout.py [173 started in total]
__ memory/test/test_gctypelayout.py [170 done in total, somefailed=False] _____
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 5 items
memory\test\test_gctypelayout.py .....
========================== 5 passed in 29.35 seconds ==========================
++ 03:57:40 starting memory/test/test_generational_gc.py [174 started in total]
__ jit/backend/x86/test/test_x86vector.py [171 done in total, somefailed=True]
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 94 items
jit\backend\x86\test\test_x86vector.py ..............................................................++ 04:02:01 starting memory/test/test_growingsemispace_gc.py [175 started in total]
__ memory/test/test_generational_gc.py [172 done in total, somefailed=False] __
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 47 items
memory\test\test_generational_gc.py ...............................................
========================= 47 passed in 261.96 seconds =========================
++ 04:02:13 starting memory/test/test_hybrid_gc.py [176 started in total]
__ memory/gctransform/test [173 done in total, somefailed=False] ______________
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 85 items
memory\gctransform\test\test_boehm.py ......
memory\gctransform\test\test_framework.py .................
memory\gctransform\test\test_refcounting.py .s.............
memory\gctransform\test\test_shadowcolor.py ...................................
memory\gctransform\test\test_statistics.py ..
memory\gctransform\test\test_transform.py ..........
=================== 84 passed, 1 skipped in 477.99 seconds ====================
++ 04:02:34 starting memory/test/test_hybrid_gc_smallheap.py [177 started in total]
__ memory/test/test_growingsemispace_gc.py [174 done in total, somefailed=False]
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 47 items
memory\test\test_growingsemispace_gc.py ...............................................
========================= 47 passed in 242.90 seconds =========================
++ 04:06:33 starting memory/test/test_incminimark_gc.py [178 started in total]
__ memory/test/test_hybrid_gc_smallheap.py [175 done in total, somefailed=False]
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 46 items
memory\test\test_hybrid_gc_smallheap.py ..............................................
========================= 46 passed in 235.68 seconds =========================
++ 04:06:44 starting memory/test/test_incminimark_gc_cardmarking.py [179 started in total]
__ memory/test/test_hybrid_gc.py [176 done in total, somefailed=False] ________
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 50 items
memory\test\test_hybrid_gc.py ..................................................
========================= 50 passed in 263.38 seconds =========================
++ 04:07:06 starting memory/test/test_lldict.py [180 started in total]
__ memory/test/test_lldict.py [177 done in total, somefailed=False] ___________
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 5 items
memory\test\test_lldict.py .....
========================== 5 passed in 4.21 seconds ===========================
++ 04:07:28 starting memory/test/test_minimark_gc.py [181 started in total]
__ memory/test/test_incminimark_gc_cardmarking.py [178 done in total, somefailed=False]
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 52 items
memory\test\test_incminimark_gc_cardmarking.py ..................................................s.
=================== 51 passed, 1 skipped in 321.82 seconds ====================
++ 04:12:23 starting memory/test/test_minimark_gc_cardmarking.py [182 started in total]
__ memory/test/test_incminimark_gc.py [179 done in total, somefailed=False] ___
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 52 items
memory\test\test_incminimark_gc.py ..................................................s.
=================== 51 passed, 1 skipped in 344.44 seconds ====================
++ 04:12:41 starting memory/test/test_semispace_gc.py [183 started in total]
__ memory/test/test_minimark_gc.py [180 done in total, somefailed=False] ______
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 48 items
memory\test\test_minimark_gc.py ................................................
========================= 48 passed in 299.91 seconds =========================
++ 04:12:51 starting memory/test/test_support.py [184 started in total]
__ memory/test/test_support.py [181 done in total, somefailed=False] __________
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 9 items
memory\test\test_support.py .........
========================== 9 passed in 29.25 seconds ==========================
++ 04:13:31 starting memory/test/test_transformed_gc.py [185 started in total]
__ memory/test/test_semispace_gc.py [182 done in total, somefailed=False] _____
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 47 items
memory\test\test_semispace_gc.py ...............................................
========================= 47 passed in 484.92 seconds =========================
++ 04:21:00 starting rlib/parsing/test/test_deterministic.py [186 started in total]
__ memory/test/test_minimark_gc_cardmarking.py [183 done in total, somefailed=False]
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 48 items
memory\test\test_minimark_gc_cardmarking.py ................................................
========================= 48 passed in 512.01 seconds =========================
++ 04:21:12 starting rlib/parsing/test/test_ebnfparse.py [187 started in total]
__ rlib/parsing/test/test_ebnfparse.py [184 done in total, somefailed=False] __
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 29 items
rlib\parsing\test\test_ebnfparse.py ..........................s..
==================== 28 passed, 1 skipped in 4.35 seconds =====================
++ 04:21:31 starting rlib/parsing/test/test_lexer.py [188 started in total]
__ rlib/parsing/test/test_lexer.py [185 done in total, somefailed=False] ______
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 10 items
rlib\parsing\test\test_lexer.py ..........
========================== 10 passed in 2.49 seconds ==========================
++ 04:21:47 starting rlib/parsing/test/test_parse.py [189 started in total]
__ rlib/parsing/test/test_parse.py [186 done in total, somefailed=False] ______
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 4 items
rlib\parsing\test\test_parse.py ....
========================== 4 passed in 15.57 seconds ==========================
++ 04:22:12 starting rlib/parsing/test/test_parseerrors.py [190 started in total]
__ rlib/parsing/test/test_parseerrors.py [187 done in total, somefailed=False]
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 2 items
rlib\parsing\test\test_parseerrors.py ..
========================== 2 passed in 9.35 seconds ===========================
++ 04:22:38 starting rlib/parsing/test/test_pcre_regtest.py [191 started in total]
__ rlib/parsing/test/test_deterministic.py [188 done in total, somefailed=False]
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 9 items
rlib\parsing\test\test_deterministic.py .........
========================= 9 passed in 114.60 seconds ==========================
++ 04:23:14 starting rlib/parsing/test/test_pypackrat.py [192 started in total]
__ rlib/parsing/test/test_pcre_regtest.py [189 done in total, somefailed=False]
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 290 items
rlib\parsing\test\test_pcre_regtest.py ..................................................................................................................................................................................................................................................................................................
========================= 290 passed in 10.44 seconds =========================
++ 04:23:24 starting rlib/parsing/test/test_pythonlexer.py [193 started in total]
__ rlib/parsing/test/test_pypackrat.py [190 done in total, somefailed=False] __
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 31 items
rlib\parsing\test\test_pypackrat.py ...............................
========================= 31 passed in 10.66 seconds ==========================
++ 04:23:50 starting rlib/parsing/test/test_pythonparse.py [194 started in total]
__ rlib/parsing/test/test_pythonlexer.py [191 done in total, somefailed=False]
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 11 items
rlib\parsing\test\test_pythonlexer.py ...........
========================= 11 passed in 15.38 seconds ==========================
++ 04:24:11 starting rlib/parsing/test/test_regex.py [195 started in total]
__ rlib/parsing/test/test_pythonparse.py [192 done in total, somefailed=False]
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 17 items
rlib\parsing\test\test_pythonparse.py ............s....
==================== 16 passed, 1 skipped in 8.43 seconds =====================
++ 04:24:26 starting rlib/parsing/test/test_regexparse.py [196 started in total]
__ memory/test/test_transformed_gc.py [193 done in total, somefailed=False] ___
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 183 items
memory\test\test_transformed_gc.py ....s..................s..s.....s..................s..s............s..................s..s.............s.....................s................s.....................s.................s
================== 169 passed, 14 skipped in 651.39 seconds ===================
++ 04:24:40 starting rlib/parsing/test/test_translate.py [197 started in total]
__ rlib/parsing/test/test_regexparse.py [194 done in total, somefailed=False] _
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 15 items
rlib\parsing\test\test_regexparse.py ...............
========================== 15 passed in 1.50 seconds ==========================
++ 04:24:41 starting rlib/parsing/test/test_translate_lexer.py [198 started in total]
__ rlib/parsing/test/test_translate_lexer.py [195 done in total, somefailed=False]
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 1 items
rlib\parsing\test\test_translate_lexer.py .
========================== 1 passed in 69.98 seconds ==========================
++ 04:25:56 starting rlib/parsing/test/test_tree.py [199 started in total]
__ rlib/parsing/test/test_regex.py [196 done in total, somefailed=False] ______
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 13 items
rlib\parsing\test\test_regex.py .............
========================= 13 passed in 128.02 seconds =========================
++ 04:26:39 starting rlib/rjitlog/test/test_jitlog.py [200 started in total]
__ rlib/parsing/test/test_tree.py [197 done in total, somefailed=False] _______
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 6 items
rlib\parsing\test\test_tree.py ......
========================== 6 passed in 77.83 seconds ==========================
++ 04:27:25 starting rlib/rsre/test/test_char.py [201 started in total]
__ rlib/rjitlog/test/test_jitlog.py [198 done in total, somefailed=False] _____
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 4 items
rlib\rjitlog\test\test_jitlog.py ....
========================== 4 passed in 43.98 seconds ==========================
++ 04:27:40 starting rlib/rsre/test/test_ext_opcode.py [202 started in total]
__ rlib/rsre/test/test_char.py [199 done in total, somefailed=False] __________
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 7 items
rlib\rsre\test\test_char.py .......
========================== 7 passed in 20.42 seconds ==========================
++ 04:27:54 starting rlib/rsre/test/test_match.py [203 started in total]
__ rlib/rsre/test/test_ext_opcode.py [200 done in total, somefailed=False] ____
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 11 items
rlib\rsre\test\test_ext_opcode.py ...........
========================= 11 passed in 11.57 seconds ==========================
++ 04:28:01 starting rlib/rsre/test/test_re.py [204 started in total]
__ rlib/parsing/test/test_translate.py [201 done in total, somefailed=False] __
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 5 items
rlib\parsing\test\test_translate.py .....
========================= 5 passed in 193.62 seconds ==========================
++ 04:28:05 starting rlib/rsre/test/test_search.py [205 started in total]
__ rlib/rsre/test/test_match.py [202 done in total, somefailed=False] _________
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 38 items
rlib\rsre\test\test_match.py ......................................
========================== 38 passed in 8.29 seconds ==========================
++ 04:28:09 starting rlib/rsre/test/test_zexternal.py [206 started in total]
__ rlib/rsre/test/test_re.py [203 done in total, somefailed=False] ____________
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 56 items
rlib\rsre\test\test_re.py ..............ss........................................
==================== 54 passed, 2 skipped in 10.44 seconds ====================
++ 04:28:19 starting rlib/rsre/test/test_zinterp.py [207 started in total]
__ rlib/rsre/test/test_search.py [204 done in total, somefailed=False] ________
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 67 items
rlib\rsre\test\test_search.py ...................................................................
========================= 67 passed in 24.09 seconds ==========================
++ 04:28:39 starting rlib/rsre/test/test_zjit.py [208 started in total]
__ rlib/rsre/test/test_zexternal.py [205 done in total, somefailed=False] _____
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 1002 items
rlib\rsre\test\test_zexternal.py ..........................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
======================== 1002 passed in 24.40 seconds =========================
++ 04:28:49 starting rlib/rstrategies/test/test_rstrategies.py [209 started in total]
__ rlib/rstrategies/test/test_rstrategies.py [206 done in total, somefailed=False]
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 49 items
rlib\rstrategies\test\test_rstrategies.py .................................................
========================== 49 passed in 3.24 seconds ==========================
++ 04:29:02 starting rlib/rstruct/test/test_ieee.py [210 started in total]
__ rlib/rsre/test/test_zinterp.py [207 done in total, somefailed=False] _______
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 3 items
rlib\rsre\test\test_zinterp.py ...
========================= 3 passed in 103.06 seconds ==========================
++ 04:30:24 starting rlib/rstruct/test/test_pack.py [211 started in total]
__ rlib/rstruct/test/test_pack.py [208 done in total, somefailed=False] _______
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 59 items
rlib\rstruct\test\test_pack.py ...........................................................
========================= 59 passed in 43.04 seconds ==========================
++ 04:31:25 starting rlib/rstruct/test/test_runpack.py [212 started in total]
__ rlib/rstruct/test/test_ieee.py [209 done in total, somefailed=False] _______
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 14 items
rlib\rstruct\test\test_ieee.py ..............
========================= 14 passed in 207.38 seconds =========================
++ 04:32:43 starting rlib/rvmprof/test/test_file.py [213 started in total]
__ rlib/rvmprof/test/test_file.py [210 done in total, somefailed=False] _______
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 0 items / 1 skipped
========================= 1 skipped in 12.45 seconds ==========================
++ 04:33:04 starting rlib/rvmprof/test/test_rvmprof.py [214 started in total]
__ rlib/rvmprof/test/test_rvmprof.py [211 done in total, somefailed=False] ____
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 0 items / 1 skipped
========================= 1 skipped in 12.10 seconds ==========================
++ 04:33:26 starting rlib/rvmprof/test/test_support.py [215 started in total]
__ rlib/rvmprof/test/test_support.py [212 done in total, somefailed=False] ____
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 0 items / 1 skipped
========================= 1 skipped in 17.45 seconds ==========================
++ 04:34:00 starting rlib/rvmprof/test/test_traceback.py [216 started in total]
__ rlib/rvmprof/test/test_traceback.py [213 done in total, somefailed=False] __
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 0 items / 1 skipped
========================= 1 skipped in 23.96 seconds ==========================
++ 04:34:40 starting rlib/rvmprof/test/test_ztranslation.py [217 started in total]
__ rlib/rvmprof/test/test_ztranslation.py [214 done in total, somefailed=False]
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 0 items / 1 skipped
========================= 1 skipped in 18.66 seconds ==========================
++ 04:35:10 starting rlib/test/test__jit_vref.py [218 started in total]
__ rlib/rstruct/test/test_runpack.py [215 done in total, somefailed=False] ____
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 22 items
rlib\rstruct\test\test_runpack.py ......................
========================= 22 passed in 206.60 seconds =========================
++ 04:35:13 starting rlib/test/test_buffer.py [219 started in total]
__ rlib/test/test__jit_vref.py [216 done in total, somefailed=False] __________
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 12 items
rlib\test\test__jit_vref.py ............
========================= 12 passed in 33.86 seconds ==========================
++ 04:35:55 starting rlib/test/test_cache.py [220 started in total]
__ rlib/test/test_cache.py [217 done in total, somefailed=False] ______________
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 1 items
rlib\test\test_cache.py .
========================== 1 passed in 1.53 seconds ===========================
++ 04:36:09 starting rlib/test/test_clibffi.py [221 started in total]
__ rlib/rsre/test/test_zjit.py [218 done in total, somefailed=False] __________
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 26 items
rlib\rsre\test\test_zjit.py .....................x....
=================== 25 passed, 1 xfailed in 484.39 seconds ====================
++ 04:36:50 starting rlib/test/test_compilerinfo.py [222 started in total]
__ rlib/test/test_clibffi.py [219 done in total, somefailed=False] ____________
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 17 items
rlib\test\test_clibffi.py ........s........
=================== 16 passed, 1 skipped in 101.66 seconds ====================
n: 2
Arg 0: 3
Arg 1: 15
++ 04:38:08 starting rlib/test/test_debug.py [223 started in total]
__ rlib/test/test_buffer.py [220 done in total, somefailed=False] _____________
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 47 items
rlib\test\test_buffer.py ...............................................
========================= 47 passed in 191.80 seconds =========================
++ 04:38:38 starting rlib/test/test_jit.py [224 started in total]
__ rlib/test/test_compilerinfo.py [221 done in total, somefailed=False] _______
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 2 items
rlib\test\test_compilerinfo.py ..
========================= 2 passed in 104.39 seconds ==========================
++ 04:38:41 starting rlib/test/test_jit_libffi.py [225 started in total]
__ rlib/test/test_debug.py [222 done in total, somefailed=False] ______________
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 11 items
rlib\test\test_debug.py ...........
========================= 11 passed in 63.43 seconds ==========================
++ 04:39:22 starting rlib/test/test_libffi.py [226 started in total]
__ rlib/test/test_jit_libffi.py [223 done in total, somefailed=False] _________
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 1 items
rlib\test\test_jit_libffi.py .
========================== 1 passed in 34.65 seconds ==========================
++ 04:39:27 starting rlib/test/test_listsort.py [227 started in total]
__ rlib/test/test_listsort.py [224 done in total, somefailed=False] ___________
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 4 items
rlib\test\test_listsort.py ....
================= 4 passed, 1 pytest-warnings in 4.08 seconds =================
++ 04:39:38 starting rlib/test/test_longlong2float.py [228 started in total]
__ rlib/test/test_libffi.py [225 done in total, somefailed=False] _____________
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 29 items
rlib\test\test_libffi.py .............................
========================= 29 passed in 54.60 seconds ==========================
++ 04:40:29 starting rlib/test/test_mutbuffer.py [229 started in total]
__ rlib/test/test_jit.py [226 done in total, somefailed=False] ________________
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 30 items
rlib\test\test_jit.py ...ss.........................
=================== 28 passed, 2 skipped in 125.37 seconds ====================
++ 04:40:50 starting rlib/test/test_nonconst.py [230 started in total]
__ rlib/test/test_mutbuffer.py [227 done in total, somefailed=False] __________
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 5 items
rlib\test\test_mutbuffer.py .....
========================== 5 passed in 12.24 seconds ==========================
++ 04:40:52 starting rlib/test/test_objectmodel.py [231 started in total]
__ rlib/test/test_nonconst.py [228 done in total, somefailed=False] ___________
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 5 items
rlib\test\test_nonconst.py .....
========================== 5 passed in 28.01 seconds ==========================
++ 04:41:30 starting rlib/test/test_posix.py [232 started in total]
__ rlib/test/test_longlong2float.py [229 done in total, somefailed=False] _____
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 10 items
rlib\test\test_longlong2float.py ..........
========================= 10 passed in 155.29 seconds =========================
++ 04:42:26 starting rlib/test/test_rStringIO.py [233 started in total]
__ rlib/test/test_rStringIO.py [230 done in total, somefailed=False] __________
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 11 items
rlib\test\test_rStringIO.py ...........
========================== 11 passed in 2.49 seconds ==========================
++ 04:42:37 starting rlib/test/test_rarithmetic.py [234 started in total]
__ rlib/test/test_posix.py [231 done in total, somefailed=False] ______________
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 30 items
rlib\test\test_posix.py ....s.....s.ssssssss.sssssssss
=================== 11 passed, 19 skipped in 100.16 seconds ===================
++ 04:43:21 starting rlib/test/test_rawrefcount.py [235 started in total]
__ rlib/test/test_rarithmetic.py [232 done in total, somefailed=False] ________
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 103 items
rlib\test\test_rarithmetic.py .......................................................................................................
========================= 103 passed in 31.79 seconds =========================
++ 04:43:23 starting rlib/test/test_rawrefcount_boehm.py [236 started in total]
__ rlib/test/test_rawrefcount_boehm.py [233 done in total, somefailed=False] __
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 2 items
rlib\test\test_rawrefcount_boehm.py ss
========================= 2 skipped in 10.48 seconds ==========================
++ 04:43:41 starting rlib/test/test_rawstorage.py [237 started in total]
__ rlib/test/test_objectmodel.py [234 done in total, somefailed=False] ________
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 60 items
rlib\test\test_objectmodel.py ....s.......................................................
=================== 59 passed, 1 skipped in 209.26 seconds ====================
++ 04:44:32 starting rlib/test/test_rbigint.py [238 started in total]
__ rlib/test/test_rawrefcount.py [235 done in total, somefailed=False] ________
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 13 items
rlib\test\test_rawrefcount.py .............
========================= 13 passed in 77.04 seconds ==========================
++ 04:44:49 starting rlib/test/test_rbisect.py [239 started in total]
__ rlib/test/test_rbisect.py [236 done in total, somefailed=False] ____________
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 2 items
rlib\test\test_rbisect.py ..
========================== 2 passed in 11.22 seconds ==========================
++ 04:45:08 starting rlib/test/test_rcomplex.py [240 started in total]
__ rlib/test/test_rcomplex.py [237 done in total, somefailed=False] ___________
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 8 items
rlib\test\test_rcomplex.py ........
========================== 8 passed in 15.55 seconds ==========================
++ 04:45:38 starting rlib/test/test_rdtoa.py [241 started in total]
__ rlib/test/test_rawstorage.py [238 done in total, somefailed=False] _________
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 7 items
rlib\test\test_rawstorage.py .......
========================= 7 passed in 122.24 seconds ==========================
++ 04:45:55 starting rlib/test/test_rdynload.py [242 started in total]
__ rlib/test/test_rdtoa.py [239 done in total, somefailed=False] ______________
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 6 items
rlib\test\test_rdtoa.py ......
========================== 6 passed in 9.52 seconds ===========================
++ 04:45:56 starting rlib/test/test_rerased.py [243 started in total]
__ rlib/test/test_rdynload.py [240 done in total, somefailed=False] ___________
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 3 items
rlib\test\test_rdynload.py ...
========================== 3 passed in 24.69 seconds ==========================
++ 04:46:29 starting rlib/test/test_rfile.py [244 started in total]
__ rlib/test/test_rerased.py [241 done in total, somefailed=False] ____________
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 25 items
rlib\test\test_rerased.py .........................
========================= 25 passed in 50.22 seconds ==========================
++ 04:46:56 starting rlib/test/test_rfloat.py [245 started in total]
__ rlib/test/test_rfile.py [242 done in total, somefailed=False] ______________
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 26 items
rlib\test\test_rfile.py ..ss..................ssss
=================== 20 passed, 6 skipped in 165.18 seconds ====================
test
++ 04:49:26 starting rlib/test/test_rgc.py [246 started in total]
__ rlib/test/test_rgc.py [243 done in total, somefailed=False] ________________
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 39 items
rlib\test\test_rgc.py .....................s..s..........ss..
=================== 35 passed, 4 skipped in 231.10 seconds ====================
++ 04:53:28 starting rlib/test/test_rgil.py [247 started in total]
__ jit/metainterp/test/test_zvector.py [244 done in total, somefailed=True] ___
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 84 items
jit\metainterp\test\test_zvector.py ..............................++ 04:56:45 starting rlib/test/test_rlocale.py [248 started in total]
__ rlib/test/test_rlocale.py [245 done in total, somefailed=False] ____________
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 4 items
rlib\test\test_rlocale.py ...s
==================== 3 passed, 1 skipped in 15.57 seconds =====================
++ 04:57:10 starting rlib/test/test_rmarshal.py [249 started in total]
__ rlib/test/test_rgil.py [246 done in total, somefailed=False] _______________
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 4 items
rlib\test\test_rgil.py ....
========================= 4 passed in 236.50 seconds ==========================
++ 04:57:38 starting rlib/test/test_rmd5.py [250 started in total]
__ rlib/test/test_rmd5.py [247 done in total, somefailed=False] _______________
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 7 items
rlib\test\test_rmd5.py .......
========================== 7 passed in 3.48 seconds ===========================
++ 04:57:51 starting rlib/test/test_rmmap.py [251 started in total]
__ rlib/test/test_rmarshal.py [248 done in total, somefailed=False] ___________
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 6 items
rlib\test\test_rmarshal.py ......
========================== 6 passed in 84.68 seconds ==========================
++ 04:58:46 starting rlib/test/test_rope.py [252 started in total]
__ rlib/test/test_rope.py [249 done in total, somefailed=False] _______________
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 58 items
rlib\test\test_rope.py .............................s............................
==================== 57 passed, 1 skipped in 15.20 seconds ====================
++ 04:59:12 starting rlib/test/test_rpath.py [253 started in total]
__ rlib/test/test_rfloat.py [250 done in total, somefailed=False] _____________
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 13 items
rlib\test\test_rfloat.py .............
========================= 13 passed in 724.76 seconds =========================
++ 04:59:21 starting rlib/test/test_rpoll.py [254 started in total]
__ rlib/test/test_rpath.py [251 done in total, somefailed=False] ______________
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 10 items
rlib\test\test_rpath.py ....s.....
==================== 9 passed, 1 skipped in 10.14 seconds =====================
++ 04:59:27 starting rlib/test/test_rposix.py [255 started in total]
__ rlib/test/test_rpoll.py [252 done in total, somefailed=False] ______________
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 7 items
rlib\test\test_rpoll.py .ssss.s
==================== 2 passed, 5 skipped in 51.08 seconds =====================
++ 05:00:21 starting rlib/test/test_rposix_environ.py [256 started in total]
__ rlib/test/test_rmmap.py [253 done in total, somefailed=False] ______________
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 33 items
rlib\test\test_rmmap.py ....s..........ss.........s...s..
=================== 28 passed, 5 skipped in 188.36 seconds ====================
++ 05:01:10 starting rlib/test/test_rposix_scandir.py [257 started in total]
__ rlib/test/test_rposix_scandir.py [254 done in total, somefailed=False] _____
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 1 items
rlib\test\test_rposix_scandir.py .
========================== 1 passed in 19.06 seconds ==========================
++ 05:01:46 starting rlib/test/test_rposix_stat.py [258 started in total]
__ rlib/test/test_rposix_environ.py [255 done in total, somefailed=False] _____
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 2 items
rlib\test\test_rposix_environ.py ..
========================== 2 passed in 94.38 seconds ==========================
++ 05:02:04 starting rlib/test/test_rrandom.py [259 started in total]
__ rlib/test/test_rrandom.py [256 done in total, somefailed=False] ____________
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 7 items
rlib\test\test_rrandom.py .......
========================== 7 passed in 50.42 seconds ==========================
++ 05:03:04 starting rlib/test/test_rrawarray.py [260 started in total]
__ rlib/test/test_rposix_stat.py [257 done in total, somefailed=False] ________
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 9 items
rlib\test\test_rposix_stat.py s...ss.s.
==================== 5 passed, 4 skipped in 84.37 seconds =====================
++ 05:03:23 starting rlib/test/test_rsha.py [261 started in total]
__ rlib/test/test_rsha.py [258 done in total, somefailed=False] _______________
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 4 items
rlib\test\test_rsha.py ....
========================== 4 passed in 1.95 seconds ===========================
++ 05:03:34 starting rlib/test/test_rshrinklist.py [262 started in total]
__ rlib/test/test_rrawarray.py [259 done in total, somefailed=False] __________
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 4 items
rlib\test\test_rrawarray.py ....
========================== 4 passed in 13.58 seconds ==========================
++ 05:03:34 starting rlib/test/test_rsignal.py [263 started in total]
__ rlib/test/test_rshrinklist.py [260 done in total, somefailed=False] ________
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 2 items
rlib\test\test_rshrinklist.py ..
========================== 2 passed in 1.84 seconds ===========================
++ 05:03:43 starting rlib/test/test_rsiphash.py [264 started in total]
__ rlib/test/test_rsignal.py [261 done in total, somefailed=False] ____________
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 6 items
rlib\test\test_rsignal.py ssssss
========================== 6 skipped in 2.19 seconds ==========================
++ 05:03:43 starting rlib/test/test_rsocket.py [265 started in total]
__ rlib/test/test_rbigint.py [262 done in total, somefailed=False] ____________
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 199 items
rlib\test\test_rbigint.py .......................................................................................................................................................................................................
======================== 199 passed in 1170.39 seconds ========================
++ 05:04:21 starting rlib/test/test_rstacklet.py [266 started in total]
__ rlib/test/test_rposix.py [263 done in total, somefailed=False] _____________
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 77 items
rlib\test\test_rposix.py ..s........s..s....s..sss...........ssss.............ssss.....sssssssssssssss
=================== 47 passed, 30 skipped in 370.88 seconds ===================
++ 05:05:49 starting rlib/test/test_rstackovf.py [267 started in total]
__ rlib/test/test_rsiphash.py [264 done in total, somefailed=False] ___________
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 6 items
rlib\test\test_rsiphash.py ......
========================= 6 passed in 190.51 seconds ==========================
++ 05:07:04 starting rlib/test/test_rstring.py [268 started in total]
__ rlib/test/test_rstackovf.py [265 done in total, somefailed=False] __________
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 4 items
rlib\test\test_rstackovf.py .ss.
==================== 2 passed, 2 skipped in 63.09 seconds =====================
++ 05:07:12 starting rlib/test/test_rtermios.py [269 started in total]
__ rlib/test/test_rtermios.py [266 done in total, somefailed=False] ___________
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 5 items
rlib\test\test_rtermios.py sssss
========================== 5 skipped in 0.02 seconds ==========================
++ 05:07:21 starting rlib/test/test_rthread.py [270 started in total]
__ rlib/test/test_rstring.py [267 done in total, somefailed=False] ____________
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 28 items
rlib\test\test_rstring.py ..........s.s...............
==================== 26 passed, 2 skipped in 39.75 seconds ====================
++ 05:07:57 starting rlib/test/test_rtime.py [271 started in total]
__ rlib/test/test_rsocket.py [268 done in total, somefailed=False] ____________
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 56 items
rlib\test\test_rsocket.py .ss.......s...s.s...s.sss...........s..........xxx..sss.
============= 40 passed, 13 skipped, 3 xfailed in 263.06 seconds ==============
++ 05:08:16 starting rlib/test/test_rtimer.py [272 started in total]
__ rlib/test/test_rstacklet.py [269 done in total, somefailed=False] __________
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 2 items
rlib\test\test_rstacklet.py ..
========================= 2 passed in 228.36 seconds ==========================
++ 05:08:25 starting rlib/test/test_runicode.py [273 started in total]
__ rlib/test/test_rtime.py [270 done in total, somefailed=False] ______________
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 5 items
rlib\test\test_rtime.py ...ss
==================== 3 passed, 2 skipped in 41.90 seconds =====================
++ 05:08:58 starting rlib/test/test_rurandom.py [274 started in total]
__ rlib/test/test_runicode.py [271 done in total, somefailed=False] ___________
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 48 items
rlib\test\test_runicode.py ................................................
========================= 48 passed in 32.67 seconds ==========================
++ 05:09:05 starting rlib/test/test_rutf8.py [275 started in total]
__ rlib/test/test_rutf8.py [272 done in total, somefailed=False] ______________
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 23 items
rlib\test\test_rutf8.py .......................
========================= 23 passed in 10.60 seconds ==========================
++ 05:09:27 starting rlib/test/test_rweakkeydict.py [276 started in total]
__ rlib/test/test_rurandom.py [273 done in total, somefailed=False] ___________
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 2 items
rlib\test\test_rurandom.py .s
==================== 1 passed, 1 skipped in 14.29 seconds =====================
++ 05:09:28 starting rlib/test/test_rweaklist.py [277 started in total]
__ rlib/test/test_rweaklist.py [274 done in total, somefailed=False] __________
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 2 items
rlib\test\test_rweaklist.py ..
========================== 2 passed in 2.15 seconds ===========================
++ 05:09:41 starting rlib/test/test_rweakref.py [278 started in total]
__ rlib/test/test_rtimer.py [275 done in total, somefailed=False] _____________
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 6 items
rlib\test\test_rtimer.py ......
========================== 6 passed in 87.55 seconds ==========================
++ 05:09:53 starting rlib/test/test_rweakvaldict.py [279 started in total]
__ rlib/test/test_rweakref.py [276 done in total, somefailed=False] ___________
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 1 items
rlib\test\test_rweakref.py .
========================== 1 passed in 22.65 seconds ==========================
++ 05:10:15 starting rlib/test/test_rwin32.py [280 started in total]
__ rlib/test/test_rweakkeydict.py [277 done in total, somefailed=False] _______
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 8 items
rlib\test\test_rweakkeydict.py .....XXx
=============== 5 passed, 1 xfailed, 2 xpassed in 39.86 seconds ===============
++ 05:10:20 starting rlib/test/test_rzipfile.py [281 started in total]
__ rlib/test/test_rwin32.py [278 done in total, somefailed=False] _____________
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 9 items
rlib\test\test_rwin32.py .........
========================== 9 passed in 34.43 seconds ==========================
++ 05:11:01 starting rlib/test/test_rzlib.py [282 started in total]
__ rlib/test/test_rzlib.py [279 done in total, somefailed=True] _______________
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 0 items / 1 errors
=================================== ERRORS ====================================
__________________ ERROR collecting rlib/test/test_rzlib.py ___________________
rlib\test\test_rzlib.py:7: in <module>
from rpython.rlib import rzlib
rlib\rzlib.py:27: in <module>
[dict(prefix='zlib-'),
rtyper\tool\rffi_platform.py:846: in configure_external_library
raise last_error
E CompilationError: CompilationError(out="""
E """)
=========================== 1 error in 3.20 seconds ===========================
++ 05:11:14 starting rlib/test/test_signature.py [283 started in total]
__ rlib/test/test_rweakvaldict.py [280 done in total, somefailed=False] _______
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 13 items
rlib\test\test_rweakvaldict.py .......X.....
=================== 12 passed, 1 xpassed in 142.53 seconds ====================
++ 05:12:35 starting rlib/test/test_streamio.py [284 started in total]
__ rlib/test/test_rzipfile.py [281 done in total, somefailed=False] ___________
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 2 items
rlib\test\test_rzipfile.py ..
========================= 2 passed in 187.22 seconds ==========================
++ 05:13:39 starting rlib/test/test_z3.py [285 started in total]
__ rlib/test/test_z3.py [282 done in total, somefailed=False] _________________
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 0 items / 1 skipped
========================== 1 skipped in 0.03 seconds ==========================
++ 05:13:48 starting rlib/unicodedata/test/test_codegen.py [286 started in total]
__ rlib/unicodedata/test/test_codegen.py [283 done in total, somefailed=False]
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 2 items
rlib\unicodedata\test\test_codegen.py ..
========================== 2 passed in 3.50 seconds ===========================
++ 05:14:01 starting rlib/unicodedata/test/test_dawg.py [287 started in total]
__ rlib/unicodedata/test/test_dawg.py [284 done in total, somefailed=False] ___
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 9 items
rlib\unicodedata\test\test_dawg.py .........
========================== 9 passed in 8.00 seconds ===========================
++ 05:14:23 starting rlib/unicodedata/test/test_ucd.py [288 started in total]
__ rlib/test/test_rthread.py [285 done in total, somefailed=False] ____________
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 20 items
rlib\test\test_rthread.py .......s..s..s..s..s
=================== 15 passed, 5 skipped in 415.81 seconds ====================
++ 05:14:34 starting rlib/unicodedata/test/test_unicodedata.py [289 started in total]
__ rlib/test/test_signature.py [286 done in total, somefailed=False] __________
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 23 items
rlib\test\test_signature.py .....x..............xxx
=================== 19 passed, 4 xfailed in 192.42 seconds ====================
++ 05:14:48 starting rtyper/lltypesystem/module/test [290 started in total]
__ rlib/unicodedata/test/test_unicodedata.py [287 done in total, somefailed=False]
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 26 items
rlib\unicodedata\test\test_unicodedata.py ..........................
========================= 26 passed in 14.28 seconds ==========================
++ 05:14:59 starting rtyper/lltypesystem/test [291 started in total]
__ rlib/unicodedata/test/test_ucd.py [288 done in total, somefailed=False] ____
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 4 items
rlib\unicodedata\test\test_ucd.py ....
========================== 4 passed in 73.45 seconds ==========================
++ 05:16:01 starting rtyper/test [292 started in total]
__ rlib/test/test_streamio.py [289 done in total, somefailed=False] ___________
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 112 items
rlib\test\test_streamio.py ..........................................................................................................ss..s.
=================== 109 passed, 3 skipped in 273.48 seconds ===================
++ 05:17:29 starting rtyper/tool/test [293 started in total]
__ rtyper/lltypesystem/module/test [290 done in total, somefailed=False] ______
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 200 items
rtyper\lltypesystem\module\test\test_ll_math.py ............................................................................................................................................................................
rtyper\lltypesystem\module\test\test_llinterp_math.py ............................
======================== 200 passed in 208.95 seconds =========================
++ 05:18:37 starting tool/algo/test [294 started in total]
__ tool/algo/test [291 done in total, somefailed=False] _______________________
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 44 items
tool\algo\test\test_bitstring.py ....
tool\algo\test\test_color.py .....
tool\algo\test\test_graphlib.py ...s....ss.....s....s.......
tool\algo\test\test_regalloc.py ..
tool\algo\test\test_sparsemat.py ...
tool\algo\test\test_unionfind.py ..
==================== 39 passed, 5 skipped in 17.78 seconds ====================
++ 05:19:23 starting tool/cparser/test [295 started in total]
__ tool/cparser/test [292 done in total, somefailed=False] ____________________
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 21 items
tool\cparser\test\test_cts.py .....................
========================= 21 passed in 141.31 seconds =========================
++ 05:21:50 starting tool/jitlogparser/test [296 started in total]
__ tool/jitlogparser/test [293 done in total, somefailed=False] _______________
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 24 items
tool\jitlogparser\test\test_parser.py .......ss...ssss.......
tool\jitlogparser\test\test_storage.py .
==================== 18 passed, 6 skipped in 9.45 seconds =====================
++ 05:22:09 starting tool/pytest/test [297 started in total]
__ tool/pytest/test [294 done in total, somefailed=False] _____________________
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 1 items
tool\pytest\test\test_expecttest.py s
========================== 1 skipped in 1.96 seconds ==========================
++ 05:22:16 starting tool/test [298 started in total]
__ tool/test [295 done in total, somefailed=False] ____________________________
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 72 items
tool\test\test_ansi_print.py ........
tool\test\test_descriptor.py ...
tool\test\test_error.py ....
tool\test\test_flattenrec.py .
tool\test\test_frozenlist.py .
tool\test\test_gcc_cache.py .....
tool\test\test_identitydict.py ..........
tool\test\test_killsubprocess.py ...
tool\test\test_leakfinder.py ........
tool\test\test_logparser.py ...
tool\test\test_nullpath.py .
tool\test\test_pairtype.py .......
tool\test\test_runsubprocess.py .ssss
tool\test\test_sourcetools.py .........
tool\test\test_udir.py ..
tool\test\test_version.py ..
==================== 68 passed, 4 skipped in 94.27 seconds ====================
++ 05:23:59 starting translator/backendopt/test [299 started in total]
__ rtyper/tool/test [296 done in total, somefailed=False] _____________________
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 38 items
rtyper\tool\test\test_mkrffi.py .......
rtyper\tool\test\test_rffi_platform.py .................ss.........
rtyper\tool\test\test_rfficache.py ...
=================== 36 passed, 2 skipped in 467.32 seconds ====================
++ 05:25:30 starting translator/c/test/test_backendoptimized.py [300 started in total]
__ rtyper/lltypesystem/test [297 done in total, somefailed=False] _____________
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 276 items
rtyper\lltypesystem\test\test_ll2ctypes.py ................s..............s...s.........................................s.s.
rtyper\lltypesystem\test\test_llarena.py .....s.....s.
rtyper\lltypesystem\test\test_llgroup.py ....
rtyper\lltypesystem\test\test_llmemory.py ..................................s....
rtyper\lltypesystem\test\test_lloperation.py .........
rtyper\lltypesystem\test\test_lltype.py ............................................................
rtyper\lltypesystem\test\test_rffi.py ................................s...........s..s.....
rtyper\lltypesystem\test\test_rtagged.py ..............
rtyper\lltypesystem\test\test_ztranslated.py ...
================== 265 passed, 11 skipped in 988.18 seconds ===================
n: 3
Arg 0: 1
Arg 1: 20
Arg 2: 300
++ 05:31:46 starting translator/c/test/test_boehm.py [301 started in total]
__ translator/backendopt/test [298 done in total, somefailed=False] ___________
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 184 items
translator\backendopt\test\test_all.py ............
translator\backendopt\test\test_canraise.py ............
translator\backendopt\test\test_constfold.py ......................
translator\backendopt\test\test_finalizer.py ........
translator\backendopt\test\test_gilanalysis.py ....
translator\backendopt\test\test_graphanalyze.py ...
translator\backendopt\test\test_inline.py ...............................
translator\backendopt\test\test_innerloop.py ...
translator\backendopt\test\test_malloc.py .............s..s..s...s
translator\backendopt\test\test_merge_if_blocks.py .........
translator\backendopt\test\test_removeassert.py ......
translator\backendopt\test\test_removenoops.py ....
translator\backendopt\test\test_ssa.py ....
translator\backendopt\test\test_storesink.py ............
translator\backendopt\test\test_support.py ......
translator\backendopt\test\test_writeanalyze.py ...............s........
=================== 179 passed, 5 skipped in 622.03 seconds ===================
++ 05:34:27 starting translator/c/test/test_database.py [302 started in total]
__ translator/c/test/test_database.py [299 done in total, somefailed=False] ___
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 17 items
translator\c\test\test_database.py .................
========================= 17 passed in 18.92 seconds ==========================
++ 05:34:56 starting translator/c/test/test_exception.py [303 started in total]
__ translator/c/test/test_boehm.py [300 done in total, somefailed=False] ______
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 17 items
translator\c\test\test_boehm.py .................
========================= 17 passed in 598.04 seconds =========================
++ 05:41:53 starting translator/c/test/test_extfunc.py [304 started in total]
__ translator/c/test/test_exception.py [301 done in total, somefailed=False] __
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 10 items
translator\c\test\test_exception.py ..........
========================= 10 passed in 444.16 seconds =========================
++ 05:42:30 starting translator/c/test/test_genc.py [305 started in total]
__ translator/c/test/test_extfunc.py [302 done in total, somefailed=False] ____
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 41 items
translator\c\test\test_extfunc.py ......ss......................s..........
=================== 38 passed, 3 skipped in 1061.90 seconds ===================
++ 05:59:54 starting translator/c/test/test_lladdresses.py [306 started in total]
__ translator/c/test/test_lladdresses.py [303 done in total, somefailed=False]
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 17 items
translator\c\test\test_lladdresses.py .................
========================= 17 passed in 408.72 seconds =========================
++ 06:06:51 starting translator/c/test/test_llop.py [307 started in total]
__ translator/c/test/test_llop.py [304 done in total, somefailed=False] _______
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 4 items
translator\c\test\test_llop.py ....
========================= 4 passed in 237.38 seconds ==========================
++ 06:11:08 starting translator/c/test/test_lltyped.py [308 started in total]
__ rtyper/test [305 done in total, somefailed=True] ___________________________
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 1167 items
rtyper\test\test_annlowlevel.py ..........
rtyper\test\test_controllerentry.py ........
rtyper\test\test_exception.py .........
rtyper\test\test_extfunc.py .......
rtyper\test\test_extregistry.py .......
rtyper\test\test_generator.py ...x..
rtyper\test\test_llann.py .........................
rtyper\test\test_llannotation.py ...
rtyper\test\test_llinterp.py .........................s.......
rtyper\test\test_llop.py ........
rtyper\test\test_nongc.py ........
rtyper\test\test_normalizecalls.py .................
rtyper\test\test_rbool.py ........
rtyper\test\test_rbuilder.py .....................
rtyper\test\test_rbuiltin.py ....................s..ss...................
rtyper\test\test_rbytearray.py ......
rtyper\test\test_rclass.py ...................................................................x.....
rtyper\test\test_rconstantdict.py .....
rtyper\test\test_rdict.py .........................................................................
rtyper\test\test_remptydict.py ..
rtyper\test\test_rfloat.py ............................
rtyper\test\test_rint.py ........................s........
rtyper\test\test_rlist.py ......................................................................................................
rtyper\test\test_rordereddict.py ...........................................................................................................................................s
rtyper\test\test_rpbc.py .................................................................................s..........s.......................................................................................s..........s......
rtyper\test\test_rptr.py .......................
rtyper\test\test_rrange.py ................
rtyper\test\test_rstr.py ....................................................................++ 06:22:46 starting translator/c/test/test_math.py [309 started in total]
__ translator/c/test/test_math.py [306 done in total, somefailed=False] _______
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 2 items
translator\c\test\test_math.py ..
========================= 2 passed in 227.70 seconds ==========================
++ 06:26:59 starting translator/c/test/test_newgc.py [310 started in total]
__ translator/c/test/test_newgc.py [307 done in total, somefailed=True] _______
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 264 items
translator\c\test\test_newgc.py EEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE
=================================== ERRORS ====================================
____________ ERROR at setup of TestMiniMarkGC.test_finalizer_order ____________
cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGC'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator\c\test\test_newgc.py:84:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator\c\test\test_newgc.py:1637: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, rzlib
rlib\rzlib.py:27: in <module>
[dict(prefix='zlib-'),
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
name = 'zlib'
eci = <ExternalCompilationInfo (pre_include_bits=(), includes=('zlib.h',), include_d...libraries=('zlib1',), use_cpp_linker=False, platform=<MsvcPlatform cc=cl.exe>)>
configurations = [{'prefix': 'zlib-'}, {}], symbol = None, _cache = {}
def configure_external_library(name, eci, configurations,
symbol=None, _cache={}):
"""try to find the external library.
On Unix, this simply tests and returns the given eci.
On Windows, various configurations may be tried to compile the
given eci object. These configurations are a list of dicts,
containing:
- prefix: if an absolute path, will prefix each include and
library directories. If a relative path, the external
directory is searched for directories which names start
with the prefix. The last one in alphabetical order
chosen, and becomes the prefix.
- include_dir: prefix + include_dir is added to the include directories
- library_dir: prefix + library_dir is added to the library directories
"""
if sys.platform != 'win32':
configurations = []
key = (name, eci)
try:
return _cache[key]
except KeyError:
last_error = None
# Always try the default configuration
if {} not in configurations:
configurations.append({})
for configuration in configurations:
prefix = configuration.get('prefix', '')
include_dir = configuration.get('include_dir', '')
library_dir = configuration.get('library_dir', '')
if prefix and not os.path.isabs(prefix):
import glob
entries = glob.glob(str(PYPY_EXTERNAL_DIR.join(prefix + '*')))
if entries:
# Get last version
prefix = sorted(entries)[-1]
else:
continue
include_dir = os.path.join(prefix, include_dir)
library_dir = os.path.join(prefix, library_dir)
eci_lib = ExternalCompilationInfo(
include_dirs=include_dir and [include_dir] or [],
library_dirs=library_dir and [library_dir] or [],
)
eci_lib = eci_lib.merge(eci)
# verify that this eci can be compiled
try:
verify_eci(eci_lib)
except CompilationError as e:
last_error = e
else:
_cache[key] = eci_lib
return eci_lib
# Nothing found
if last_error:
> raise last_error
E CompilationError: CompilationError(out="""
E """)
rtyper\tool\rffi_platform.py:846: CompilationError
---------------------------- Captured stderr setup ----------------------------
[platform:msg] Updated environment with vsver 160, using x64 True
___ ERROR at setup of TestMiniMarkGC.test_from_objwithfinalizer_to_youngobj ___
cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGC'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator\c\test\test_newgc.py:84:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator\c\test\test_newgc.py:1637: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, rzlib
rlib\rzlib.py:27: in <module>
[dict(prefix='zlib-'),
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
name = 'zlib'
eci = <ExternalCompilationInfo (pre_include_bits=(), includes=('zlib.h',), include_d...libraries=('zlib1',), use_cpp_linker=False, platform=<MsvcPlatform cc=cl.exe>)>
configurations = [{'prefix': 'zlib-'}, {}], symbol = None, _cache = {}
def configure_external_library(name, eci, configurations,
symbol=None, _cache={}):
"""try to find the external library.
On Unix, this simply tests and returns the given eci.
On Windows, various configurations may be tried to compile the
given eci object. These configurations are a list of dicts,
containing:
- prefix: if an absolute path, will prefix each include and
library directories. If a relative path, the external
directory is searched for directories which names start
with the prefix. The last one in alphabetical order
chosen, and becomes the prefix.
- include_dir: prefix + include_dir is added to the include directories
- library_dir: prefix + library_dir is added to the library directories
"""
if sys.platform != 'win32':
configurations = []
key = (name, eci)
try:
return _cache[key]
except KeyError:
last_error = None
# Always try the default configuration
if {} not in configurations:
configurations.append({})
for configuration in configurations:
prefix = configuration.get('prefix', '')
include_dir = configuration.get('include_dir', '')
library_dir = configuration.get('library_dir', '')
if prefix and not os.path.isabs(prefix):
import glob
entries = glob.glob(str(PYPY_EXTERNAL_DIR.join(prefix + '*')))
if entries:
# Get last version
prefix = sorted(entries)[-1]
else:
continue
include_dir = os.path.join(prefix, include_dir)
library_dir = os.path.join(prefix, library_dir)
eci_lib = ExternalCompilationInfo(
include_dirs=include_dir and [include_dir] or [],
library_dirs=library_dir and [library_dir] or [],
)
eci_lib = eci_lib.merge(eci)
# verify that this eci can be compiled
try:
verify_eci(eci_lib)
except CompilationError as e:
last_error = e
else:
_cache[key] = eci_lib
return eci_lib
# Nothing found
if last_error:
> raise last_error
E CompilationError: CompilationError(out="""
E """)
rtyper\tool\rffi_platform.py:846: CompilationError
_____________ ERROR at setup of TestMiniMarkGC.test_empty_collect _____________
cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGC'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator\c\test\test_newgc.py:84:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator\c\test\test_newgc.py:1637: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, rzlib
rlib\rzlib.py:27: in <module>
[dict(prefix='zlib-'),
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
name = 'zlib'
eci = <ExternalCompilationInfo (pre_include_bits=(), includes=('zlib.h',), include_d...libraries=('zlib1',), use_cpp_linker=False, platform=<MsvcPlatform cc=cl.exe>)>
configurations = [{'prefix': 'zlib-'}, {}], symbol = None, _cache = {}
def configure_external_library(name, eci, configurations,
symbol=None, _cache={}):
"""try to find the external library.
On Unix, this simply tests and returns the given eci.
On Windows, various configurations may be tried to compile the
given eci object. These configurations are a list of dicts,
containing:
- prefix: if an absolute path, will prefix each include and
library directories. If a relative path, the external
directory is searched for directories which names start
with the prefix. The last one in alphabetical order
chosen, and becomes the prefix.
- include_dir: prefix + include_dir is added to the include directories
- library_dir: prefix + library_dir is added to the library directories
"""
if sys.platform != 'win32':
configurations = []
key = (name, eci)
try:
return _cache[key]
except KeyError:
last_error = None
# Always try the default configuration
if {} not in configurations:
configurations.append({})
for configuration in configurations:
prefix = configuration.get('prefix', '')
include_dir = configuration.get('include_dir', '')
library_dir = configuration.get('library_dir', '')
if prefix and not os.path.isabs(prefix):
import glob
entries = glob.glob(str(PYPY_EXTERNAL_DIR.join(prefix + '*')))
if entries:
# Get last version
prefix = sorted(entries)[-1]
else:
continue
include_dir = os.path.join(prefix, include_dir)
library_dir = os.path.join(prefix, library_dir)
eci_lib = ExternalCompilationInfo(
include_dirs=include_dir and [include_dir] or [],
library_dirs=library_dir and [library_dir] or [],
)
eci_lib = eci_lib.merge(eci)
# verify that this eci can be compiled
try:
verify_eci(eci_lib)
except CompilationError as e:
last_error = e
else:
_cache[key] = eci_lib
return eci_lib
# Nothing found
if last_error:
> raise last_error
E CompilationError: CompilationError(out="""
E """)
rtyper\tool\rffi_platform.py:846: CompilationError
___________ ERROR at setup of TestMiniMarkGC.test_framework_simple ____________
cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGC'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator\c\test\test_newgc.py:84:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator\c\test\test_newgc.py:1637: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, rzlib
rlib\rzlib.py:27: in <module>
[dict(prefix='zlib-'),
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
name = 'zlib'
eci = <ExternalCompilationInfo (pre_include_bits=(), includes=('zlib.h',), include_d...libraries=('zlib1',), use_cpp_linker=False, platform=<MsvcPlatform cc=cl.exe>)>
configurations = [{'prefix': 'zlib-'}, {}], symbol = None, _cache = {}
def configure_external_library(name, eci, configurations,
symbol=None, _cache={}):
"""try to find the external library.
On Unix, this simply tests and returns the given eci.
On Windows, various configurations may be tried to compile the
given eci object. These configurations are a list of dicts,
containing:
- prefix: if an absolute path, will prefix each include and
library directories. If a relative path, the external
directory is searched for directories which names start
with the prefix. The last one in alphabetical order
chosen, and becomes the prefix.
- include_dir: prefix + include_dir is added to the include directories
- library_dir: prefix + library_dir is added to the library directories
"""
if sys.platform != 'win32':
configurations = []
key = (name, eci)
try:
return _cache[key]
except KeyError:
last_error = None
# Always try the default configuration
if {} not in configurations:
configurations.append({})
for configuration in configurations:
prefix = configuration.get('prefix', '')
include_dir = configuration.get('include_dir', '')
library_dir = configuration.get('library_dir', '')
if prefix and not os.path.isabs(prefix):
import glob
entries = glob.glob(str(PYPY_EXTERNAL_DIR.join(prefix + '*')))
if entries:
# Get last version
prefix = sorted(entries)[-1]
else:
continue
include_dir = os.path.join(prefix, include_dir)
library_dir = os.path.join(prefix, library_dir)
eci_lib = ExternalCompilationInfo(
include_dirs=include_dir and [include_dir] or [],
library_dirs=library_dir and [library_dir] or [],
)
eci_lib = eci_lib.merge(eci)
# verify that this eci can be compiled
try:
verify_eci(eci_lib)
except CompilationError as e:
last_error = e
else:
_cache[key] = eci_lib
return eci_lib
# Nothing found
if last_error:
> raise last_error
E CompilationError: CompilationError(out="""
E """)
rtyper\tool\rffi_platform.py:846: CompilationError
________ ERROR at setup of TestMiniMarkGC.test_framework_safe_pushpop _________
cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGC'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator\c\test\test_newgc.py:84:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator\c\test\test_newgc.py:1637: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, rzlib
rlib\rzlib.py:27: in <module>
[dict(prefix='zlib-'),
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
name = 'zlib'
eci = <ExternalCompilationInfo (pre_include_bits=(), includes=('zlib.h',), include_d...libraries=('zlib1',), use_cpp_linker=False, platform=<MsvcPlatform cc=cl.exe>)>
configurations = [{'prefix': 'zlib-'}, {}], symbol = None, _cache = {}
def configure_external_library(name, eci, configurations,
symbol=None, _cache={}):
"""try to find the external library.
On Unix, this simply tests and returns the given eci.
On Windows, various configurations may be tried to compile the
given eci object. These configurations are a list of dicts,
containing:
- prefix: if an absolute path, will prefix each include and
library directories. If a relative path, the external
directory is searched for directories which names start
with the prefix. The last one in alphabetical order
chosen, and becomes the prefix.
- include_dir: prefix + include_dir is added to the include directories
- library_dir: prefix + library_dir is added to the library directories
"""
if sys.platform != 'win32':
configurations = []
key = (name, eci)
try:
return _cache[key]
except KeyError:
last_error = None
# Always try the default configuration
if {} not in configurations:
configurations.append({})
for configuration in configurations:
prefix = configuration.get('prefix', '')
include_dir = configuration.get('include_dir', '')
library_dir = configuration.get('library_dir', '')
if prefix and not os.path.isabs(prefix):
import glob
entries = glob.glob(str(PYPY_EXTERNAL_DIR.join(prefix + '*')))
if entries:
# Get last version
prefix = sorted(entries)[-1]
else:
continue
include_dir = os.path.join(prefix, include_dir)
library_dir = os.path.join(prefix, library_dir)
eci_lib = ExternalCompilationInfo(
include_dirs=include_dir and [include_dir] or [],
library_dirs=library_dir and [library_dir] or [],
)
eci_lib = eci_lib.merge(eci)
# verify that this eci can be compiled
try:
verify_eci(eci_lib)
except CompilationError as e:
last_error = e
else:
_cache[key] = eci_lib
return eci_lib
# Nothing found
if last_error:
> raise last_error
E CompilationError: CompilationError(out="""
E """)
rtyper\tool\rffi_platform.py:846: CompilationError
______ ERROR at setup of TestMiniMarkGC.test_framework_protect_getfield _______
cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGC'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator\c\test\test_newgc.py:84:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator\c\test\test_newgc.py:1637: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, rzlib
rlib\rzlib.py:27: in <module>
[dict(prefix='zlib-'),
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
name = 'zlib'
eci = <ExternalCompilationInfo (pre_include_bits=(), includes=('zlib.h',), include_d...libraries=('zlib1',), use_cpp_linker=False, platform=<MsvcPlatform cc=cl.exe>)>
configurations = [{'prefix': 'zlib-'}, {}], symbol = None, _cache = {}
def configure_external_library(name, eci, configurations,
symbol=None, _cache={}):
"""try to find the external library.
On Unix, this simply tests and returns the given eci.
On Windows, various configurations may be tried to compile the
given eci object. These configurations are a list of dicts,
containing:
- prefix: if an absolute path, will prefix each include and
library directories. If a relative path, the external
directory is searched for directories which names start
with the prefix. The last one in alphabetical order
chosen, and becomes the prefix.
- include_dir: prefix + include_dir is added to the include directories
- library_dir: prefix + library_dir is added to the library directories
"""
if sys.platform != 'win32':
configurations = []
key = (name, eci)
try:
return _cache[key]
except KeyError:
last_error = None
# Always try the default configuration
if {} not in configurations:
configurations.append({})
for configuration in configurations:
prefix = configuration.get('prefix', '')
include_dir = configuration.get('include_dir', '')
library_dir = configuration.get('library_dir', '')
if prefix and not os.path.isabs(prefix):
import glob
entries = glob.glob(str(PYPY_EXTERNAL_DIR.join(prefix + '*')))
if entries:
# Get last version
prefix = sorted(entries)[-1]
else:
continue
include_dir = os.path.join(prefix, include_dir)
library_dir = os.path.join(prefix, library_dir)
eci_lib = ExternalCompilationInfo(
include_dirs=include_dir and [include_dir] or [],
library_dirs=library_dir and [library_dir] or [],
)
eci_lib = eci_lib.merge(eci)
# verify that this eci can be compiled
try:
verify_eci(eci_lib)
except CompilationError as e:
last_error = e
else:
_cache[key] = eci_lib
return eci_lib
# Nothing found
if last_error:
> raise last_error
E CompilationError: CompilationError(out="""
E """)
rtyper\tool\rffi_platform.py:846: CompilationError
__________ ERROR at setup of TestMiniMarkGC.test_framework_varsized ___________
cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGC'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator\c\test\test_newgc.py:84:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator\c\test\test_newgc.py:1637: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, rzlib
rlib\rzlib.py:27: in <module>
[dict(prefix='zlib-'),
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
name = 'zlib'
eci = <ExternalCompilationInfo (pre_include_bits=(), includes=('zlib.h',), include_d...libraries=('zlib1',), use_cpp_linker=False, platform=<MsvcPlatform cc=cl.exe>)>
configurations = [{'prefix': 'zlib-'}, {}], symbol = None, _cache = {}
def configure_external_library(name, eci, configurations,
symbol=None, _cache={}):
"""try to find the external library.
On Unix, this simply tests and returns the given eci.
On Windows, various configurations may be tried to compile the
given eci object. These configurations are a list of dicts,
containing:
- prefix: if an absolute path, will prefix each include and
library directories. If a relative path, the external
directory is searched for directories which names start
with the prefix. The last one in alphabetical order
chosen, and becomes the prefix.
- include_dir: prefix + include_dir is added to the include directories
- library_dir: prefix + library_dir is added to the library directories
"""
if sys.platform != 'win32':
configurations = []
key = (name, eci)
try:
return _cache[key]
except KeyError:
last_error = None
# Always try the default configuration
if {} not in configurations:
configurations.append({})
for configuration in configurations:
prefix = configuration.get('prefix', '')
include_dir = configuration.get('include_dir', '')
library_dir = configuration.get('library_dir', '')
if prefix and not os.path.isabs(prefix):
import glob
entries = glob.glob(str(PYPY_EXTERNAL_DIR.join(prefix + '*')))
if entries:
# Get last version
prefix = sorted(entries)[-1]
else:
continue
include_dir = os.path.join(prefix, include_dir)
library_dir = os.path.join(prefix, library_dir)
eci_lib = ExternalCompilationInfo(
include_dirs=include_dir and [include_dir] or [],
library_dirs=library_dir and [library_dir] or [],
)
eci_lib = eci_lib.merge(eci)
# verify that this eci can be compiled
try:
verify_eci(eci_lib)
except CompilationError as e:
last_error = e
else:
_cache[key] = eci_lib
return eci_lib
# Nothing found
if last_error:
> raise last_error
E CompilationError: CompilationError(out="""
E """)
rtyper\tool\rffi_platform.py:846: CompilationError
_________ ERROR at setup of TestMiniMarkGC.test_framework_using_lists _________
cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGC'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator\c\test\test_newgc.py:84:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator\c\test\test_newgc.py:1637: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, rzlib
rlib\rzlib.py:27: in <module>
[dict(prefix='zlib-'),
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
name = 'zlib'
eci = <ExternalCompilationInfo (pre_include_bits=(), includes=('zlib.h',), include_d...libraries=('zlib1',), use_cpp_linker=False, platform=<MsvcPlatform cc=cl.exe>)>
configurations = [{'prefix': 'zlib-'}, {}], symbol = None, _cache = {}
def configure_external_library(name, eci, configurations,
symbol=None, _cache={}):
"""try to find the external library.
On Unix, this simply tests and returns the given eci.
On Windows, various configurations may be tried to compile the
given eci object. These configurations are a list of dicts,
containing:
- prefix: if an absolute path, will prefix each include and
library directories. If a relative path, the external
directory is searched for directories which names start
with the prefix. The last one in alphabetical order
chosen, and becomes the prefix.
- include_dir: prefix + include_dir is added to the include directories
- library_dir: prefix + library_dir is added to the library directories
"""
if sys.platform != 'win32':
configurations = []
key = (name, eci)
try:
return _cache[key]
except KeyError:
last_error = None
# Always try the default configuration
if {} not in configurations:
configurations.append({})
for configuration in configurations:
prefix = configuration.get('prefix', '')
include_dir = configuration.get('include_dir', '')
library_dir = configuration.get('library_dir', '')
if prefix and not os.path.isabs(prefix):
import glob
entries = glob.glob(str(PYPY_EXTERNAL_DIR.join(prefix + '*')))
if entries:
# Get last version
prefix = sorted(entries)[-1]
else:
continue
include_dir = os.path.join(prefix, include_dir)
library_dir = os.path.join(prefix, library_dir)
eci_lib = ExternalCompilationInfo(
include_dirs=include_dir and [include_dir] or [],
library_dirs=library_dir and [library_dir] or [],
)
eci_lib = eci_lib.merge(eci)
# verify that this eci can be compiled
try:
verify_eci(eci_lib)
except CompilationError as e:
last_error = e
else:
_cache[key] = eci_lib
return eci_lib
# Nothing found
if last_error:
> raise last_error
E CompilationError: CompilationError(out="""
E """)
rtyper\tool\rffi_platform.py:846: CompilationError
________ ERROR at setup of TestMiniMarkGC.test_framework_static_roots _________
cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGC'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator\c\test\test_newgc.py:84:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator\c\test\test_newgc.py:1637: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, rzlib
rlib\rzlib.py:27: in <module>
[dict(prefix='zlib-'),
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
name = 'zlib'
eci = <ExternalCompilationInfo (pre_include_bits=(), includes=('zlib.h',), include_d...libraries=('zlib1',), use_cpp_linker=False, platform=<MsvcPlatform cc=cl.exe>)>
configurations = [{'prefix': 'zlib-'}, {}], symbol = None, _cache = {}
def configure_external_library(name, eci, configurations,
symbol=None, _cache={}):
"""try to find the external library.
On Unix, this simply tests and returns the given eci.
On Windows, various configurations may be tried to compile the
given eci object. These configurations are a list of dicts,
containing:
- prefix: if an absolute path, will prefix each include and
library directories. If a relative path, the external
directory is searched for directories which names start
with the prefix. The last one in alphabetical order
chosen, and becomes the prefix.
- include_dir: prefix + include_dir is added to the include directories
- library_dir: prefix + library_dir is added to the library directories
"""
if sys.platform != 'win32':
configurations = []
key = (name, eci)
try:
return _cache[key]
except KeyError:
last_error = None
# Always try the default configuration
if {} not in configurations:
configurations.append({})
for configuration in configurations:
prefix = configuration.get('prefix', '')
include_dir = configuration.get('include_dir', '')
library_dir = configuration.get('library_dir', '')
if prefix and not os.path.isabs(prefix):
import glob
entries = glob.glob(str(PYPY_EXTERNAL_DIR.join(prefix + '*')))
if entries:
# Get last version
prefix = sorted(entries)[-1]
else:
continue
include_dir = os.path.join(prefix, include_dir)
library_dir = os.path.join(prefix, library_dir)
eci_lib = ExternalCompilationInfo(
include_dirs=include_dir and [include_dir] or [],
library_dirs=library_dir and [library_dir] or [],
)
eci_lib = eci_lib.merge(eci)
# verify that this eci can be compiled
try:
verify_eci(eci_lib)
except CompilationError as e:
last_error = e
else:
_cache[key] = eci_lib
return eci_lib
# Nothing found
if last_error:
> raise last_error
E CompilationError: CompilationError(out="""
E """)
rtyper\tool\rffi_platform.py:846: CompilationError
______ ERROR at setup of TestMiniMarkGC.test_framework_nongc_static_root ______
cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGC'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator\c\test\test_newgc.py:84:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator\c\test\test_newgc.py:1637: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, rzlib
rlib\rzlib.py:27: in <module>
[dict(prefix='zlib-'),
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
name = 'zlib'
eci = <ExternalCompilationInfo (pre_include_bits=(), includes=('zlib.h',), include_d...libraries=('zlib1',), use_cpp_linker=False, platform=<MsvcPlatform cc=cl.exe>)>
configurations = [{'prefix': 'zlib-'}, {}], symbol = None, _cache = {}
def configure_external_library(name, eci, configurations,
symbol=None, _cache={}):
"""try to find the external library.
On Unix, this simply tests and returns the given eci.
On Windows, various configurations may be tried to compile the
given eci object. These configurations are a list of dicts,
containing:
- prefix: if an absolute path, will prefix each include and
library directories. If a relative path, the external
directory is searched for directories which names start
with the prefix. The last one in alphabetical order
chosen, and becomes the prefix.
- include_dir: prefix + include_dir is added to the include directories
- library_dir: prefix + library_dir is added to the library directories
"""
if sys.platform != 'win32':
configurations = []
key = (name, eci)
try:
return _cache[key]
except KeyError:
last_error = None
# Always try the default configuration
if {} not in configurations:
configurations.append({})
for configuration in configurations:
prefix = configuration.get('prefix', '')
include_dir = configuration.get('include_dir', '')
library_dir = configuration.get('library_dir', '')
if prefix and not os.path.isabs(prefix):
import glob
entries = glob.glob(str(PYPY_EXTERNAL_DIR.join(prefix + '*')))
if entries:
# Get last version
prefix = sorted(entries)[-1]
else:
continue
include_dir = os.path.join(prefix, include_dir)
library_dir = os.path.join(prefix, library_dir)
eci_lib = ExternalCompilationInfo(
include_dirs=include_dir and [include_dir] or [],
library_dirs=library_dir and [library_dir] or [],
)
eci_lib = eci_lib.merge(eci)
# verify that this eci can be compiled
try:
verify_eci(eci_lib)
except CompilationError as e:
last_error = e
else:
_cache[key] = eci_lib
return eci_lib
# Nothing found
if last_error:
> raise last_error
E CompilationError: CompilationError(out="""
E """)
rtyper\tool\rffi_platform.py:846: CompilationError
_________ ERROR at setup of TestMiniMarkGC.test_framework_void_array __________
cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGC'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator\c\test\test_newgc.py:84:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator\c\test\test_newgc.py:1637: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, rzlib
rlib\rzlib.py:27: in <module>
[dict(prefix='zlib-'),
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
name = 'zlib'
eci = <ExternalCompilationInfo (pre_include_bits=(), includes=('zlib.h',), include_d...libraries=('zlib1',), use_cpp_linker=False, platform=<MsvcPlatform cc=cl.exe>)>
configurations = [{'prefix': 'zlib-'}, {}], symbol = None, _cache = {}
def configure_external_library(name, eci, configurations,
symbol=None, _cache={}):
"""try to find the external library.
On Unix, this simply tests and returns the given eci.
On Windows, various configurations may be tried to compile the
given eci object. These configurations are a list of dicts,
containing:
- prefix: if an absolute path, will prefix each include and
library directories. If a relative path, the external
directory is searched for directories which names start
with the prefix. The last one in alphabetical order
chosen, and becomes the prefix.
- include_dir: prefix + include_dir is added to the include directories
- library_dir: prefix + library_dir is added to the library directories
"""
if sys.platform != 'win32':
configurations = []
key = (name, eci)
try:
return _cache[key]
except KeyError:
last_error = None
# Always try the default configuration
if {} not in configurations:
configurations.append({})
for configuration in configurations:
prefix = configuration.get('prefix', '')
include_dir = configuration.get('include_dir', '')
library_dir = configuration.get('library_dir', '')
if prefix and not os.path.isabs(prefix):
import glob
entries = glob.glob(str(PYPY_EXTERNAL_DIR.join(prefix + '*')))
if entries:
# Get last version
prefix = sorted(entries)[-1]
else:
continue
include_dir = os.path.join(prefix, include_dir)
library_dir = os.path.join(prefix, library_dir)
eci_lib = ExternalCompilationInfo(
include_dirs=include_dir and [include_dir] or [],
library_dirs=library_dir and [library_dir] or [],
)
eci_lib = eci_lib.merge(eci)
# verify that this eci can be compiled
try:
verify_eci(eci_lib)
except CompilationError as e:
last_error = e
else:
_cache[key] = eci_lib
return eci_lib
# Nothing found
if last_error:
> raise last_error
E CompilationError: CompilationError(out="""
E """)
rtyper\tool\rffi_platform.py:846: CompilationError
_______ ERROR at setup of TestMiniMarkGC.test_framework_malloc_failure ________
cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGC'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator\c\test\test_newgc.py:84:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator\c\test\test_newgc.py:1637: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, rzlib
rlib\rzlib.py:27: in <module>
[dict(prefix='zlib-'),
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
name = 'zlib'
eci = <ExternalCompilationInfo (pre_include_bits=(), includes=('zlib.h',), include_d...libraries=('zlib1',), use_cpp_linker=False, platform=<MsvcPlatform cc=cl.exe>)>
configurations = [{'prefix': 'zlib-'}, {}], symbol = None, _cache = {}
def configure_external_library(name, eci, configurations,
symbol=None, _cache={}):
"""try to find the external library.
On Unix, this simply tests and returns the given eci.
On Windows, various configurations may be tried to compile the
given eci object. These configurations are a list of dicts,
containing:
- prefix: if an absolute path, will prefix each include and
library directories. If a relative path, the external
directory is searched for directories which names start
with the prefix. The last one in alphabetical order
chosen, and becomes the prefix.
- include_dir: prefix + include_dir is added to the include directories
- library_dir: prefix + library_dir is added to the library directories
"""
if sys.platform != 'win32':
configurations = []
key = (name, eci)
try:
return _cache[key]
except KeyError:
last_error = None
# Always try the default configuration
if {} not in configurations:
configurations.append({})
for configuration in configurations:
prefix = configuration.get('prefix', '')
include_dir = configuration.get('include_dir', '')
library_dir = configuration.get('library_dir', '')
if prefix and not os.path.isabs(prefix):
import glob
entries = glob.glob(str(PYPY_EXTERNAL_DIR.join(prefix + '*')))
if entries:
# Get last version
prefix = sorted(entries)[-1]
else:
continue
include_dir = os.path.join(prefix, include_dir)
library_dir = os.path.join(prefix, library_dir)
eci_lib = ExternalCompilationInfo(
include_dirs=include_dir and [include_dir] or [],
library_dirs=library_dir and [library_dir] or [],
)
eci_lib = eci_lib.merge(eci)
# verify that this eci can be compiled
try:
verify_eci(eci_lib)
except CompilationError as e:
last_error = e
else:
_cache[key] = eci_lib
return eci_lib
# Nothing found
if last_error:
> raise last_error
E CompilationError: CompilationError(out="""
E """)
rtyper\tool\rffi_platform.py:846: CompilationError
________ ERROR at setup of TestMiniMarkGC.test_framework_array_of_void ________
cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGC'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator\c\test\test_newgc.py:84:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator\c\test\test_newgc.py:1637: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, rzlib
rlib\rzlib.py:27: in <module>
[dict(prefix='zlib-'),
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
name = 'zlib'
eci = <ExternalCompilationInfo (pre_include_bits=(), includes=('zlib.h',), include_d...libraries=('zlib1',), use_cpp_linker=False, platform=<MsvcPlatform cc=cl.exe>)>
configurations = [{'prefix': 'zlib-'}, {}], symbol = None, _cache = {}
def configure_external_library(name, eci, configurations,
symbol=None, _cache={}):
"""try to find the external library.
On Unix, this simply tests and returns the given eci.
On Windows, various configurations may be tried to compile the
given eci object. These configurations are a list of dicts,
containing:
- prefix: if an absolute path, will prefix each include and
library directories. If a relative path, the external
directory is searched for directories which names start
with the prefix. The last one in alphabetical order
chosen, and becomes the prefix.
- include_dir: prefix + include_dir is added to the include directories
- library_dir: prefix + library_dir is added to the library directories
"""
if sys.platform != 'win32':
configurations = []
key = (name, eci)
try:
return _cache[key]
except KeyError:
last_error = None
# Always try the default configuration
if {} not in configurations:
configurations.append({})
for configuration in configurations:
prefix = configuration.get('prefix', '')
include_dir = configuration.get('include_dir', '')
library_dir = configuration.get('library_dir', '')
if prefix and not os.path.isabs(prefix):
import glob
entries = glob.glob(str(PYPY_EXTERNAL_DIR.join(prefix + '*')))
if entries:
# Get last version
prefix = sorted(entries)[-1]
else:
continue
include_dir = os.path.join(prefix, include_dir)
library_dir = os.path.join(prefix, library_dir)
eci_lib = ExternalCompilationInfo(
include_dirs=include_dir and [include_dir] or [],
library_dirs=library_dir and [library_dir] or [],
)
eci_lib = eci_lib.merge(eci)
# verify that this eci can be compiled
try:
verify_eci(eci_lib)
except CompilationError as e:
last_error = e
else:
_cache[key] = eci_lib
return eci_lib
# Nothing found
if last_error:
> raise last_error
E CompilationError: CompilationError(out="""
E """)
rtyper\tool\rffi_platform.py:846: CompilationError
___________ ERROR at setup of TestMiniMarkGC.test_framework_opaque ____________
cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGC'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator\c\test\test_newgc.py:84:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator\c\test\test_newgc.py:1637: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, rzlib
rlib\rzlib.py:27: in <module>
[dict(prefix='zlib-'),
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
name = 'zlib'
eci = <ExternalCompilationInfo (pre_include_bits=(), includes=('zlib.h',), include_d...libraries=('zlib1',), use_cpp_linker=False, platform=<MsvcPlatform cc=cl.exe>)>
configurations = [{'prefix': 'zlib-'}, {}], symbol = None, _cache = {}
def configure_external_library(name, eci, configurations,
symbol=None, _cache={}):
"""try to find the external library.
On Unix, this simply tests and returns the given eci.
On Windows, various configurations may be tried to compile the
given eci object. These configurations are a list of dicts,
containing:
- prefix: if an absolute path, will prefix each include and
library directories. If a relative path, the external
directory is searched for directories which names start
with the prefix. The last one in alphabetical order
chosen, and becomes the prefix.
- include_dir: prefix + include_dir is added to the include directories
- library_dir: prefix + library_dir is added to the library directories
"""
if sys.platform != 'win32':
configurations = []
key = (name, eci)
try:
return _cache[key]
except KeyError:
last_error = None
# Always try the default configuration
if {} not in configurations:
configurations.append({})
for configuration in configurations:
prefix = configuration.get('prefix', '')
include_dir = configuration.get('include_dir', '')
library_dir = configuration.get('library_dir', '')
if prefix and not os.path.isabs(prefix):
import glob
entries = glob.glob(str(PYPY_EXTERNAL_DIR.join(prefix + '*')))
if entries:
# Get last version
prefix = sorted(entries)[-1]
else:
continue
include_dir = os.path.join(prefix, include_dir)
library_dir = os.path.join(prefix, library_dir)
eci_lib = ExternalCompilationInfo(
include_dirs=include_dir and [include_dir] or [],
library_dirs=library_dir and [library_dir] or [],
)
eci_lib = eci_lib.merge(eci)
# verify that this eci can be compiled
try:
verify_eci(eci_lib)
except CompilationError as e:
last_error = e
else:
_cache[key] = eci_lib
return eci_lib
# Nothing found
if last_error:
> raise last_error
E CompilationError: CompilationError(out="""
E """)
rtyper\tool\rffi_platform.py:846: CompilationError
__________ ERROR at setup of TestMiniMarkGC.test_framework_finalizer __________
cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGC'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator\c\test\test_newgc.py:84:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator\c\test\test_newgc.py:1637: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, rzlib
rlib\rzlib.py:27: in <module>
[dict(prefix='zlib-'),
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
name = 'zlib'
eci = <ExternalCompilationInfo (pre_include_bits=(), includes=('zlib.h',), include_d...libraries=('zlib1',), use_cpp_linker=False, platform=<MsvcPlatform cc=cl.exe>)>
configurations = [{'prefix': 'zlib-'}, {}], symbol = None, _cache = {}
def configure_external_library(name, eci, configurations,
symbol=None, _cache={}):
"""try to find the external library.
On Unix, this simply tests and returns the given eci.
On Windows, various configurations may be tried to compile the
given eci object. These configurations are a list of dicts,
containing:
- prefix: if an absolute path, will prefix each include and
library directories. If a relative path, the external
directory is searched for directories which names start
with the prefix. The last one in alphabetical order
chosen, and becomes the prefix.
- include_dir: prefix + include_dir is added to the include directories
- library_dir: prefix + library_dir is added to the library directories
"""
if sys.platform != 'win32':
configurations = []
key = (name, eci)
try:
return _cache[key]
except KeyError:
last_error = None
# Always try the default configuration
if {} not in configurations:
configurations.append({})
for configuration in configurations:
prefix = configuration.get('prefix', '')
include_dir = configuration.get('include_dir', '')
library_dir = configuration.get('library_dir', '')
if prefix and not os.path.isabs(prefix):
import glob
entries = glob.glob(str(PYPY_EXTERNAL_DIR.join(prefix + '*')))
if entries:
# Get last version
prefix = sorted(entries)[-1]
else:
continue
include_dir = os.path.join(prefix, include_dir)
library_dir = os.path.join(prefix, library_dir)
eci_lib = ExternalCompilationInfo(
include_dirs=include_dir and [include_dir] or [],
library_dirs=library_dir and [library_dir] or [],
)
eci_lib = eci_lib.merge(eci)
# verify that this eci can be compiled
try:
verify_eci(eci_lib)
except CompilationError as e:
last_error = e
else:
_cache[key] = eci_lib
return eci_lib
# Nothing found
if last_error:
> raise last_error
E CompilationError: CompilationError(out="""
E """)
rtyper\tool\rffi_platform.py:846: CompilationError
______________ ERROR at setup of TestMiniMarkGC.test_del_catches ______________
cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGC'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator\c\test\test_newgc.py:84:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator\c\test\test_newgc.py:1637: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, rzlib
rlib\rzlib.py:27: in <module>
[dict(prefix='zlib-'),
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
name = 'zlib'
eci = <ExternalCompilationInfo (pre_include_bits=(), includes=('zlib.h',), include_d...libraries=('zlib1',), use_cpp_linker=False, platform=<MsvcPlatform cc=cl.exe>)>
configurations = [{'prefix': 'zlib-'}, {}], symbol = None, _cache = {}
def configure_external_library(name, eci, configurations,
symbol=None, _cache={}):
"""try to find the external library.
On Unix, this simply tests and returns the given eci.
On Windows, various configurations may be tried to compile the
given eci object. These configurations are a list of dicts,
containing:
- prefix: if an absolute path, will prefix each include and
library directories. If a relative path, the external
directory is searched for directories which names start
with the prefix. The last one in alphabetical order
chosen, and becomes the prefix.
- include_dir: prefix + include_dir is added to the include directories
- library_dir: prefix + library_dir is added to the library directories
"""
if sys.platform != 'win32':
configurations = []
key = (name, eci)
try:
return _cache[key]
except KeyError:
last_error = None
# Always try the default configuration
if {} not in configurations:
configurations.append({})
for configuration in configurations:
prefix = configuration.get('prefix', '')
include_dir = configuration.get('include_dir', '')
library_dir = configuration.get('library_dir', '')
if prefix and not os.path.isabs(prefix):
import glob
entries = glob.glob(str(PYPY_EXTERNAL_DIR.join(prefix + '*')))
if entries:
# Get last version
prefix = sorted(entries)[-1]
else:
continue
include_dir = os.path.join(prefix, include_dir)
library_dir = os.path.join(prefix, library_dir)
eci_lib = ExternalCompilationInfo(
include_dirs=include_dir and [include_dir] or [],
library_dirs=library_dir and [library_dir] or [],
)
eci_lib = eci_lib.merge(eci)
# verify that this eci can be compiled
try:
verify_eci(eci_lib)
except CompilationError as e:
last_error = e
else:
_cache[key] = eci_lib
return eci_lib
# Nothing found
if last_error:
> raise last_error
E CompilationError: CompilationError(out="""
E """)
rtyper\tool\rffi_platform.py:846: CompilationError
______________ ERROR at setup of TestMiniMarkGC.test_del_raises _______________
cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGC'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator\c\test\test_newgc.py:84:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator\c\test\test_newgc.py:1637: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, rzlib
rlib\rzlib.py:27: in <module>
[dict(prefix='zlib-'),
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
name = 'zlib'
eci = <ExternalCompilationInfo (pre_include_bits=(), includes=('zlib.h',), include_d...libraries=('zlib1',), use_cpp_linker=False, platform=<MsvcPlatform cc=cl.exe>)>
configurations = [{'prefix': 'zlib-'}, {}], symbol = None, _cache = {}
def configure_external_library(name, eci, configurations,
symbol=None, _cache={}):
"""try to find the external library.
On Unix, this simply tests and returns the given eci.
On Windows, various configurations may be tried to compile the
given eci object. These configurations are a list of dicts,
containing:
- prefix: if an absolute path, will prefix each include and
library directories. If a relative path, the external
directory is searched for directories which names start
with the prefix. The last one in alphabetical order
chosen, and becomes the prefix.
- include_dir: prefix + include_dir is added to the include directories
- library_dir: prefix + library_dir is added to the library directories
"""
if sys.platform != 'win32':
configurations = []
key = (name, eci)
try:
return _cache[key]
except KeyError:
last_error = None
# Always try the default configuration
if {} not in configurations:
configurations.append({})
for configuration in configurations:
prefix = configuration.get('prefix', '')
include_dir = configuration.get('include_dir', '')
library_dir = configuration.get('library_dir', '')
if prefix and not os.path.isabs(prefix):
import glob
entries = glob.glob(str(PYPY_EXTERNAL_DIR.join(prefix + '*')))
if entries:
# Get last version
prefix = sorted(entries)[-1]
else:
continue
include_dir = os.path.join(prefix, include_dir)
library_dir = os.path.join(prefix, library_dir)
eci_lib = ExternalCompilationInfo(
include_dirs=include_dir and [include_dir] or [],
library_dirs=library_dir and [library_dir] or [],
)
eci_lib = eci_lib.merge(eci)
# verify that this eci can be compiled
try:
verify_eci(eci_lib)
except CompilationError as e:
last_error = e
else:
_cache[key] = eci_lib
return eci_lib
# Nothing found
if last_error:
> raise last_error
E CompilationError: CompilationError(out="""
E """)
rtyper\tool\rffi_platform.py:846: CompilationError
_____________ ERROR at setup of TestMiniMarkGC.test_custom_trace ______________
cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGC'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator\c\test\test_newgc.py:84:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator\c\test\test_newgc.py:1637: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, rzlib
rlib\rzlib.py:27: in <module>
[dict(prefix='zlib-'),
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
name = 'zlib'
eci = <ExternalCompilationInfo (pre_include_bits=(), includes=('zlib.h',), include_d...libraries=('zlib1',), use_cpp_linker=False, platform=<MsvcPlatform cc=cl.exe>)>
configurations = [{'prefix': 'zlib-'}, {}], symbol = None, _cache = {}
def configure_external_library(name, eci, configurations,
symbol=None, _cache={}):
"""try to find the external library.
On Unix, this simply tests and returns the given eci.
On Windows, various configurations may be tried to compile the
given eci object. These configurations are a list of dicts,
containing:
- prefix: if an absolute path, will prefix each include and
library directories. If a relative path, the external
directory is searched for directories which names start
with the prefix. The last one in alphabetical order
chosen, and becomes the prefix.
- include_dir: prefix + include_dir is added to the include directories
- library_dir: prefix + library_dir is added to the library directories
"""
if sys.platform != 'win32':
configurations = []
key = (name, eci)
try:
return _cache[key]
except KeyError:
last_error = None
# Always try the default configuration
if {} not in configurations:
configurations.append({})
for configuration in configurations:
prefix = configuration.get('prefix', '')
include_dir = configuration.get('include_dir', '')
library_dir = configuration.get('library_dir', '')
if prefix and not os.path.isabs(prefix):
import glob
entries = glob.glob(str(PYPY_EXTERNAL_DIR.join(prefix + '*')))
if entries:
# Get last version
prefix = sorted(entries)[-1]
else:
continue
include_dir = os.path.join(prefix, include_dir)
library_dir = os.path.join(prefix, library_dir)
eci_lib = ExternalCompilationInfo(
include_dirs=include_dir and [include_dir] or [],
library_dirs=library_dir and [library_dir] or [],
)
eci_lib = eci_lib.merge(eci)
# verify that this eci can be compiled
try:
verify_eci(eci_lib)
except CompilationError as e:
last_error = e
else:
_cache[key] = eci_lib
return eci_lib
# Nothing found
if last_error:
> raise last_error
E CompilationError: CompilationError(out="""
E """)
rtyper\tool\rffi_platform.py:846: CompilationError
________ ERROR at setup of TestMiniMarkGC.test_custom_light_finalizer _________
cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGC'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator\c\test\test_newgc.py:84:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator\c\test\test_newgc.py:1637: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, rzlib
rlib\rzlib.py:27: in <module>
[dict(prefix='zlib-'),
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
name = 'zlib'
eci = <ExternalCompilationInfo (pre_include_bits=(), includes=('zlib.h',), include_d...libraries=('zlib1',), use_cpp_linker=False, platform=<MsvcPlatform cc=cl.exe>)>
configurations = [{'prefix': 'zlib-'}, {}], symbol = None, _cache = {}
def configure_external_library(name, eci, configurations,
symbol=None, _cache={}):
"""try to find the external library.
On Unix, this simply tests and returns the given eci.
On Windows, various configurations may be tried to compile the
given eci object. These configurations are a list of dicts,
containing:
- prefix: if an absolute path, will prefix each include and
library directories. If a relative path, the external
directory is searched for directories which names start
with the prefix. The last one in alphabetical order
chosen, and becomes the prefix.
- include_dir: prefix + include_dir is added to the include directories
- library_dir: prefix + library_dir is added to the library directories
"""
if sys.platform != 'win32':
configurations = []
key = (name, eci)
try:
return _cache[key]
except KeyError:
last_error = None
# Always try the default configuration
if {} not in configurations:
configurations.append({})
for configuration in configurations:
prefix = configuration.get('prefix', '')
include_dir = configuration.get('include_dir', '')
library_dir = configuration.get('library_dir', '')
if prefix and not os.path.isabs(prefix):
import glob
entries = glob.glob(str(PYPY_EXTERNAL_DIR.join(prefix + '*')))
if entries:
# Get last version
prefix = sorted(entries)[-1]
else:
continue
include_dir = os.path.join(prefix, include_dir)
library_dir = os.path.join(prefix, library_dir)
eci_lib = ExternalCompilationInfo(
include_dirs=include_dir and [include_dir] or [],
library_dirs=library_dir and [library_dir] or [],
)
eci_lib = eci_lib.merge(eci)
# verify that this eci can be compiled
try:
verify_eci(eci_lib)
except CompilationError as e:
last_error = e
else:
_cache[key] = eci_lib
return eci_lib
# Nothing found
if last_error:
> raise last_error
E CompilationError: CompilationError(out="""
E """)
rtyper\tool\rffi_platform.py:846: CompilationError
________________ ERROR at setup of TestMiniMarkGC.test_weakref ________________
cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGC'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator\c\test\test_newgc.py:84:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator\c\test\test_newgc.py:1637: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, rzlib
rlib\rzlib.py:27: in <module>
[dict(prefix='zlib-'),
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
name = 'zlib'
eci = <ExternalCompilationInfo (pre_include_bits=(), includes=('zlib.h',), include_d...libraries=('zlib1',), use_cpp_linker=False, platform=<MsvcPlatform cc=cl.exe>)>
configurations = [{'prefix': 'zlib-'}, {}], symbol = None, _cache = {}
def configure_external_library(name, eci, configurations,
symbol=None, _cache={}):
"""try to find the external library.
On Unix, this simply tests and returns the given eci.
On Windows, various configurations may be tried to compile the
given eci object. These configurations are a list of dicts,
containing:
- prefix: if an absolute path, will prefix each include and
library directories. If a relative path, the external
directory is searched for directories which names start
with the prefix. The last one in alphabetical order
chosen, and becomes the prefix.
- include_dir: prefix + include_dir is added to the include directories
- library_dir: prefix + library_dir is added to the library directories
"""
if sys.platform != 'win32':
configurations = []
key = (name, eci)
try:
return _cache[key]
except KeyError:
last_error = None
# Always try the default configuration
if {} not in configurations:
configurations.append({})
for configuration in configurations:
prefix = configuration.get('prefix', '')
include_dir = configuration.get('include_dir', '')
library_dir = configuration.get('library_dir', '')
if prefix and not os.path.isabs(prefix):
import glob
entries = glob.glob(str(PYPY_EXTERNAL_DIR.join(prefix + '*')))
if entries:
# Get last version
prefix = sorted(entries)[-1]
else:
continue
include_dir = os.path.join(prefix, include_dir)
library_dir = os.path.join(prefix, library_dir)
eci_lib = ExternalCompilationInfo(
include_dirs=include_dir and [include_dir] or [],
library_dirs=library_dir and [library_dir] or [],
)
eci_lib = eci_lib.merge(eci)
# verify that this eci can be compiled
try:
verify_eci(eci_lib)
except CompilationError as e:
last_error = e
else:
_cache[key] = eci_lib
return eci_lib
# Nothing found
if last_error:
> raise last_error
E CompilationError: CompilationError(out="""
E """)
rtyper\tool\rffi_platform.py:846: CompilationError
___________ ERROR at setup of TestMiniMarkGC.test_prebuilt_weakref ____________
cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGC'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator\c\test\test_newgc.py:84:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator\c\test\test_newgc.py:1637: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, rzlib
rlib\rzlib.py:27: in <module>
[dict(prefix='zlib-'),
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
name = 'zlib'
eci = <ExternalCompilationInfo (pre_include_bits=(), includes=('zlib.h',), include_d...libraries=('zlib1',), use_cpp_linker=False, platform=<MsvcPlatform cc=cl.exe>)>
configurations = [{'prefix': 'zlib-'}, {}], symbol = None, _cache = {}
def configure_external_library(name, eci, configurations,
symbol=None, _cache={}):
"""try to find the external library.
On Unix, this simply tests and returns the given eci.
On Windows, various configurations may be tried to compile the
given eci object. These configurations are a list of dicts,
containing:
- prefix: if an absolute path, will prefix each include and
library directories. If a relative path, the external
directory is searched for directories which names start
with the prefix. The last one in alphabetical order
chosen, and becomes the prefix.
- include_dir: prefix + include_dir is added to the include directories
- library_dir: prefix + library_dir is added to the library directories
"""
if sys.platform != 'win32':
configurations = []
key = (name, eci)
try:
return _cache[key]
except KeyError:
last_error = None
# Always try the default configuration
if {} not in configurations:
configurations.append({})
for configuration in configurations:
prefix = configuration.get('prefix', '')
include_dir = configuration.get('include_dir', '')
library_dir = configuration.get('library_dir', '')
if prefix and not os.path.isabs(prefix):
import glob
entries = glob.glob(str(PYPY_EXTERNAL_DIR.join(prefix + '*')))
if entries:
# Get last version
prefix = sorted(entries)[-1]
else:
continue
include_dir = os.path.join(prefix, include_dir)
library_dir = os.path.join(prefix, library_dir)
eci_lib = ExternalCompilationInfo(
include_dirs=include_dir and [include_dir] or [],
library_dirs=library_dir and [library_dir] or [],
)
eci_lib = eci_lib.merge(eci)
# verify that this eci can be compiled
try:
verify_eci(eci_lib)
except CompilationError as e:
last_error = e
else:
_cache[key] = eci_lib
return eci_lib
# Nothing found
if last_error:
> raise last_error
E CompilationError: CompilationError(out="""
E """)
rtyper\tool\rffi_platform.py:846: CompilationError
______ ERROR at setup of TestMiniMarkGC.test_prebuilt_dicts_of_all_sizes ______
cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGC'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator\c\test\test_newgc.py:84:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator\c\test\test_newgc.py:1637: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, rzlib
rlib\rzlib.py:27: in <module>
[dict(prefix='zlib-'),
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
name = 'zlib'
eci = <ExternalCompilationInfo (pre_include_bits=(), includes=('zlib.h',), include_d...libraries=('zlib1',), use_cpp_linker=False, platform=<MsvcPlatform cc=cl.exe>)>
configurations = [{'prefix': 'zlib-'}, {}], symbol = None, _cache = {}
def configure_external_library(name, eci, configurations,
symbol=None, _cache={}):
"""try to find the external library.
On Unix, this simply tests and returns the given eci.
On Windows, various configurations may be tried to compile the
given eci object. These configurations are a list of dicts,
containing:
- prefix: if an absolute path, will prefix each include and
library directories. If a relative path, the external
directory is searched for directories which names start
with the prefix. The last one in alphabetical order
chosen, and becomes the prefix.
- include_dir: prefix + include_dir is added to the include directories
- library_dir: prefix + library_dir is added to the library directories
"""
if sys.platform != 'win32':
configurations = []
key = (name, eci)
try:
return _cache[key]
except KeyError:
last_error = None
# Always try the default configuration
if {} not in configurations:
configurations.append({})
for configuration in configurations:
prefix = configuration.get('prefix', '')
include_dir = configuration.get('include_dir', '')
library_dir = configuration.get('library_dir', '')
if prefix and not os.path.isabs(prefix):
import glob
entries = glob.glob(str(PYPY_EXTERNAL_DIR.join(prefix + '*')))
if entries:
# Get last version
prefix = sorted(entries)[-1]
else:
continue
include_dir = os.path.join(prefix, include_dir)
library_dir = os.path.join(prefix, library_dir)
eci_lib = ExternalCompilationInfo(
include_dirs=include_dir and [include_dir] or [],
library_dirs=library_dir and [library_dir] or [],
)
eci_lib = eci_lib.merge(eci)
# verify that this eci can be compiled
try:
verify_eci(eci_lib)
except CompilationError as e:
last_error = e
else:
_cache[key] = eci_lib
return eci_lib
# Nothing found
if last_error:
> raise last_error
E CompilationError: CompilationError(out="""
E """)
rtyper\tool\rffi_platform.py:846: CompilationError
_________ ERROR at setup of TestMiniMarkGC.test_framework_malloc_raw __________
cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGC'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator\c\test\test_newgc.py:84:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator\c\test\test_newgc.py:1637: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, rzlib
rlib\rzlib.py:27: in <module>
[dict(prefix='zlib-'),
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
name = 'zlib'
eci = <ExternalCompilationInfo (pre_include_bits=(), includes=('zlib.h',), include_d...libraries=('zlib1',), use_cpp_linker=False, platform=<MsvcPlatform cc=cl.exe>)>
configurations = [{'prefix': 'zlib-'}, {}], symbol = None, _cache = {}
def configure_external_library(name, eci, configurations,
symbol=None, _cache={}):
"""try to find the external library.
On Unix, this simply tests and returns the given eci.
On Windows, various configurations may be tried to compile the
given eci object. These configurations are a list of dicts,
containing:
- prefix: if an absolute path, will prefix each include and
library directories. If a relative path, the external
directory is searched for directories which names start
with the prefix. The last one in alphabetical order
chosen, and becomes the prefix.
- include_dir: prefix + include_dir is added to the include directories
- library_dir: prefix + library_dir is added to the library directories
"""
if sys.platform != 'win32':
configurations = []
key = (name, eci)
try:
return _cache[key]
except KeyError:
last_error = None
# Always try the default configuration
if {} not in configurations:
configurations.append({})
for configuration in configurations:
prefix = configuration.get('prefix', '')
include_dir = configuration.get('include_dir', '')
library_dir = configuration.get('library_dir', '')
if prefix and not os.path.isabs(prefix):
import glob
entries = glob.glob(str(PYPY_EXTERNAL_DIR.join(prefix + '*')))
if entries:
# Get last version
prefix = sorted(entries)[-1]
else:
continue
include_dir = os.path.join(prefix, include_dir)
library_dir = os.path.join(prefix, library_dir)
eci_lib = ExternalCompilationInfo(
include_dirs=include_dir and [include_dir] or [],
library_dirs=library_dir and [library_dir] or [],
)
eci_lib = eci_lib.merge(eci)
# verify that this eci can be compiled
try:
verify_eci(eci_lib)
except CompilationError as e:
last_error = e
else:
_cache[key] = eci_lib
return eci_lib
# Nothing found
if last_error:
> raise last_error
E CompilationError: CompilationError(out="""
E """)
rtyper\tool\rffi_platform.py:846: CompilationError
____ ERROR at setup of TestMiniMarkGC.test_framework_del_seeing_new_types _____
cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGC'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator\c\test\test_newgc.py:84:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator\c\test\test_newgc.py:1637: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, rzlib
rlib\rzlib.py:27: in <module>
[dict(prefix='zlib-'),
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
name = 'zlib'
eci = <ExternalCompilationInfo (pre_include_bits=(), includes=('zlib.h',), include_d...libraries=('zlib1',), use_cpp_linker=False, platform=<MsvcPlatform cc=cl.exe>)>
configurations = [{'prefix': 'zlib-'}, {}], symbol = None, _cache = {}
def configure_external_library(name, eci, configurations,
symbol=None, _cache={}):
"""try to find the external library.
On Unix, this simply tests and returns the given eci.
On Windows, various configurations may be tried to compile the
given eci object. These configurations are a list of dicts,
containing:
- prefix: if an absolute path, will prefix each include and
library directories. If a relative path, the external
directory is searched for directories which names start
with the prefix. The last one in alphabetical order
chosen, and becomes the prefix.
- include_dir: prefix + include_dir is added to the include directories
- library_dir: prefix + library_dir is added to the library directories
"""
if sys.platform != 'win32':
configurations = []
key = (name, eci)
try:
return _cache[key]
except KeyError:
last_error = None
# Always try the default configuration
if {} not in configurations:
configurations.append({})
for configuration in configurations:
prefix = configuration.get('prefix', '')
include_dir = configuration.get('include_dir', '')
library_dir = configuration.get('library_dir', '')
if prefix and not os.path.isabs(prefix):
import glob
entries = glob.glob(str(PYPY_EXTERNAL_DIR.join(prefix + '*')))
if entries:
# Get last version
prefix = sorted(entries)[-1]
else:
continue
include_dir = os.path.join(prefix, include_dir)
library_dir = os.path.join(prefix, library_dir)
eci_lib = ExternalCompilationInfo(
include_dirs=include_dir and [include_dir] or [],
library_dirs=library_dir and [library_dir] or [],
)
eci_lib = eci_lib.merge(eci)
# verify that this eci can be compiled
try:
verify_eci(eci_lib)
except CompilationError as e:
last_error = e
else:
_cache[key] = eci_lib
return eci_lib
# Nothing found
if last_error:
> raise last_error
E CompilationError: CompilationError(out="""
E """)
rtyper\tool\rffi_platform.py:846: CompilationError
____ ERROR at setup of TestMiniMarkGC.test_framework_late_filling_pointers ____
cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGC'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator\c\test\test_newgc.py:84:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator\c\test\test_newgc.py:1637: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, rzlib
rlib\rzlib.py:27: in <module>
[dict(prefix='zlib-'),
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
name = 'zlib'
eci = <ExternalCompilationInfo (pre_include_bits=(), includes=('zlib.h',), include_d...libraries=('zlib1',), use_cpp_linker=False, platform=<MsvcPlatform cc=cl.exe>)>
configurations = [{'prefix': 'zlib-'}, {}], symbol = None, _cache = {}
def configure_external_library(name, eci, configurations,
symbol=None, _cache={}):
"""try to find the external library.
On Unix, this simply tests and returns the given eci.
On Windows, various configurations may be tried to compile the
given eci object. These configurations are a list of dicts,
containing:
- prefix: if an absolute path, will prefix each include and
library directories. If a relative path, the external
directory is searched for directories which names start
with the prefix. The last one in alphabetical order
chosen, and becomes the prefix.
- include_dir: prefix + include_dir is added to the include directories
- library_dir: prefix + library_dir is added to the library directories
"""
if sys.platform != 'win32':
configurations = []
key = (name, eci)
try:
return _cache[key]
except KeyError:
last_error = None
# Always try the default configuration
if {} not in configurations:
configurations.append({})
for configuration in configurations:
prefix = configuration.get('prefix', '')
include_dir = configuration.get('include_dir', '')
library_dir = configuration.get('library_dir', '')
if prefix and not os.path.isabs(prefix):
import glob
entries = glob.glob(str(PYPY_EXTERNAL_DIR.join(prefix + '*')))
if entries:
# Get last version
prefix = sorted(entries)[-1]
else:
continue
include_dir = os.path.join(prefix, include_dir)
library_dir = os.path.join(prefix, library_dir)
eci_lib = ExternalCompilationInfo(
include_dirs=include_dir and [include_dir] or [],
library_dirs=library_dir and [library_dir] or [],
)
eci_lib = eci_lib.merge(eci)
# verify that this eci can be compiled
try:
verify_eci(eci_lib)
except CompilationError as e:
last_error = e
else:
_cache[key] = eci_lib
return eci_lib
# Nothing found
if last_error:
> raise last_error
E CompilationError: CompilationError(out="""
E """)
rtyper\tool\rffi_platform.py:846: CompilationError
____________ ERROR at setup of TestMiniMarkGC.test_zero_raw_malloc ____________
cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGC'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator\c\test\test_newgc.py:84:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator\c\test\test_newgc.py:1637: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, rzlib
rlib\rzlib.py:27: in <module>
[dict(prefix='zlib-'),
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
name = 'zlib'
eci = <ExternalCompilationInfo (pre_include_bits=(), includes=('zlib.h',), include_d...libraries=('zlib1',), use_cpp_linker=False, platform=<MsvcPlatform cc=cl.exe>)>
configurations = [{'prefix': 'zlib-'}, {}], symbol = None, _cache = {}
def configure_external_library(name, eci, configurations,
symbol=None, _cache={}):
"""try to find the external library.
On Unix, this simply tests and returns the given eci.
On Windows, various configurations may be tried to compile the
given eci object. These configurations are a list of dicts,
containing:
- prefix: if an absolute path, will prefix each include and
library directories. If a relative path, the external
directory is searched for directories which names start
with the prefix. The last one in alphabetical order
chosen, and becomes the prefix.
- include_dir: prefix + include_dir is added to the include directories
- library_dir: prefix + library_dir is added to the library directories
"""
if sys.platform != 'win32':
configurations = []
key = (name, eci)
try:
return _cache[key]
except KeyError:
last_error = None
# Always try the default configuration
if {} not in configurations:
configurations.append({})
for configuration in configurations:
prefix = configuration.get('prefix', '')
include_dir = configuration.get('include_dir', '')
library_dir = configuration.get('library_dir', '')
if prefix and not os.path.isabs(prefix):
import glob
entries = glob.glob(str(PYPY_EXTERNAL_DIR.join(prefix + '*')))
if entries:
# Get last version
prefix = sorted(entries)[-1]
else:
continue
include_dir = os.path.join(prefix, include_dir)
library_dir = os.path.join(prefix, library_dir)
eci_lib = ExternalCompilationInfo(
include_dirs=include_dir and [include_dir] or [],
library_dirs=library_dir and [library_dir] or [],
)
eci_lib = eci_lib.merge(eci)
# verify that this eci can be compiled
try:
verify_eci(eci_lib)
except CompilationError as e:
last_error = e
else:
_cache[key] = eci_lib
return eci_lib
# Nothing found
if last_error:
> raise last_error
E CompilationError: CompilationError(out="""
E """)
rtyper\tool\rffi_platform.py:846: CompilationError
___________ ERROR at setup of TestMiniMarkGC.test_object_alignment ____________
cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGC'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator\c\test\test_newgc.py:84:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator\c\test\test_newgc.py:1637: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, rzlib
rlib\rzlib.py:27: in <module>
[dict(prefix='zlib-'),
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
name = 'zlib'
eci = <ExternalCompilationInfo (pre_include_bits=(), includes=('zlib.h',), include_d...libraries=('zlib1',), use_cpp_linker=False, platform=<MsvcPlatform cc=cl.exe>)>
configurations = [{'prefix': 'zlib-'}, {}], symbol = None, _cache = {}
def configure_external_library(name, eci, configurations,
symbol=None, _cache={}):
"""try to find the external library.
On Unix, this simply tests and returns the given eci.
On Windows, various configurations may be tried to compile the
given eci object. These configurations are a list of dicts,
containing:
- prefix: if an absolute path, will prefix each include and
library directories. If a relative path, the external
directory is searched for directories which names start
with the prefix. The last one in alphabetical order
chosen, and becomes the prefix.
- include_dir: prefix + include_dir is added to the include directories
- library_dir: prefix + library_dir is added to the library directories
"""
if sys.platform != 'win32':
configurations = []
key = (name, eci)
try:
return _cache[key]
except KeyError:
last_error = None
# Always try the default configuration
if {} not in configurations:
configurations.append({})
for configuration in configurations:
prefix = configuration.get('prefix', '')
include_dir = configuration.get('include_dir', '')
library_dir = configuration.get('library_dir', '')
if prefix and not os.path.isabs(prefix):
import glob
entries = glob.glob(str(PYPY_EXTERNAL_DIR.join(prefix + '*')))
if entries:
# Get last version
prefix = sorted(entries)[-1]
else:
continue
include_dir = os.path.join(prefix, include_dir)
library_dir = os.path.join(prefix, library_dir)
eci_lib = ExternalCompilationInfo(
include_dirs=include_dir and [include_dir] or [],
library_dirs=library_dir and [library_dir] or [],
)
eci_lib = eci_lib.merge(eci)
# verify that this eci can be compiled
try:
verify_eci(eci_lib)
except CompilationError as e:
last_error = e
else:
_cache[key] = eci_lib
return eci_lib
# Nothing found
if last_error:
> raise last_error
E CompilationError: CompilationError(out="""
E """)
rtyper\tool\rffi_platform.py:846: CompilationError
_______________ ERROR at setup of TestMiniMarkGC.test_void_list _______________
cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGC'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator\c\test\test_newgc.py:84:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator\c\test\test_newgc.py:1637: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, rzlib
rlib\rzlib.py:27: in <module>
[dict(prefix='zlib-'),
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
name = 'zlib'
eci = <ExternalCompilationInfo (pre_include_bits=(), includes=('zlib.h',), include_d...libraries=('zlib1',), use_cpp_linker=False, platform=<MsvcPlatform cc=cl.exe>)>
configurations = [{'prefix': 'zlib-'}, {}], symbol = None, _cache = {}
def configure_external_library(name, eci, configurations,
symbol=None, _cache={}):
"""try to find the external library.
On Unix, this simply tests and returns the given eci.
On Windows, various configurations may be tried to compile the
given eci object. These configurations are a list of dicts,
containing:
- prefix: if an absolute path, will prefix each include and
library directories. If a relative path, the external
directory is searched for directories which names start
with the prefix. The last one in alphabetical order
chosen, and becomes the prefix.
- include_dir: prefix + include_dir is added to the include directories
- library_dir: prefix + library_dir is added to the library directories
"""
if sys.platform != 'win32':
configurations = []
key = (name, eci)
try:
return _cache[key]
except KeyError:
last_error = None
# Always try the default configuration
if {} not in configurations:
configurations.append({})
for configuration in configurations:
prefix = configuration.get('prefix', '')
include_dir = configuration.get('include_dir', '')
library_dir = configuration.get('library_dir', '')
if prefix and not os.path.isabs(prefix):
import glob
entries = glob.glob(str(PYPY_EXTERNAL_DIR.join(prefix + '*')))
if entries:
# Get last version
prefix = sorted(entries)[-1]
else:
continue
include_dir = os.path.join(prefix, include_dir)
library_dir = os.path.join(prefix, library_dir)
eci_lib = ExternalCompilationInfo(
include_dirs=include_dir and [include_dir] or [],
library_dirs=library_dir and [library_dir] or [],
)
eci_lib = eci_lib.merge(eci)
# verify that this eci can be compiled
try:
verify_eci(eci_lib)
except CompilationError as e:
last_error = e
else:
_cache[key] = eci_lib
return eci_lib
# Nothing found
if last_error:
> raise last_error
E CompilationError: CompilationError(out="""
E """)
rtyper\tool\rffi_platform.py:846: CompilationError
______ ERROR at setup of TestMiniMarkGC.test_open_read_write_seek_close _______
cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGC'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator\c\test\test_newgc.py:84:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator\c\test\test_newgc.py:1637: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, rzlib
rlib\rzlib.py:27: in <module>
[dict(prefix='zlib-'),
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
name = 'zlib'
eci = <ExternalCompilationInfo (pre_include_bits=(), includes=('zlib.h',), include_d...libraries=('zlib1',), use_cpp_linker=False, platform=<MsvcPlatform cc=cl.exe>)>
configurations = [{'prefix': 'zlib-'}, {}], symbol = None, _cache = {}
def configure_external_library(name, eci, configurations,
symbol=None, _cache={}):
"""try to find the external library.
On Unix, this simply tests and returns the given eci.
On Windows, various configurations may be tried to compile the
given eci object. These configurations are a list of dicts,
containing:
- prefix: if an absolute path, will prefix each include and
library directories. If a relative path, the external
directory is searched for directories which names start
with the prefix. The last one in alphabetical order
chosen, and becomes the prefix.
- include_dir: prefix + include_dir is added to the include directories
- library_dir: prefix + library_dir is added to the library directories
"""
if sys.platform != 'win32':
configurations = []
key = (name, eci)
try:
return _cache[key]
except KeyError:
last_error = None
# Always try the default configuration
if {} not in configurations:
configurations.append({})
for configuration in configurations:
prefix = configuration.get('prefix', '')
include_dir = configuration.get('include_dir', '')
library_dir = configuration.get('library_dir', '')
if prefix and not os.path.isabs(prefix):
import glob
entries = glob.glob(str(PYPY_EXTERNAL_DIR.join(prefix + '*')))
if entries:
# Get last version
prefix = sorted(entries)[-1]
else:
continue
include_dir = os.path.join(prefix, include_dir)
library_dir = os.path.join(prefix, library_dir)
eci_lib = ExternalCompilationInfo(
include_dirs=include_dir and [include_dir] or [],
library_dirs=library_dir and [library_dir] or [],
)
eci_lib = eci_lib.merge(eci)
# verify that this eci can be compiled
try:
verify_eci(eci_lib)
except CompilationError as e:
last_error = e
else:
_cache[key] = eci_lib
return eci_lib
# Nothing found
if last_error:
> raise last_error
E CompilationError: CompilationError(out="""
E """)
rtyper\tool\rffi_platform.py:846: CompilationError
_________ ERROR at setup of TestMiniMarkGC.test_callback_with_collect _________
cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGC'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator\c\test\test_newgc.py:84:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator\c\test\test_newgc.py:1637: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, rzlib
rlib\rzlib.py:27: in <module>
[dict(prefix='zlib-'),
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
name = 'zlib'
eci = <ExternalCompilationInfo (pre_include_bits=(), includes=('zlib.h',), include_d...libraries=('zlib1',), use_cpp_linker=False, platform=<MsvcPlatform cc=cl.exe>)>
configurations = [{'prefix': 'zlib-'}, {}], symbol = None, _cache = {}
def configure_external_library(name, eci, configurations,
symbol=None, _cache={}):
"""try to find the external library.
On Unix, this simply tests and returns the given eci.
On Windows, various configurations may be tried to compile the
given eci object. These configurations are a list of dicts,
containing:
- prefix: if an absolute path, will prefix each include and
library directories. If a relative path, the external
directory is searched for directories which names start
with the prefix. The last one in alphabetical order
chosen, and becomes the prefix.
- include_dir: prefix + include_dir is added to the include directories
- library_dir: prefix + library_dir is added to the library directories
"""
if sys.platform != 'win32':
configurations = []
key = (name, eci)
try:
return _cache[key]
except KeyError:
last_error = None
# Always try the default configuration
if {} not in configurations:
configurations.append({})
for configuration in configurations:
prefix = configuration.get('prefix', '')
include_dir = configuration.get('include_dir', '')
library_dir = configuration.get('library_dir', '')
if prefix and not os.path.isabs(prefix):
import glob
entries = glob.glob(str(PYPY_EXTERNAL_DIR.join(prefix + '*')))
if entries:
# Get last version
prefix = sorted(entries)[-1]
else:
continue
include_dir = os.path.join(prefix, include_dir)
library_dir = os.path.join(prefix, library_dir)
eci_lib = ExternalCompilationInfo(
include_dirs=include_dir and [include_dir] or [],
library_dirs=library_dir and [library_dir] or [],
)
eci_lib = eci_lib.merge(eci)
# verify that this eci can be compiled
try:
verify_eci(eci_lib)
except CompilationError as e:
last_error = e
else:
_cache[key] = eci_lib
return eci_lib
# Nothing found
if last_error:
> raise last_error
E CompilationError: CompilationError(out="""
E """)
rtyper\tool\rffi_platform.py:846: CompilationError
_______________ ERROR at setup of TestMiniMarkGC.test_can_move ________________
cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGC'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator\c\test\test_newgc.py:84:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator\c\test\test_newgc.py:1637: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, rzlib
rlib\rzlib.py:27: in <module>
[dict(prefix='zlib-'),
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
name = 'zlib'
eci = <ExternalCompilationInfo (pre_include_bits=(), includes=('zlib.h',), include_d...libraries=('zlib1',), use_cpp_linker=False, platform=<MsvcPlatform cc=cl.exe>)>
configurations = [{'prefix': 'zlib-'}, {}], symbol = None, _cache = {}
def configure_external_library(name, eci, configurations,
symbol=None, _cache={}):
"""try to find the external library.
On Unix, this simply tests and returns the given eci.
On Windows, various configurations may be tried to compile the
given eci object. These configurations are a list of dicts,
containing:
- prefix: if an absolute path, will prefix each include and
library directories. If a relative path, the external
directory is searched for directories which names start
with the prefix. The last one in alphabetical order
chosen, and becomes the prefix.
- include_dir: prefix + include_dir is added to the include directories
- library_dir: prefix + library_dir is added to the library directories
"""
if sys.platform != 'win32':
configurations = []
key = (name, eci)
try:
return _cache[key]
except KeyError:
last_error = None
# Always try the default configuration
if {} not in configurations:
configurations.append({})
for configuration in configurations:
prefix = configuration.get('prefix', '')
include_dir = configuration.get('include_dir', '')
library_dir = configuration.get('library_dir', '')
if prefix and not os.path.isabs(prefix):
import glob
entries = glob.glob(str(PYPY_EXTERNAL_DIR.join(prefix + '*')))
if entries:
# Get last version
prefix = sorted(entries)[-1]
else:
continue
include_dir = os.path.join(prefix, include_dir)
library_dir = os.path.join(prefix, library_dir)
eci_lib = ExternalCompilationInfo(
include_dirs=include_dir and [include_dir] or [],
library_dirs=library_dir and [library_dir] or [],
)
eci_lib = eci_lib.merge(eci)
# verify that this eci can be compiled
try:
verify_eci(eci_lib)
except CompilationError as e:
last_error = e
else:
_cache[key] = eci_lib
return eci_lib
# Nothing found
if last_error:
> raise last_error
E CompilationError: CompilationError(out="""
E """)
rtyper\tool\rffi_platform.py:846: CompilationError
___________ ERROR at setup of TestMiniMarkGC.test_resizable_buffer ____________
cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGC'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator\c\test\test_newgc.py:84:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator\c\test\test_newgc.py:1637: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, rzlib
rlib\rzlib.py:27: in <module>
[dict(prefix='zlib-'),
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
name = 'zlib'
eci = <ExternalCompilationInfo (pre_include_bits=(), includes=('zlib.h',), include_d...libraries=('zlib1',), use_cpp_linker=False, platform=<MsvcPlatform cc=cl.exe>)>
configurations = [{'prefix': 'zlib-'}, {}], symbol = None, _cache = {}
def configure_external_library(name, eci, configurations,
symbol=None, _cache={}):
"""try to find the external library.
On Unix, this simply tests and returns the given eci.
On Windows, various configurations may be tried to compile the
given eci object. These configurations are a list of dicts,
containing:
- prefix: if an absolute path, will prefix each include and
library directories. If a relative path, the external
directory is searched for directories which names start
with the prefix. The last one in alphabetical order
chosen, and becomes the prefix.
- include_dir: prefix + include_dir is added to the include directories
- library_dir: prefix + library_dir is added to the library directories
"""
if sys.platform != 'win32':
configurations = []
key = (name, eci)
try:
return _cache[key]
except KeyError:
last_error = None
# Always try the default configuration
if {} not in configurations:
configurations.append({})
for configuration in configurations:
prefix = configuration.get('prefix', '')
include_dir = configuration.get('include_dir', '')
library_dir = configuration.get('library_dir', '')
if prefix and not os.path.isabs(prefix):
import glob
entries = glob.glob(str(PYPY_EXTERNAL_DIR.join(prefix + '*')))
if entries:
# Get last version
prefix = sorted(entries)[-1]
else:
continue
include_dir = os.path.join(prefix, include_dir)
library_dir = os.path.join(prefix, library_dir)
eci_lib = ExternalCompilationInfo(
include_dirs=include_dir and [include_dir] or [],
library_dirs=library_dir and [library_dir] or [],
)
eci_lib = eci_lib.merge(eci)
# verify that this eci can be compiled
try:
verify_eci(eci_lib)
except CompilationError as e:
last_error = e
else:
_cache[key] = eci_lib
return eci_lib
# Nothing found
if last_error:
> raise last_error
E CompilationError: CompilationError(out="""
E """)
rtyper\tool\rffi_platform.py:846: CompilationError
___________ ERROR at setup of TestMiniMarkGC.test_hash_preservation ___________
cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGC'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator\c\test\test_newgc.py:84:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator\c\test\test_newgc.py:1637: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, rzlib
rlib\rzlib.py:27: in <module>
[dict(prefix='zlib-'),
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
name = 'zlib'
eci = <ExternalCompilationInfo (pre_include_bits=(), includes=('zlib.h',), include_d...libraries=('zlib1',), use_cpp_linker=False, platform=<MsvcPlatform cc=cl.exe>)>
configurations = [{'prefix': 'zlib-'}, {}], symbol = None, _cache = {}
def configure_external_library(name, eci, configurations,
symbol=None, _cache={}):
"""try to find the external library.
On Unix, this simply tests and returns the given eci.
On Windows, various configurations may be tried to compile the
given eci object. These configurations are a list of dicts,
containing:
- prefix: if an absolute path, will prefix each include and
library directories. If a relative path, the external
directory is searched for directories which names start
with the prefix. The last one in alphabetical order
chosen, and becomes the prefix.
- include_dir: prefix + include_dir is added to the include directories
- library_dir: prefix + library_dir is added to the library directories
"""
if sys.platform != 'win32':
configurations = []
key = (name, eci)
try:
return _cache[key]
except KeyError:
last_error = None
# Always try the default configuration
if {} not in configurations:
configurations.append({})
for configuration in configurations:
prefix = configuration.get('prefix', '')
include_dir = configuration.get('include_dir', '')
library_dir = configuration.get('library_dir', '')
if prefix and not os.path.isabs(prefix):
import glob
entries = glob.glob(str(PYPY_EXTERNAL_DIR.join(prefix + '*')))
if entries:
# Get last version
prefix = sorted(entries)[-1]
else:
continue
include_dir = os.path.join(prefix, include_dir)
library_dir = os.path.join(prefix, library_dir)
eci_lib = ExternalCompilationInfo(
include_dirs=include_dir and [include_dir] or [],
library_dirs=library_dir and [library_dir] or [],
)
eci_lib = eci_lib.merge(eci)
# verify that this eci can be compiled
try:
verify_eci(eci_lib)
except CompilationError as e:
last_error = e
else:
_cache[key] = eci_lib
return eci_lib
# Nothing found
if last_error:
> raise last_error
E CompilationError: CompilationError(out="""
E """)
rtyper\tool\rffi_platform.py:846: CompilationError
_____________ ERROR at setup of TestMiniMarkGC.test_hash_overflow _____________
cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGC'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator\c\test\test_newgc.py:84:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator\c\test\test_newgc.py:1637: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, rzlib
rlib\rzlib.py:27: in <module>
[dict(prefix='zlib-'),
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
name = 'zlib'
eci = <ExternalCompilationInfo (pre_include_bits=(), includes=('zlib.h',), include_d...libraries=('zlib1',), use_cpp_linker=False, platform=<MsvcPlatform cc=cl.exe>)>
configurations = [{'prefix': 'zlib-'}, {}], symbol = None, _cache = {}
def configure_external_library(name, eci, configurations,
symbol=None, _cache={}):
"""try to find the external library.
On Unix, this simply tests and returns the given eci.
On Windows, various configurations may be tried to compile the
given eci object. These configurations are a list of dicts,
containing:
- prefix: if an absolute path, will prefix each include and
library directories. If a relative path, the external
directory is searched for directories which names start
with the prefix. The last one in alphabetical order
chosen, and becomes the prefix.
- include_dir: prefix + include_dir is added to the include directories
- library_dir: prefix + library_dir is added to the library directories
"""
if sys.platform != 'win32':
configurations = []
key = (name, eci)
try:
return _cache[key]
except KeyError:
last_error = None
# Always try the default configuration
if {} not in configurations:
configurations.append({})
for configuration in configurations:
prefix = configuration.get('prefix', '')
include_dir = configuration.get('include_dir', '')
library_dir = configuration.get('library_dir', '')
if prefix and not os.path.isabs(prefix):
import glob
entries = glob.glob(str(PYPY_EXTERNAL_DIR.join(prefix + '*')))
if entries:
# Get last version
prefix = sorted(entries)[-1]
else:
continue
include_dir = os.path.join(prefix, include_dir)
library_dir = os.path.join(prefix, library_dir)
eci_lib = ExternalCompilationInfo(
include_dirs=include_dir and [include_dir] or [],
library_dirs=library_dir and [library_dir] or [],
)
eci_lib = eci_lib.merge(eci)
# verify that this eci can be compiled
try:
verify_eci(eci_lib)
except CompilationError as e:
last_error = e
else:
_cache[key] = eci_lib
return eci_lib
# Nothing found
if last_error:
> raise last_error
E CompilationError: CompilationError(out="""
E """)
rtyper\tool\rffi_platform.py:846: CompilationError
_____________ ERROR at setup of TestMiniMarkGC.test_hash_varsized _____________
cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGC'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator\c\test\test_newgc.py:84:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator\c\test\test_newgc.py:1637: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, rzlib
rlib\rzlib.py:27: in <module>
[dict(prefix='zlib-'),
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
name = 'zlib'
eci = <ExternalCompilationInfo (pre_include_bits=(), includes=('zlib.h',), include_d...libraries=('zlib1',), use_cpp_linker=False, platform=<MsvcPlatform cc=cl.exe>)>
configurations = [{'prefix': 'zlib-'}, {}], symbol = None, _cache = {}
def configure_external_library(name, eci, configurations,
symbol=None, _cache={}):
"""try to find the external library.
On Unix, this simply tests and returns the given eci.
On Windows, various configurations may be tried to compile the
given eci object. These configurations are a list of dicts,
containing:
- prefix: if an absolute path, will prefix each include and
library directories. If a relative path, the external
directory is searched for directories which names start
with the prefix. The last one in alphabetical order
chosen, and becomes the prefix.
- include_dir: prefix + include_dir is added to the include directories
- library_dir: prefix + library_dir is added to the library directories
"""
if sys.platform != 'win32':
configurations = []
key = (name, eci)
try:
return _cache[key]
except KeyError:
last_error = None
# Always try the default configuration
if {} not in configurations:
configurations.append({})
for configuration in configurations:
prefix = configuration.get('prefix', '')
include_dir = configuration.get('include_dir', '')
library_dir = configuration.get('library_dir', '')
if prefix and not os.path.isabs(prefix):
import glob
entries = glob.glob(str(PYPY_EXTERNAL_DIR.join(prefix + '*')))
if entries:
# Get last version
prefix = sorted(entries)[-1]
else:
continue
include_dir = os.path.join(prefix, include_dir)
library_dir = os.path.join(prefix, library_dir)
eci_lib = ExternalCompilationInfo(
include_dirs=include_dir and [include_dir] or [],
library_dirs=library_dir and [library_dir] or [],
)
eci_lib = eci_lib.merge(eci)
# verify that this eci can be compiled
try:
verify_eci(eci_lib)
except CompilationError as e:
last_error = e
else:
_cache[key] = eci_lib
return eci_lib
# Nothing found
if last_error:
> raise last_error
E CompilationError: CompilationError(out="""
E """)
rtyper\tool\rffi_platform.py:846: CompilationError
______ ERROR at setup of TestMiniMarkGC.test_arraycopy_writebarrier_int _______
cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGC'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator\c\test\test_newgc.py:84:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator\c\test\test_newgc.py:1637: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, rzlib
rlib\rzlib.py:27: in <module>
[dict(prefix='zlib-'),
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
name = 'zlib'
eci = <ExternalCompilationInfo (pre_include_bits=(), includes=('zlib.h',), include_d...libraries=('zlib1',), use_cpp_linker=False, platform=<MsvcPlatform cc=cl.exe>)>
configurations = [{'prefix': 'zlib-'}, {}], symbol = None, _cache = {}
def configure_external_library(name, eci, configurations,
symbol=None, _cache={}):
"""try to find the external library.
On Unix, this simply tests and returns the given eci.
On Windows, various configurations may be tried to compile the
given eci object. These configurations are a list of dicts,
containing:
- prefix: if an absolute path, will prefix each include and
library directories. If a relative path, the external
directory is searched for directories which names start
with the prefix. The last one in alphabetical order
chosen, and becomes the prefix.
- include_dir: prefix + include_dir is added to the include directories
- library_dir: prefix + library_dir is added to the library directories
"""
if sys.platform != 'win32':
configurations = []
key = (name, eci)
try:
return _cache[key]
except KeyError:
last_error = None
# Always try the default configuration
if {} not in configurations:
configurations.append({})
for configuration in configurations:
prefix = configuration.get('prefix', '')
include_dir = configuration.get('include_dir', '')
library_dir = configuration.get('library_dir', '')
if prefix and not os.path.isabs(prefix):
import glob
entries = glob.glob(str(PYPY_EXTERNAL_DIR.join(prefix + '*')))
if entries:
# Get last version
prefix = sorted(entries)[-1]
else:
continue
include_dir = os.path.join(prefix, include_dir)
library_dir = os.path.join(prefix, library_dir)
eci_lib = ExternalCompilationInfo(
include_dirs=include_dir and [include_dir] or [],
library_dirs=library_dir and [library_dir] or [],
)
eci_lib = eci_lib.merge(eci)
# verify that this eci can be compiled
try:
verify_eci(eci_lib)
except CompilationError as e:
last_error = e
else:
_cache[key] = eci_lib
return eci_lib
# Nothing found
if last_error:
> raise last_error
E CompilationError: CompilationError(out="""
E """)
rtyper\tool\rffi_platform.py:846: CompilationError
______ ERROR at setup of TestMiniMarkGC.test_arraycopy_writebarrier_ptr _______
cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGC'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator\c\test\test_newgc.py:84:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator\c\test\test_newgc.py:1637: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, rzlib
rlib\rzlib.py:27: in <module>
[dict(prefix='zlib-'),
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
name = 'zlib'
eci = <ExternalCompilationInfo (pre_include_bits=(), includes=('zlib.h',), include_d...libraries=('zlib1',), use_cpp_linker=False, platform=<MsvcPlatform cc=cl.exe>)>
configurations = [{'prefix': 'zlib-'}, {}], symbol = None, _cache = {}
def configure_external_library(name, eci, configurations,
symbol=None, _cache={}):
"""try to find the external library.
On Unix, this simply tests and returns the given eci.
On Windows, various configurations may be tried to compile the
given eci object. These configurations are a list of dicts,
containing:
- prefix: if an absolute path, will prefix each include and
library directories. If a relative path, the external
directory is searched for directories which names start
with the prefix. The last one in alphabetical order
chosen, and becomes the prefix.
- include_dir: prefix + include_dir is added to the include directories
- library_dir: prefix + library_dir is added to the library directories
"""
if sys.platform != 'win32':
configurations = []
key = (name, eci)
try:
return _cache[key]
except KeyError:
last_error = None
# Always try the default configuration
if {} not in configurations:
configurations.append({})
for configuration in configurations:
prefix = configuration.get('prefix', '')
include_dir = configuration.get('include_dir', '')
library_dir = configuration.get('library_dir', '')
if prefix and not os.path.isabs(prefix):
import glob
entries = glob.glob(str(PYPY_EXTERNAL_DIR.join(prefix + '*')))
if entries:
# Get last version
prefix = sorted(entries)[-1]
else:
continue
include_dir = os.path.join(prefix, include_dir)
library_dir = os.path.join(prefix, library_dir)
eci_lib = ExternalCompilationInfo(
include_dirs=include_dir and [include_dir] or [],
library_dirs=library_dir and [library_dir] or [],
)
eci_lib = eci_lib.merge(eci)
# verify that this eci can be compiled
try:
verify_eci(eci_lib)
except CompilationError as e:
last_error = e
else:
_cache[key] = eci_lib
return eci_lib
# Nothing found
if last_error:
> raise last_error
E CompilationError: CompilationError(out="""
E """)
rtyper\tool\rffi_platform.py:846: CompilationError
_____________ ERROR at setup of TestMiniMarkGC.test_get_rpy_roots _____________
cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGC'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator\c\test\test_newgc.py:84:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator\c\test\test_newgc.py:1637: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, rzlib
rlib\rzlib.py:27: in <module>
[dict(prefix='zlib-'),
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
name = 'zlib'
eci = <ExternalCompilationInfo (pre_include_bits=(), includes=('zlib.h',), include_d...libraries=('zlib1',), use_cpp_linker=False, platform=<MsvcPlatform cc=cl.exe>)>
configurations = [{'prefix': 'zlib-'}, {}], symbol = None, _cache = {}
def configure_external_library(name, eci, configurations,
symbol=None, _cache={}):
"""try to find the external library.
On Unix, this simply tests and returns the given eci.
On Windows, various configurations may be tried to compile the
given eci object. These configurations are a list of dicts,
containing:
- prefix: if an absolute path, will prefix each include and
library directories. If a relative path, the external
directory is searched for directories which names start
with the prefix. The last one in alphabetical order
chosen, and becomes the prefix.
- include_dir: prefix + include_dir is added to the include directories
- library_dir: prefix + library_dir is added to the library directories
"""
if sys.platform != 'win32':
configurations = []
key = (name, eci)
try:
return _cache[key]
except KeyError:
last_error = None
# Always try the default configuration
if {} not in configurations:
configurations.append({})
for configuration in configurations:
prefix = configuration.get('prefix', '')
include_dir = configuration.get('include_dir', '')
library_dir = configuration.get('library_dir', '')
if prefix and not os.path.isabs(prefix):
import glob
entries = glob.glob(str(PYPY_EXTERNAL_DIR.join(prefix + '*')))
if entries:
# Get last version
prefix = sorted(entries)[-1]
else:
continue
include_dir = os.path.join(prefix, include_dir)
library_dir = os.path.join(prefix, library_dir)
eci_lib = ExternalCompilationInfo(
include_dirs=include_dir and [include_dir] or [],
library_dirs=library_dir and [library_dir] or [],
)
eci_lib = eci_lib.merge(eci)
# verify that this eci can be compiled
try:
verify_eci(eci_lib)
except CompilationError as e:
last_error = e
else:
_cache[key] = eci_lib
return eci_lib
# Nothing found
if last_error:
> raise last_error
E CompilationError: CompilationError(out="""
E """)
rtyper\tool\rffi_platform.py:846: CompilationError
___________ ERROR at setup of TestMiniMarkGC.test_get_rpy_referents ___________
cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGC'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator\c\test\test_newgc.py:84:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator\c\test\test_newgc.py:1637: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, rzlib
rlib\rzlib.py:27: in <module>
[dict(prefix='zlib-'),
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
name = 'zlib'
eci = <ExternalCompilationInfo (pre_include_bits=(), includes=('zlib.h',), include_d...libraries=('zlib1',), use_cpp_linker=False, platform=<MsvcPlatform cc=cl.exe>)>
configurations = [{'prefix': 'zlib-'}, {}], symbol = None, _cache = {}
def configure_external_library(name, eci, configurations,
symbol=None, _cache={}):
"""try to find the external library.
On Unix, this simply tests and returns the given eci.
On Windows, various configurations may be tried to compile the
given eci object. These configurations are a list of dicts,
containing:
- prefix: if an absolute path, will prefix each include and
library directories. If a relative path, the external
directory is searched for directories which names start
with the prefix. The last one in alphabetical order
chosen, and becomes the prefix.
- include_dir: prefix + include_dir is added to the include directories
- library_dir: prefix + library_dir is added to the library directories
"""
if sys.platform != 'win32':
configurations = []
key = (name, eci)
try:
return _cache[key]
except KeyError:
last_error = None
# Always try the default configuration
if {} not in configurations:
configurations.append({})
for configuration in configurations:
prefix = configuration.get('prefix', '')
include_dir = configuration.get('include_dir', '')
library_dir = configuration.get('library_dir', '')
if prefix and not os.path.isabs(prefix):
import glob
entries = glob.glob(str(PYPY_EXTERNAL_DIR.join(prefix + '*')))
if entries:
# Get last version
prefix = sorted(entries)[-1]
else:
continue
include_dir = os.path.join(prefix, include_dir)
library_dir = os.path.join(prefix, library_dir)
eci_lib = ExternalCompilationInfo(
include_dirs=include_dir and [include_dir] or [],
library_dirs=library_dir and [library_dir] or [],
)
eci_lib = eci_lib.merge(eci)
# verify that this eci can be compiled
try:
verify_eci(eci_lib)
except CompilationError as e:
last_error = e
else:
_cache[key] = eci_lib
return eci_lib
# Nothing found
if last_error:
> raise last_error
E CompilationError: CompilationError(out="""
E """)
rtyper\tool\rffi_platform.py:846: CompilationError
____________ ERROR at setup of TestMiniMarkGC.test_is_rpy_instance ____________
cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGC'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator\c\test\test_newgc.py:84:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator\c\test\test_newgc.py:1637: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, rzlib
rlib\rzlib.py:27: in <module>
[dict(prefix='zlib-'),
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
name = 'zlib'
eci = <ExternalCompilationInfo (pre_include_bits=(), includes=('zlib.h',), include_d...libraries=('zlib1',), use_cpp_linker=False, platform=<MsvcPlatform cc=cl.exe>)>
configurations = [{'prefix': 'zlib-'}, {}], symbol = None, _cache = {}
def configure_external_library(name, eci, configurations,
symbol=None, _cache={}):
"""try to find the external library.
On Unix, this simply tests and returns the given eci.
On Windows, various configurations may be tried to compile the
given eci object. These configurations are a list of dicts,
containing:
- prefix: if an absolute path, will prefix each include and
library directories. If a relative path, the external
directory is searched for directories which names start
with the prefix. The last one in alphabetical order
chosen, and becomes the prefix.
- include_dir: prefix + include_dir is added to the include directories
- library_dir: prefix + library_dir is added to the library directories
"""
if sys.platform != 'win32':
configurations = []
key = (name, eci)
try:
return _cache[key]
except KeyError:
last_error = None
# Always try the default configuration
if {} not in configurations:
configurations.append({})
for configuration in configurations:
prefix = configuration.get('prefix', '')
include_dir = configuration.get('include_dir', '')
library_dir = configuration.get('library_dir', '')
if prefix and not os.path.isabs(prefix):
import glob
entries = glob.glob(str(PYPY_EXTERNAL_DIR.join(prefix + '*')))
if entries:
# Get last version
prefix = sorted(entries)[-1]
else:
continue
include_dir = os.path.join(prefix, include_dir)
library_dir = os.path.join(prefix, library_dir)
eci_lib = ExternalCompilationInfo(
include_dirs=include_dir and [include_dir] or [],
library_dirs=library_dir and [library_dir] or [],
)
eci_lib = eci_lib.merge(eci)
# verify that this eci can be compiled
try:
verify_eci(eci_lib)
except CompilationError as e:
last_error = e
else:
_cache[key] = eci_lib
return eci_lib
# Nothing found
if last_error:
> raise last_error
E CompilationError: CompilationError(out="""
E """)
rtyper\tool\rffi_platform.py:846: CompilationError
______ ERROR at setup of TestMiniMarkGC.test_try_cast_gcref_to_instance _______
cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGC'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator\c\test\test_newgc.py:84:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator\c\test\test_newgc.py:1637: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, rzlib
rlib\rzlib.py:27: in <module>
[dict(prefix='zlib-'),
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
name = 'zlib'
eci = <ExternalCompilationInfo (pre_include_bits=(), includes=('zlib.h',), include_d...libraries=('zlib1',), use_cpp_linker=False, platform=<MsvcPlatform cc=cl.exe>)>
configurations = [{'prefix': 'zlib-'}, {}], symbol = None, _cache = {}
def configure_external_library(name, eci, configurations,
symbol=None, _cache={}):
"""try to find the external library.
On Unix, this simply tests and returns the given eci.
On Windows, various configurations may be tried to compile the
given eci object. These configurations are a list of dicts,
containing:
- prefix: if an absolute path, will prefix each include and
library directories. If a relative path, the external
directory is searched for directories which names start
with the prefix. The last one in alphabetical order
chosen, and becomes the prefix.
- include_dir: prefix + include_dir is added to the include directories
- library_dir: prefix + library_dir is added to the library directories
"""
if sys.platform != 'win32':
configurations = []
key = (name, eci)
try:
return _cache[key]
except KeyError:
last_error = None
# Always try the default configuration
if {} not in configurations:
configurations.append({})
for configuration in configurations:
prefix = configuration.get('prefix', '')
include_dir = configuration.get('include_dir', '')
library_dir = configuration.get('library_dir', '')
if prefix and not os.path.isabs(prefix):
import glob
entries = glob.glob(str(PYPY_EXTERNAL_DIR.join(prefix + '*')))
if entries:
# Get last version
prefix = sorted(entries)[-1]
else:
continue
include_dir = os.path.join(prefix, include_dir)
library_dir = os.path.join(prefix, library_dir)
eci_lib = ExternalCompilationInfo(
include_dirs=include_dir and [include_dir] or [],
library_dirs=library_dir and [library_dir] or [],
)
eci_lib = eci_lib.merge(eci)
# verify that this eci can be compiled
try:
verify_eci(eci_lib)
except CompilationError as e:
last_error = e
else:
_cache[key] = eci_lib
return eci_lib
# Nothing found
if last_error:
> raise last_error
E CompilationError: CompilationError(out="""
E """)
rtyper\tool\rffi_platform.py:846: CompilationError
_________ ERROR at setup of TestMiniMarkGC.test_get_rpy_memory_usage __________
cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGC'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator\c\test\test_newgc.py:84:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator\c\test\test_newgc.py:1637: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, rzlib
rlib\rzlib.py:27: in <module>
[dict(prefix='zlib-'),
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
name = 'zlib'
eci = <ExternalCompilationInfo (pre_include_bits=(), includes=('zlib.h',), include_d...libraries=('zlib1',), use_cpp_linker=False, platform=<MsvcPlatform cc=cl.exe>)>
configurations = [{'prefix': 'zlib-'}, {}], symbol = None, _cache = {}
def configure_external_library(name, eci, configurations,
symbol=None, _cache={}):
"""try to find the external library.
On Unix, this simply tests and returns the given eci.
On Windows, various configurations may be tried to compile the
given eci object. These configurations are a list of dicts,
containing:
- prefix: if an absolute path, will prefix each include and
library directories. If a relative path, the external
directory is searched for directories which names start
with the prefix. The last one in alphabetical order
chosen, and becomes the prefix.
- include_dir: prefix + include_dir is added to the include directories
- library_dir: prefix + library_dir is added to the library directories
"""
if sys.platform != 'win32':
configurations = []
key = (name, eci)
try:
return _cache[key]
except KeyError:
last_error = None
# Always try the default configuration
if {} not in configurations:
configurations.append({})
for configuration in configurations:
prefix = configuration.get('prefix', '')
include_dir = configuration.get('include_dir', '')
library_dir = configuration.get('library_dir', '')
if prefix and not os.path.isabs(prefix):
import glob
entries = glob.glob(str(PYPY_EXTERNAL_DIR.join(prefix + '*')))
if entries:
# Get last version
prefix = sorted(entries)[-1]
else:
continue
include_dir = os.path.join(prefix, include_dir)
library_dir = os.path.join(prefix, library_dir)
eci_lib = ExternalCompilationInfo(
include_dirs=include_dir and [include_dir] or [],
library_dirs=library_dir and [library_dir] or [],
)
eci_lib = eci_lib.merge(eci)
# verify that this eci can be compiled
try:
verify_eci(eci_lib)
except CompilationError as e:
last_error = e
else:
_cache[key] = eci_lib
return eci_lib
# Nothing found
if last_error:
> raise last_error
E CompilationError: CompilationError(out="""
E """)
rtyper\tool\rffi_platform.py:846: CompilationError
__________ ERROR at setup of TestMiniMarkGC.test_get_rpy_type_index ___________
cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGC'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator\c\test\test_newgc.py:84:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator\c\test\test_newgc.py:1637: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, rzlib
rlib\rzlib.py:27: in <module>
[dict(prefix='zlib-'),
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
name = 'zlib'
eci = <ExternalCompilationInfo (pre_include_bits=(), includes=('zlib.h',), include_d...libraries=('zlib1',), use_cpp_linker=False, platform=<MsvcPlatform cc=cl.exe>)>
configurations = [{'prefix': 'zlib-'}, {}], symbol = None, _cache = {}
def configure_external_library(name, eci, configurations,
symbol=None, _cache={}):
"""try to find the external library.
On Unix, this simply tests and returns the given eci.
On Windows, various configurations may be tried to compile the
given eci object. These configurations are a list of dicts,
containing:
- prefix: if an absolute path, will prefix each include and
library directories. If a relative path, the external
directory is searched for directories which names start
with the prefix. The last one in alphabetical order
chosen, and becomes the prefix.
- include_dir: prefix + include_dir is added to the include directories
- library_dir: prefix + library_dir is added to the library directories
"""
if sys.platform != 'win32':
configurations = []
key = (name, eci)
try:
return _cache[key]
except KeyError:
last_error = None
# Always try the default configuration
if {} not in configurations:
configurations.append({})
for configuration in configurations:
prefix = configuration.get('prefix', '')
include_dir = configuration.get('include_dir', '')
library_dir = configuration.get('library_dir', '')
if prefix and not os.path.isabs(prefix):
import glob
entries = glob.glob(str(PYPY_EXTERNAL_DIR.join(prefix + '*')))
if entries:
# Get last version
prefix = sorted(entries)[-1]
else:
continue
include_dir = os.path.join(prefix, include_dir)
library_dir = os.path.join(prefix, library_dir)
eci_lib = ExternalCompilationInfo(
include_dirs=include_dir and [include_dir] or [],
library_dirs=library_dir and [library_dir] or [],
)
eci_lib = eci_lib.merge(eci)
# verify that this eci can be compiled
try:
verify_eci(eci_lib)
except CompilationError as e:
last_error = e
else:
_cache[key] = eci_lib
return eci_lib
# Nothing found
if last_error:
> raise last_error
E CompilationError: CompilationError(out="""
E """)
rtyper\tool\rffi_platform.py:846: CompilationError
_____________ ERROR at setup of TestMiniMarkGC.test_dump_rpy_heap _____________
cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGC'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator\c\test\test_newgc.py:84:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator\c\test\test_newgc.py:1637: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, rzlib
rlib\rzlib.py:27: in <module>
[dict(prefix='zlib-'),
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
name = 'zlib'
eci = <ExternalCompilationInfo (pre_include_bits=(), includes=('zlib.h',), include_d...libraries=('zlib1',), use_cpp_linker=False, platform=<MsvcPlatform cc=cl.exe>)>
configurations = [{'prefix': 'zlib-'}, {}], symbol = None, _cache = {}
def configure_external_library(name, eci, configurations,
symbol=None, _cache={}):
"""try to find the external library.
On Unix, this simply tests and returns the given eci.
On Windows, various configurations may be tried to compile the
given eci object. These configurations are a list of dicts,
containing:
- prefix: if an absolute path, will prefix each include and
library directories. If a relative path, the external
directory is searched for directories which names start
with the prefix. The last one in alphabetical order
chosen, and becomes the prefix.
- include_dir: prefix + include_dir is added to the include directories
- library_dir: prefix + library_dir is added to the library directories
"""
if sys.platform != 'win32':
configurations = []
key = (name, eci)
try:
return _cache[key]
except KeyError:
last_error = None
# Always try the default configuration
if {} not in configurations:
configurations.append({})
for configuration in configurations:
prefix = configuration.get('prefix', '')
include_dir = configuration.get('include_dir', '')
library_dir = configuration.get('library_dir', '')
if prefix and not os.path.isabs(prefix):
import glob
entries = glob.glob(str(PYPY_EXTERNAL_DIR.join(prefix + '*')))
if entries:
# Get last version
prefix = sorted(entries)[-1]
else:
continue
include_dir = os.path.join(prefix, include_dir)
library_dir = os.path.join(prefix, library_dir)
eci_lib = ExternalCompilationInfo(
include_dirs=include_dir and [include_dir] or [],
library_dirs=library_dir and [library_dir] or [],
)
eci_lib = eci_lib.merge(eci)
# verify that this eci can be compiled
try:
verify_eci(eci_lib)
except CompilationError as e:
last_error = e
else:
_cache[key] = eci_lib
return eci_lib
# Nothing found
if last_error:
> raise last_error
E CompilationError: CompilationError(out="""
E """)
rtyper\tool\rffi_platform.py:846: CompilationError
____________ ERROR at setup of TestMiniMarkGC.test_write_typeids_z ____________
cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGC'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator\c\test\test_newgc.py:84:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator\c\test\test_newgc.py:1637: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, rzlib
rlib\rzlib.py:27: in <module>
[dict(prefix='zlib-'),
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
name = 'zlib'
eci = <ExternalCompilationInfo (pre_include_bits=(), includes=('zlib.h',), include_d...libraries=('zlib1',), use_cpp_linker=False, platform=<MsvcPlatform cc=cl.exe>)>
configurations = [{'prefix': 'zlib-'}, {}], symbol = None, _cache = {}
def configure_external_library(name, eci, configurations,
symbol=None, _cache={}):
"""try to find the external library.
On Unix, this simply tests and returns the given eci.
On Windows, various configurations may be tried to compile the
given eci object. These configurations are a list of dicts,
containing:
- prefix: if an absolute path, will prefix each include and
library directories. If a relative path, the external
directory is searched for directories which names start
with the prefix. The last one in alphabetical order
chosen, and becomes the prefix.
- include_dir: prefix + include_dir is added to the include directories
- library_dir: prefix + library_dir is added to the library directories
"""
if sys.platform != 'win32':
configurations = []
key = (name, eci)
try:
return _cache[key]
except KeyError:
last_error = None
# Always try the default configuration
if {} not in configurations:
configurations.append({})
for configuration in configurations:
prefix = configuration.get('prefix', '')
include_dir = configuration.get('include_dir', '')
library_dir = configuration.get('library_dir', '')
if prefix and not os.path.isabs(prefix):
import glob
entries = glob.glob(str(PYPY_EXTERNAL_DIR.join(prefix + '*')))
if entries:
# Get last version
prefix = sorted(entries)[-1]
else:
continue
include_dir = os.path.join(prefix, include_dir)
library_dir = os.path.join(prefix, library_dir)
eci_lib = ExternalCompilationInfo(
include_dirs=include_dir and [include_dir] or [],
library_dirs=library_dir and [library_dir] or [],
)
eci_lib = eci_lib.merge(eci)
# verify that this eci can be compiled
try:
verify_eci(eci_lib)
except CompilationError as e:
last_error = e
else:
_cache[key] = eci_lib
return eci_lib
# Nothing found
if last_error:
> raise last_error
E CompilationError: CompilationError(out="""
E """)
rtyper\tool\rffi_platform.py:846: CompilationError
_____________ ERROR at setup of TestMiniMarkGC.test_gcflag_extra ______________
cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGC'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator\c\test\test_newgc.py:84:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator\c\test\test_newgc.py:1637: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, rzlib
rlib\rzlib.py:27: in <module>
[dict(prefix='zlib-'),
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
name = 'zlib'
eci = <ExternalCompilationInfo (pre_include_bits=(), includes=('zlib.h',), include_d...libraries=('zlib1',), use_cpp_linker=False, platform=<MsvcPlatform cc=cl.exe>)>
configurations = [{'prefix': 'zlib-'}, {}], symbol = None, _cache = {}
def configure_external_library(name, eci, configurations,
symbol=None, _cache={}):
"""try to find the external library.
On Unix, this simply tests and returns the given eci.
On Windows, various configurations may be tried to compile the
given eci object. These configurations are a list of dicts,
containing:
- prefix: if an absolute path, will prefix each include and
library directories. If a relative path, the external
directory is searched for directories which names start
with the prefix. The last one in alphabetical order
chosen, and becomes the prefix.
- include_dir: prefix + include_dir is added to the include directories
- library_dir: prefix + library_dir is added to the library directories
"""
if sys.platform != 'win32':
configurations = []
key = (name, eci)
try:
return _cache[key]
except KeyError:
last_error = None
# Always try the default configuration
if {} not in configurations:
configurations.append({})
for configuration in configurations:
prefix = configuration.get('prefix', '')
include_dir = configuration.get('include_dir', '')
library_dir = configuration.get('library_dir', '')
if prefix and not os.path.isabs(prefix):
import glob
entries = glob.glob(str(PYPY_EXTERNAL_DIR.join(prefix + '*')))
if entries:
# Get last version
prefix = sorted(entries)[-1]
else:
continue
include_dir = os.path.join(prefix, include_dir)
library_dir = os.path.join(prefix, library_dir)
eci_lib = ExternalCompilationInfo(
include_dirs=include_dir and [include_dir] or [],
library_dirs=library_dir and [library_dir] or [],
)
eci_lib = eci_lib.merge(eci)
# verify that this eci can be compiled
try:
verify_eci(eci_lib)
except CompilationError as e:
last_error = e
else:
_cache[key] = eci_lib
return eci_lib
# Nothing found
if last_error:
> raise last_error
E CompilationError: CompilationError(out="""
E """)
rtyper\tool\rffi_platform.py:846: CompilationError
___________ ERROR at setup of TestMiniMarkGC.test_check_zero_works ____________
cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGC'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator\c\test\test_newgc.py:84:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator\c\test\test_newgc.py:1637: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, rzlib
rlib\rzlib.py:27: in <module>
[dict(prefix='zlib-'),
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
name = 'zlib'
eci = <ExternalCompilationInfo (pre_include_bits=(), includes=('zlib.h',), include_d...libraries=('zlib1',), use_cpp_linker=False, platform=<MsvcPlatform cc=cl.exe>)>
configurations = [{'prefix': 'zlib-'}, {}], symbol = None, _cache = {}
def configure_external_library(name, eci, configurations,
symbol=None, _cache={}):
"""try to find the external library.
On Unix, this simply tests and returns the given eci.
On Windows, various configurations may be tried to compile the
given eci object. These configurations are a list of dicts,
containing:
- prefix: if an absolute path, will prefix each include and
library directories. If a relative path, the external
directory is searched for directories which names start
with the prefix. The last one in alphabetical order
chosen, and becomes the prefix.
- include_dir: prefix + include_dir is added to the include directories
- library_dir: prefix + library_dir is added to the library directories
"""
if sys.platform != 'win32':
configurations = []
key = (name, eci)
try:
return _cache[key]
except KeyError:
last_error = None
# Always try the default configuration
if {} not in configurations:
configurations.append({})
for configuration in configurations:
prefix = configuration.get('prefix', '')
include_dir = configuration.get('include_dir', '')
library_dir = configuration.get('library_dir', '')
if prefix and not os.path.isabs(prefix):
import glob
entries = glob.glob(str(PYPY_EXTERNAL_DIR.join(prefix + '*')))
if entries:
# Get last version
prefix = sorted(entries)[-1]
else:
continue
include_dir = os.path.join(prefix, include_dir)
library_dir = os.path.join(prefix, library_dir)
eci_lib = ExternalCompilationInfo(
include_dirs=include_dir and [include_dir] or [],
library_dirs=library_dir and [library_dir] or [],
)
eci_lib = eci_lib.merge(eci)
# verify that this eci can be compiled
try:
verify_eci(eci_lib)
except CompilationError as e:
last_error = e
else:
_cache[key] = eci_lib
return eci_lib
# Nothing found
if last_error:
> raise last_error
E CompilationError: CompilationError(out="""
E """)
rtyper\tool\rffi_platform.py:846: CompilationError
________ ERROR at setup of TestMiniMarkGC.test_long_chain_of_instances ________
cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGC'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator\c\test\test_newgc.py:84:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator\c\test\test_newgc.py:1637: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, rzlib
rlib\rzlib.py:27: in <module>
[dict(prefix='zlib-'),
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
name = 'zlib'
eci = <ExternalCompilationInfo (pre_include_bits=(), includes=('zlib.h',), include_d...libraries=('zlib1',), use_cpp_linker=False, platform=<MsvcPlatform cc=cl.exe>)>
configurations = [{'prefix': 'zlib-'}, {}], symbol = None, _cache = {}
def configure_external_library(name, eci, configurations,
symbol=None, _cache={}):
"""try to find the external library.
On Unix, this simply tests and returns the given eci.
On Windows, various configurations may be tried to compile the
given eci object. These configurations are a list of dicts,
containing:
- prefix: if an absolute path, will prefix each include and
library directories. If a relative path, the external
directory is searched for directories which names start
with the prefix. The last one in alphabetical order
chosen, and becomes the prefix.
- include_dir: prefix + include_dir is added to the include directories
- library_dir: prefix + library_dir is added to the library directories
"""
if sys.platform != 'win32':
configurations = []
key = (name, eci)
try:
return _cache[key]
except KeyError:
last_error = None
# Always try the default configuration
if {} not in configurations:
configurations.append({})
for configuration in configurations:
prefix = configuration.get('prefix', '')
include_dir = configuration.get('include_dir', '')
library_dir = configuration.get('library_dir', '')
if prefix and not os.path.isabs(prefix):
import glob
entries = glob.glob(str(PYPY_EXTERNAL_DIR.join(prefix + '*')))
if entries:
# Get last version
prefix = sorted(entries)[-1]
else:
continue
include_dir = os.path.join(prefix, include_dir)
library_dir = os.path.join(prefix, library_dir)
eci_lib = ExternalCompilationInfo(
include_dirs=include_dir and [include_dir] or [],
library_dirs=library_dir and [library_dir] or [],
)
eci_lib = eci_lib.merge(eci)
# verify that this eci can be compiled
try:
verify_eci(eci_lib)
except CompilationError as e:
last_error = e
else:
_cache[key] = eci_lib
return eci_lib
# Nothing found
if last_error:
> raise last_error
E CompilationError: CompilationError(out="""
E """)
rtyper\tool\rffi_platform.py:846: CompilationError
_______________ ERROR at setup of TestMiniMarkGC.test_many_ids ________________
cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGC'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator\c\test\test_newgc.py:84:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator\c\test\test_newgc.py:1637: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, rzlib
rlib\rzlib.py:27: in <module>
[dict(prefix='zlib-'),
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
name = 'zlib'
eci = <ExternalCompilationInfo (pre_include_bits=(), includes=('zlib.h',), include_d...libraries=('zlib1',), use_cpp_linker=False, platform=<MsvcPlatform cc=cl.exe>)>
configurations = [{'prefix': 'zlib-'}, {}], symbol = None, _cache = {}
def configure_external_library(name, eci, configurations,
symbol=None, _cache={}):
"""try to find the external library.
On Unix, this simply tests and returns the given eci.
On Windows, various configurations may be tried to compile the
given eci object. These configurations are a list of dicts,
containing:
- prefix: if an absolute path, will prefix each include and
library directories. If a relative path, the external
directory is searched for directories which names start
with the prefix. The last one in alphabetical order
chosen, and becomes the prefix.
- include_dir: prefix + include_dir is added to the include directories
- library_dir: prefix + library_dir is added to the library directories
"""
if sys.platform != 'win32':
configurations = []
key = (name, eci)
try:
return _cache[key]
except KeyError:
last_error = None
# Always try the default configuration
if {} not in configurations:
configurations.append({})
for configuration in configurations:
prefix = configuration.get('prefix', '')
include_dir = configuration.get('include_dir', '')
library_dir = configuration.get('library_dir', '')
if prefix and not os.path.isabs(prefix):
import glob
entries = glob.glob(str(PYPY_EXTERNAL_DIR.join(prefix + '*')))
if entries:
# Get last version
prefix = sorted(entries)[-1]
else:
continue
include_dir = os.path.join(prefix, include_dir)
library_dir = os.path.join(prefix, library_dir)
eci_lib = ExternalCompilationInfo(
include_dirs=include_dir and [include_dir] or [],
library_dirs=library_dir and [library_dir] or [],
)
eci_lib = eci_lib.merge(eci)
# verify that this eci can be compiled
try:
verify_eci(eci_lib)
except CompilationError as e:
last_error = e
else:
_cache[key] = eci_lib
return eci_lib
# Nothing found
if last_error:
> raise last_error
E CompilationError: CompilationError(out="""
E """)
rtyper\tool\rffi_platform.py:846: CompilationError
_________ ERROR at setup of TestMiniMarkGC.test_gc_set_max_heap_size __________
cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGC'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator\c\test\test_newgc.py:84:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator\c\test\test_newgc.py:1637: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, rzlib
rlib\rzlib.py:27: in <module>
[dict(prefix='zlib-'),
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
name = 'zlib'
eci = <ExternalCompilationInfo (pre_include_bits=(), includes=('zlib.h',), include_d...libraries=('zlib1',), use_cpp_linker=False, platform=<MsvcPlatform cc=cl.exe>)>
configurations = [{'prefix': 'zlib-'}, {}], symbol = None, _cache = {}
def configure_external_library(name, eci, configurations,
symbol=None, _cache={}):
"""try to find the external library.
On Unix, this simply tests and returns the given eci.
On Windows, various configurations may be tried to compile the
given eci object. These configurations are a list of dicts,
containing:
- prefix: if an absolute path, will prefix each include and
library directories. If a relative path, the external
directory is searched for directories which names start
with the prefix. The last one in alphabetical order
chosen, and becomes the prefix.
- include_dir: prefix + include_dir is added to the include directories
- library_dir: prefix + library_dir is added to the library directories
"""
if sys.platform != 'win32':
configurations = []
key = (name, eci)
try:
return _cache[key]
except KeyError:
last_error = None
# Always try the default configuration
if {} not in configurations:
configurations.append({})
for configuration in configurations:
prefix = configuration.get('prefix', '')
include_dir = configuration.get('include_dir', '')
library_dir = configuration.get('library_dir', '')
if prefix and not os.path.isabs(prefix):
import glob
entries = glob.glob(str(PYPY_EXTERNAL_DIR.join(prefix + '*')))
if entries:
# Get last version
prefix = sorted(entries)[-1]
else:
continue
include_dir = os.path.join(prefix, include_dir)
library_dir = os.path.join(prefix, library_dir)
eci_lib = ExternalCompilationInfo(
include_dirs=include_dir and [include_dir] or [],
library_dirs=library_dir and [library_dir] or [],
)
eci_lib = eci_lib.merge(eci)
# verify that this eci can be compiled
try:
verify_eci(eci_lib)
except CompilationError as e:
last_error = e
else:
_cache[key] = eci_lib
return eci_lib
# Nothing found
if last_error:
> raise last_error
E CompilationError: CompilationError(out="""
E """)
rtyper\tool\rffi_platform.py:846: CompilationError
____________ ERROR at setup of TestMiniMarkGC.test_string_builder _____________
cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGC'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator\c\test\test_newgc.py:84:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator\c\test\test_newgc.py:1637: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, rzlib
rlib\rzlib.py:27: in <module>
[dict(prefix='zlib-'),
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
name = 'zlib'
eci = <ExternalCompilationInfo (pre_include_bits=(), includes=('zlib.h',), include_d...libraries=('zlib1',), use_cpp_linker=False, platform=<MsvcPlatform cc=cl.exe>)>
configurations = [{'prefix': 'zlib-'}, {}], symbol = None, _cache = {}
def configure_external_library(name, eci, configurations,
symbol=None, _cache={}):
"""try to find the external library.
On Unix, this simply tests and returns the given eci.
On Windows, various configurations may be tried to compile the
given eci object. These configurations are a list of dicts,
containing:
- prefix: if an absolute path, will prefix each include and
library directories. If a relative path, the external
directory is searched for directories which names start
with the prefix. The last one in alphabetical order
chosen, and becomes the prefix.
- include_dir: prefix + include_dir is added to the include directories
- library_dir: prefix + library_dir is added to the library directories
"""
if sys.platform != 'win32':
configurations = []
key = (name, eci)
try:
return _cache[key]
except KeyError:
last_error = None
# Always try the default configuration
if {} not in configurations:
configurations.append({})
for configuration in configurations:
prefix = configuration.get('prefix', '')
include_dir = configuration.get('include_dir', '')
library_dir = configuration.get('library_dir', '')
if prefix and not os.path.isabs(prefix):
import glob
entries = glob.glob(str(PYPY_EXTERNAL_DIR.join(prefix + '*')))
if entries:
# Get last version
prefix = sorted(entries)[-1]
else:
continue
include_dir = os.path.join(prefix, include_dir)
library_dir = os.path.join(prefix, library_dir)
eci_lib = ExternalCompilationInfo(
include_dirs=include_dir and [include_dir] or [],
library_dirs=library_dir and [library_dir] or [],
)
eci_lib = eci_lib.merge(eci)
# verify that this eci can be compiled
try:
verify_eci(eci_lib)
except CompilationError as e:
last_error = e
else:
_cache[key] = eci_lib
return eci_lib
# Nothing found
if last_error:
> raise last_error
E CompilationError: CompilationError(out="""
E """)
rtyper\tool\rffi_platform.py:846: CompilationError
____ ERROR at setup of TestMiniMarkGC.test_string_builder_over_allocation _____
cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGC'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator\c\test\test_newgc.py:84:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator\c\test\test_newgc.py:1637: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, rzlib
rlib\rzlib.py:27: in <module>
[dict(prefix='zlib-'),
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
name = 'zlib'
eci = <ExternalCompilationInfo (pre_include_bits=(), includes=('zlib.h',), include_d...libraries=('zlib1',), use_cpp_linker=False, platform=<MsvcPlatform cc=cl.exe>)>
configurations = [{'prefix': 'zlib-'}, {}], symbol = None, _cache = {}
def configure_external_library(name, eci, configurations,
symbol=None, _cache={}):
"""try to find the external library.
On Unix, this simply tests and returns the given eci.
On Windows, various configurations may be tried to compile the
given eci object. These configurations are a list of dicts,
containing:
- prefix: if an absolute path, will prefix each include and
library directories. If a relative path, the external
directory is searched for directories which names start
with the prefix. The last one in alphabetical order
chosen, and becomes the prefix.
- include_dir: prefix + include_dir is added to the include directories
- library_dir: prefix + library_dir is added to the library directories
"""
if sys.platform != 'win32':
configurations = []
key = (name, eci)
try:
return _cache[key]
except KeyError:
last_error = None
# Always try the default configuration
if {} not in configurations:
configurations.append({})
for configuration in configurations:
prefix = configuration.get('prefix', '')
include_dir = configuration.get('include_dir', '')
library_dir = configuration.get('library_dir', '')
if prefix and not os.path.isabs(prefix):
import glob
entries = glob.glob(str(PYPY_EXTERNAL_DIR.join(prefix + '*')))
if entries:
# Get last version
prefix = sorted(entries)[-1]
else:
continue
include_dir = os.path.join(prefix, include_dir)
library_dir = os.path.join(prefix, library_dir)
eci_lib = ExternalCompilationInfo(
include_dirs=include_dir and [include_dir] or [],
library_dirs=library_dir and [library_dir] or [],
)
eci_lib = eci_lib.merge(eci)
# verify that this eci can be compiled
try:
verify_eci(eci_lib)
except CompilationError as e:
last_error = e
else:
_cache[key] = eci_lib
return eci_lib
# Nothing found
if last_error:
> raise last_error
E CompilationError: CompilationError(out="""
E """)
rtyper\tool\rffi_platform.py:846: CompilationError
____ ERROR at setup of TestMiniMarkGC.test_string_builder_multiple_builds _____
cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGC'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator\c\test\test_newgc.py:84:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator\c\test\test_newgc.py:1637: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, rzlib
rlib\rzlib.py:27: in <module>
[dict(prefix='zlib-'),
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
name = 'zlib'
eci = <ExternalCompilationInfo (pre_include_bits=(), includes=('zlib.h',), include_d...libraries=('zlib1',), use_cpp_linker=False, platform=<MsvcPlatform cc=cl.exe>)>
configurations = [{'prefix': 'zlib-'}, {}], symbol = None, _cache = {}
def configure_external_library(name, eci, configurations,
symbol=None, _cache={}):
"""try to find the external library.
On Unix, this simply tests and returns the given eci.
On Windows, various configurations may be tried to compile the
given eci object. These configurations are a list of dicts,
containing:
- prefix: if an absolute path, will prefix each include and
library directories. If a relative path, the external
directory is searched for directories which names start
with the prefix. The last one in alphabetical order
chosen, and becomes the prefix.
- include_dir: prefix + include_dir is added to the include directories
- library_dir: prefix + library_dir is added to the library directories
"""
if sys.platform != 'win32':
configurations = []
key = (name, eci)
try:
return _cache[key]
except KeyError:
last_error = None
# Always try the default configuration
if {} not in configurations:
configurations.append({})
for configuration in configurations:
prefix = configuration.get('prefix', '')
include_dir = configuration.get('include_dir', '')
library_dir = configuration.get('library_dir', '')
if prefix and not os.path.isabs(prefix):
import glob
entries = glob.glob(str(PYPY_EXTERNAL_DIR.join(prefix + '*')))
if entries:
# Get last version
prefix = sorted(entries)[-1]
else:
continue
include_dir = os.path.join(prefix, include_dir)
library_dir = os.path.join(prefix, library_dir)
eci_lib = ExternalCompilationInfo(
include_dirs=include_dir and [include_dir] or [],
library_dirs=library_dir and [library_dir] or [],
)
eci_lib = eci_lib.merge(eci)
# verify that this eci can be compiled
try:
verify_eci(eci_lib)
except CompilationError as e:
last_error = e
else:
_cache[key] = eci_lib
return eci_lib
# Nothing found
if last_error:
> raise last_error
E CompilationError: CompilationError(out="""
E """)
rtyper\tool\rffi_platform.py:846: CompilationError
___ ERROR at setup of TestMiniMarkGC.test_string_builder_multiple_builds_2 ____
cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGC'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator\c\test\test_newgc.py:84:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator\c\test\test_newgc.py:1637: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, rzlib
rlib\rzlib.py:27: in <module>
[dict(prefix='zlib-'),
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
name = 'zlib'
eci = <ExternalCompilationInfo (pre_include_bits=(), includes=('zlib.h',), include_d...libraries=('zlib1',), use_cpp_linker=False, platform=<MsvcPlatform cc=cl.exe>)>
configurations = [{'prefix': 'zlib-'}, {}], symbol = None, _cache = {}
def configure_external_library(name, eci, configurations,
symbol=None, _cache={}):
"""try to find the external library.
On Unix, this simply tests and returns the given eci.
On Windows, various configurations may be tried to compile the
given eci object. These configurations are a list of dicts,
containing:
- prefix: if an absolute path, will prefix each include and
library directories. If a relative path, the external
directory is searched for directories which names start
with the prefix. The last one in alphabetical order
chosen, and becomes the prefix.
- include_dir: prefix + include_dir is added to the include directories
- library_dir: prefix + library_dir is added to the library directories
"""
if sys.platform != 'win32':
configurations = []
key = (name, eci)
try:
return _cache[key]
except KeyError:
last_error = None
# Always try the default configuration
if {} not in configurations:
configurations.append({})
for configuration in configurations:
prefix = configuration.get('prefix', '')
include_dir = configuration.get('include_dir', '')
library_dir = configuration.get('library_dir', '')
if prefix and not os.path.isabs(prefix):
import glob
entries = glob.glob(str(PYPY_EXTERNAL_DIR.join(prefix + '*')))
if entries:
# Get last version
prefix = sorted(entries)[-1]
else:
continue
include_dir = os.path.join(prefix, include_dir)
library_dir = os.path.join(prefix, library_dir)
eci_lib = ExternalCompilationInfo(
include_dirs=include_dir and [include_dir] or [],
library_dirs=library_dir and [library_dir] or [],
)
eci_lib = eci_lib.merge(eci)
# verify that this eci can be compiled
try:
verify_eci(eci_lib)
except CompilationError as e:
last_error = e
else:
_cache[key] = eci_lib
return eci_lib
# Nothing found
if last_error:
> raise last_error
E CompilationError: CompilationError(out="""
E """)
rtyper\tool\rffi_platform.py:846: CompilationError
___________ ERROR at setup of TestMiniMarkGC.test_nursery_hash_base ___________
cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGC'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator\c\test\test_newgc.py:84:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator\c\test\test_newgc.py:1637: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, rzlib
rlib\rzlib.py:27: in <module>
[dict(prefix='zlib-'),
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
name = 'zlib'
eci = <ExternalCompilationInfo (pre_include_bits=(), includes=('zlib.h',), include_d...libraries=('zlib1',), use_cpp_linker=False, platform=<MsvcPlatform cc=cl.exe>)>
configurations = [{'prefix': 'zlib-'}, {}], symbol = None, _cache = {}
def configure_external_library(name, eci, configurations,
symbol=None, _cache={}):
"""try to find the external library.
On Unix, this simply tests and returns the given eci.
On Windows, various configurations may be tried to compile the
given eci object. These configurations are a list of dicts,
containing:
- prefix: if an absolute path, will prefix each include and
library directories. If a relative path, the external
directory is searched for directories which names start
with the prefix. The last one in alphabetical order
chosen, and becomes the prefix.
- include_dir: prefix + include_dir is added to the include directories
- library_dir: prefix + library_dir is added to the library directories
"""
if sys.platform != 'win32':
configurations = []
key = (name, eci)
try:
return _cache[key]
except KeyError:
last_error = None
# Always try the default configuration
if {} not in configurations:
configurations.append({})
for configuration in configurations:
prefix = configuration.get('prefix', '')
include_dir = configuration.get('include_dir', '')
library_dir = configuration.get('library_dir', '')
if prefix and not os.path.isabs(prefix):
import glob
entries = glob.glob(str(PYPY_EXTERNAL_DIR.join(prefix + '*')))
if entries:
# Get last version
prefix = sorted(entries)[-1]
else:
continue
include_dir = os.path.join(prefix, include_dir)
library_dir = os.path.join(prefix, library_dir)
eci_lib = ExternalCompilationInfo(
include_dirs=include_dir and [include_dir] or [],
library_dirs=library_dir and [library_dir] or [],
)
eci_lib = eci_lib.merge(eci)
# verify that this eci can be compiled
try:
verify_eci(eci_lib)
except CompilationError as e:
last_error = e
else:
_cache[key] = eci_lib
return eci_lib
# Nothing found
if last_error:
> raise last_error
E CompilationError: CompilationError(out="""
E """)
rtyper\tool\rffi_platform.py:846: CompilationError
________ ERROR at setup of TestMiniMarkGC.test_extra_item_after_alloc _________
cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGC'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator\c\test\test_newgc.py:84:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator\c\test\test_newgc.py:1637: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, rzlib
rlib\rzlib.py:27: in <module>
[dict(prefix='zlib-'),
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
name = 'zlib'
eci = <ExternalCompilationInfo (pre_include_bits=(), includes=('zlib.h',), include_d...libraries=('zlib1',), use_cpp_linker=False, platform=<MsvcPlatform cc=cl.exe>)>
configurations = [{'prefix': 'zlib-'}, {}], symbol = None, _cache = {}
def configure_external_library(name, eci, configurations,
symbol=None, _cache={}):
"""try to find the external library.
On Unix, this simply tests and returns the given eci.
On Windows, various configurations may be tried to compile the
given eci object. These configurations are a list of dicts,
containing:
- prefix: if an absolute path, will prefix each include and
library directories. If a relative path, the external
directory is searched for directories which names start
with the prefix. The last one in alphabetical order
chosen, and becomes the prefix.
- include_dir: prefix + include_dir is added to the include directories
- library_dir: prefix + library_dir is added to the library directories
"""
if sys.platform != 'win32':
configurations = []
key = (name, eci)
try:
return _cache[key]
except KeyError:
last_error = None
# Always try the default configuration
if {} not in configurations:
configurations.append({})
for configuration in configurations:
prefix = configuration.get('prefix', '')
include_dir = configuration.get('include_dir', '')
library_dir = configuration.get('library_dir', '')
if prefix and not os.path.isabs(prefix):
import glob
entries = glob.glob(str(PYPY_EXTERNAL_DIR.join(prefix + '*')))
if entries:
# Get last version
prefix = sorted(entries)[-1]
else:
continue
include_dir = os.path.join(prefix, include_dir)
library_dir = os.path.join(prefix, library_dir)
eci_lib = ExternalCompilationInfo(
include_dirs=include_dir and [include_dir] or [],
library_dirs=library_dir and [library_dir] or [],
)
eci_lib = eci_lib.merge(eci)
# verify that this eci can be compiled
try:
verify_eci(eci_lib)
except CompilationError as e:
last_error = e
else:
_cache[key] = eci_lib
return eci_lib
# Nothing found
if last_error:
> raise last_error
E CompilationError: CompilationError(out="""
E """)
rtyper\tool\rffi_platform.py:846: CompilationError
________________ ERROR at setup of TestMiniMarkGC.test_rerased ________________
cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGC'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator\c\test\test_newgc.py:84:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator\c\test\test_newgc.py:1637: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, rzlib
rlib\rzlib.py:27: in <module>
[dict(prefix='zlib-'),
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
name = 'zlib'
eci = <ExternalCompilationInfo (pre_include_bits=(), includes=('zlib.h',), include_d...libraries=('zlib1',), use_cpp_linker=False, platform=<MsvcPlatform cc=cl.exe>)>
configurations = [{'prefix': 'zlib-'}, {}], symbol = None, _cache = {}
def configure_external_library(name, eci, configurations,
symbol=None, _cache={}):
"""try to find the external library.
On Unix, this simply tests and returns the given eci.
On Windows, various configurations may be tried to compile the
given eci object. These configurations are a list of dicts,
containing:
- prefix: if an absolute path, will prefix each include and
library directories. If a relative path, the external
directory is searched for directories which names start
with the prefix. The last one in alphabetical order
chosen, and becomes the prefix.
- include_dir: prefix + include_dir is added to the include directories
- library_dir: prefix + library_dir is added to the library directories
"""
if sys.platform != 'win32':
configurations = []
key = (name, eci)
try:
return _cache[key]
except KeyError:
last_error = None
# Always try the default configuration
if {} not in configurations:
configurations.append({})
for configuration in configurations:
prefix = configuration.get('prefix', '')
include_dir = configuration.get('include_dir', '')
library_dir = configuration.get('library_dir', '')
if prefix and not os.path.isabs(prefix):
import glob
entries = glob.glob(str(PYPY_EXTERNAL_DIR.join(prefix + '*')))
if entries:
# Get last version
prefix = sorted(entries)[-1]
else:
continue
include_dir = os.path.join(prefix, include_dir)
library_dir = os.path.join(prefix, library_dir)
eci_lib = ExternalCompilationInfo(
include_dirs=include_dir and [include_dir] or [],
library_dirs=library_dir and [library_dir] or [],
)
eci_lib = eci_lib.merge(eci)
# verify that this eci can be compiled
try:
verify_eci(eci_lib)
except CompilationError as e:
last_error = e
else:
_cache[key] = eci_lib
return eci_lib
# Nothing found
if last_error:
> raise last_error
E CompilationError: CompilationError(out="""
E """)
rtyper\tool\rffi_platform.py:846: CompilationError
_____________ ERROR at setup of TestMiniMarkGC.test_gc_heap_stats _____________
cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGC'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator\c\test\test_newgc.py:84:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator\c\test\test_newgc.py:1637: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, rzlib
rlib\rzlib.py:27: in <module>
[dict(prefix='zlib-'),
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
name = 'zlib'
eci = <ExternalCompilationInfo (pre_include_bits=(), includes=('zlib.h',), include_d...libraries=('zlib1',), use_cpp_linker=False, platform=<MsvcPlatform cc=cl.exe>)>
configurations = [{'prefix': 'zlib-'}, {}], symbol = None, _cache = {}
def configure_external_library(name, eci, configurations,
symbol=None, _cache={}):
"""try to find the external library.
On Unix, this simply tests and returns the given eci.
On Windows, various configurations may be tried to compile the
given eci object. These configurations are a list of dicts,
containing:
- prefix: if an absolute path, will prefix each include and
library directories. If a relative path, the external
directory is searched for directories which names start
with the prefix. The last one in alphabetical order
chosen, and becomes the prefix.
- include_dir: prefix + include_dir is added to the include directories
- library_dir: prefix + library_dir is added to the library directories
"""
if sys.platform != 'win32':
configurations = []
key = (name, eci)
try:
return _cache[key]
except KeyError:
last_error = None
# Always try the default configuration
if {} not in configurations:
configurations.append({})
for configuration in configurations:
prefix = configuration.get('prefix', '')
include_dir = configuration.get('include_dir', '')
library_dir = configuration.get('library_dir', '')
if prefix and not os.path.isabs(prefix):
import glob
entries = glob.glob(str(PYPY_EXTERNAL_DIR.join(prefix + '*')))
if entries:
# Get last version
prefix = sorted(entries)[-1]
else:
continue
include_dir = os.path.join(prefix, include_dir)
library_dir = os.path.join(prefix, library_dir)
eci_lib = ExternalCompilationInfo(
include_dirs=include_dir and [include_dir] or [],
library_dirs=library_dir and [library_dir] or [],
)
eci_lib = eci_lib.merge(eci)
# verify that this eci can be compiled
try:
verify_eci(eci_lib)
except CompilationError as e:
last_error = e
else:
_cache[key] = eci_lib
return eci_lib
# Nothing found
if last_error:
> raise last_error
E CompilationError: CompilationError(out="""
E """)
rtyper\tool\rffi_platform.py:846: CompilationError
_________ ERROR at setup of TestMiniMarkGC.test_nongc_attached_to_gc __________
cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGC'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator\c\test\test_newgc.py:84:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator\c\test\test_newgc.py:1637: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, rzlib
rlib\rzlib.py:27: in <module>
[dict(prefix='zlib-'),
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
name = 'zlib'
eci = <ExternalCompilationInfo (pre_include_bits=(), includes=('zlib.h',), include_d...libraries=('zlib1',), use_cpp_linker=False, platform=<MsvcPlatform cc=cl.exe>)>
configurations = [{'prefix': 'zlib-'}, {}], symbol = None, _cache = {}
def configure_external_library(name, eci, configurations,
symbol=None, _cache={}):
"""try to find the external library.
On Unix, this simply tests and returns the given eci.
On Windows, various configurations may be tried to compile the
given eci object. These configurations are a list of dicts,
containing:
- prefix: if an absolute path, will prefix each include and
library directories. If a relative path, the external
directory is searched for directories which names start
with the prefix. The last one in alphabetical order
chosen, and becomes the prefix.
- include_dir: prefix + include_dir is added to the include directories
- library_dir: prefix + library_dir is added to the library directories
"""
if sys.platform != 'win32':
configurations = []
key = (name, eci)
try:
return _cache[key]
except KeyError:
last_error = None
# Always try the default configuration
if {} not in configurations:
configurations.append({})
for configuration in configurations:
prefix = configuration.get('prefix', '')
include_dir = configuration.get('include_dir', '')
library_dir = configuration.get('library_dir', '')
if prefix and not os.path.isabs(prefix):
import glob
entries = glob.glob(str(PYPY_EXTERNAL_DIR.join(prefix + '*')))
if entries:
# Get last version
prefix = sorted(entries)[-1]
else:
continue
include_dir = os.path.join(prefix, include_dir)
library_dir = os.path.join(prefix, library_dir)
eci_lib = ExternalCompilationInfo(
include_dirs=include_dir and [include_dir] or [],
library_dirs=library_dir and [library_dir] or [],
)
eci_lib = eci_lib.merge(eci)
# verify that this eci can be compiled
try:
verify_eci(eci_lib)
except CompilationError as e:
last_error = e
else:
_cache[key] = eci_lib
return eci_lib
# Nothing found
if last_error:
> raise last_error
E CompilationError: CompilationError(out="""
E """)
rtyper\tool\rffi_platform.py:846: CompilationError
______ ERROR at setup of TestMiniMarkGC.test_nongc_opaque_attached_to_gc ______
cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGC'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator\c\test\test_newgc.py:84:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator\c\test\test_newgc.py:1637: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, rzlib
rlib\rzlib.py:27: in <module>
[dict(prefix='zlib-'),
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
name = 'zlib'
eci = <ExternalCompilationInfo (pre_include_bits=(), includes=('zlib.h',), include_d...libraries=('zlib1',), use_cpp_linker=False, platform=<MsvcPlatform cc=cl.exe>)>
configurations = [{'prefix': 'zlib-'}, {}], symbol = None, _cache = {}
def configure_external_library(name, eci, configurations,
symbol=None, _cache={}):
"""try to find the external library.
On Unix, this simply tests and returns the given eci.
On Windows, various configurations may be tried to compile the
given eci object. These configurations are a list of dicts,
containing:
- prefix: if an absolute path, will prefix each include and
library directories. If a relative path, the external
directory is searched for directories which names start
with the prefix. The last one in alphabetical order
chosen, and becomes the prefix.
- include_dir: prefix + include_dir is added to the include directories
- library_dir: prefix + library_dir is added to the library directories
"""
if sys.platform != 'win32':
configurations = []
key = (name, eci)
try:
return _cache[key]
except KeyError:
last_error = None
# Always try the default configuration
if {} not in configurations:
configurations.append({})
for configuration in configurations:
prefix = configuration.get('prefix', '')
include_dir = configuration.get('include_dir', '')
library_dir = configuration.get('library_dir', '')
if prefix and not os.path.isabs(prefix):
import glob
entries = glob.glob(str(PYPY_EXTERNAL_DIR.join(prefix + '*')))
if entries:
# Get last version
prefix = sorted(entries)[-1]
else:
continue
include_dir = os.path.join(prefix, include_dir)
library_dir = os.path.join(prefix, library_dir)
eci_lib = ExternalCompilationInfo(
include_dirs=include_dir and [include_dir] or [],
library_dirs=library_dir and [library_dir] or [],
)
eci_lib = eci_lib.merge(eci)
# verify that this eci can be compiled
try:
verify_eci(eci_lib)
except CompilationError as e:
last_error = e
else:
_cache[key] = eci_lib
return eci_lib
# Nothing found
if last_error:
> raise last_error
E CompilationError: CompilationError(out="""
E """)
rtyper\tool\rffi_platform.py:846: CompilationError
____________ ERROR at setup of TestMiniMarkGC.test_limited_memory _____________
cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGC'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator\c\test\test_newgc.py:84:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator\c\test\test_newgc.py:1637: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, rzlib
rlib\rzlib.py:27: in <module>
[dict(prefix='zlib-'),
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
name = 'zlib'
eci = <ExternalCompilationInfo (pre_include_bits=(), includes=('zlib.h',), include_d...libraries=('zlib1',), use_cpp_linker=False, platform=<MsvcPlatform cc=cl.exe>)>
configurations = [{'prefix': 'zlib-'}, {}], symbol = None, _cache = {}
def configure_external_library(name, eci, configurations,
symbol=None, _cache={}):
"""try to find the external library.
On Unix, this simply tests and returns the given eci.
On Windows, various configurations may be tried to compile the
given eci object. These configurations are a list of dicts,
containing:
- prefix: if an absolute path, will prefix each include and
library directories. If a relative path, the external
directory is searched for directories which names start
with the prefix. The last one in alphabetical order
chosen, and becomes the prefix.
- include_dir: prefix + include_dir is added to the include directories
- library_dir: prefix + library_dir is added to the library directories
"""
if sys.platform != 'win32':
configurations = []
key = (name, eci)
try:
return _cache[key]
except KeyError:
last_error = None
# Always try the default configuration
if {} not in configurations:
configurations.append({})
for configuration in configurations:
prefix = configuration.get('prefix', '')
include_dir = configuration.get('include_dir', '')
library_dir = configuration.get('library_dir', '')
if prefix and not os.path.isabs(prefix):
import glob
entries = glob.glob(str(PYPY_EXTERNAL_DIR.join(prefix + '*')))
if entries:
# Get last version
prefix = sorted(entries)[-1]
else:
continue
include_dir = os.path.join(prefix, include_dir)
library_dir = os.path.join(prefix, library_dir)
eci_lib = ExternalCompilationInfo(
include_dirs=include_dir and [include_dir] or [],
library_dirs=library_dir and [library_dir] or [],
)
eci_lib = eci_lib.merge(eci)
# verify that this eci can be compiled
try:
verify_eci(eci_lib)
except CompilationError as e:
last_error = e
else:
_cache[key] = eci_lib
return eci_lib
# Nothing found
if last_error:
> raise last_error
E CompilationError: CompilationError(out="""
E """)
rtyper\tool\rffi_platform.py:846: CompilationError
______ ERROR at setup of TestIncrementalMiniMarkGC.test_finalizer_order _______
cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGC'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator\c\test\test_newgc.py:84:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator\c\test\test_newgc.py:1637: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, rzlib
rlib\rzlib.py:27: in <module>
[dict(prefix='zlib-'),
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
name = 'zlib'
eci = <ExternalCompilationInfo (pre_include_bits=(), includes=('zlib.h',), include_d...libraries=('zlib1',), use_cpp_linker=False, platform=<MsvcPlatform cc=cl.exe>)>
configurations = [{'prefix': 'zlib-'}, {}], symbol = None, _cache = {}
def configure_external_library(name, eci, configurations,
symbol=None, _cache={}):
"""try to find the external library.
On Unix, this simply tests and returns the given eci.
On Windows, various configurations may be tried to compile the
given eci object. These configurations are a list of dicts,
containing:
- prefix: if an absolute path, will prefix each include and
library directories. If a relative path, the external
directory is searched for directories which names start
with the prefix. The last one in alphabetical order
chosen, and becomes the prefix.
- include_dir: prefix + include_dir is added to the include directories
- library_dir: prefix + library_dir is added to the library directories
"""
if sys.platform != 'win32':
configurations = []
key = (name, eci)
try:
return _cache[key]
except KeyError:
last_error = None
# Always try the default configuration
if {} not in configurations:
configurations.append({})
for configuration in configurations:
prefix = configuration.get('prefix', '')
include_dir = configuration.get('include_dir', '')
library_dir = configuration.get('library_dir', '')
if prefix and not os.path.isabs(prefix):
import glob
entries = glob.glob(str(PYPY_EXTERNAL_DIR.join(prefix + '*')))
if entries:
# Get last version
prefix = sorted(entries)[-1]
else:
continue
include_dir = os.path.join(prefix, include_dir)
library_dir = os.path.join(prefix, library_dir)
eci_lib = ExternalCompilationInfo(
include_dirs=include_dir and [include_dir] or [],
library_dirs=library_dir and [library_dir] or [],
)
eci_lib = eci_lib.merge(eci)
# verify that this eci can be compiled
try:
verify_eci(eci_lib)
except CompilationError as e:
last_error = e
else:
_cache[key] = eci_lib
return eci_lib
# Nothing found
if last_error:
> raise last_error
E CompilationError: CompilationError(out="""
E """)
rtyper\tool\rffi_platform.py:846: CompilationError
ERROR at setup of TestIncrementalMiniMarkGC.test_from_objwithfinalizer_to_youngobj
cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGC'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator\c\test\test_newgc.py:84:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator\c\test\test_newgc.py:1637: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, rzlib
rlib\rzlib.py:27: in <module>
[dict(prefix='zlib-'),
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
name = 'zlib'
eci = <ExternalCompilationInfo (pre_include_bits=(), includes=('zlib.h',), include_d...libraries=('zlib1',), use_cpp_linker=False, platform=<MsvcPlatform cc=cl.exe>)>
configurations = [{'prefix': 'zlib-'}, {}], symbol = None, _cache = {}
def configure_external_library(name, eci, configurations,
symbol=None, _cache={}):
"""try to find the external library.
On Unix, this simply tests and returns the given eci.
On Windows, various configurations may be tried to compile the
given eci object. These configurations are a list of dicts,
containing:
- prefix: if an absolute path, will prefix each include and
library directories. If a relative path, the external
directory is searched for directories which names start
with the prefix. The last one in alphabetical order
chosen, and becomes the prefix.
- include_dir: prefix + include_dir is added to the include directories
- library_dir: prefix + library_dir is added to the library directories
"""
if sys.platform != 'win32':
configurations = []
key = (name, eci)
try:
return _cache[key]
except KeyError:
last_error = None
# Always try the default configuration
if {} not in configurations:
configurations.append({})
for configuration in configurations:
prefix = configuration.get('prefix', '')
include_dir = configuration.get('include_dir', '')
library_dir = configuration.get('library_dir', '')
if prefix and not os.path.isabs(prefix):
import glob
entries = glob.glob(str(PYPY_EXTERNAL_DIR.join(prefix + '*')))
if entries:
# Get last version
prefix = sorted(entries)[-1]
else:
continue
include_dir = os.path.join(prefix, include_dir)
library_dir = os.path.join(prefix, library_dir)
eci_lib = ExternalCompilationInfo(
include_dirs=include_dir and [include_dir] or [],
library_dirs=library_dir and [library_dir] or [],
)
eci_lib = eci_lib.merge(eci)
# verify that this eci can be compiled
try:
verify_eci(eci_lib)
except CompilationError as e:
last_error = e
else:
_cache[key] = eci_lib
return eci_lib
# Nothing found
if last_error:
> raise last_error
E CompilationError: CompilationError(out="""
E """)
rtyper\tool\rffi_platform.py:846: CompilationError
_______ ERROR at setup of TestIncrementalMiniMarkGC.test_empty_collect ________
cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGC'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator\c\test\test_newgc.py:84:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator\c\test\test_newgc.py:1637: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, rzlib
rlib\rzlib.py:27: in <module>
[dict(prefix='zlib-'),
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
name = 'zlib'
eci = <ExternalCompilationInfo (pre_include_bits=(), includes=('zlib.h',), include_d...libraries=('zlib1',), use_cpp_linker=False, platform=<MsvcPlatform cc=cl.exe>)>
configurations = [{'prefix': 'zlib-'}, {}], symbol = None, _cache = {}
def configure_external_library(name, eci, configurations,
symbol=None, _cache={}):
"""try to find the external library.
On Unix, this simply tests and returns the given eci.
On Windows, various configurations may be tried to compile the
given eci object. These configurations are a list of dicts,
containing:
- prefix: if an absolute path, will prefix each include and
library directories. If a relative path, the external
directory is searched for directories which names start
with the prefix. The last one in alphabetical order
chosen, and becomes the prefix.
- include_dir: prefix + include_dir is added to the include directories
- library_dir: prefix + library_dir is added to the library directories
"""
if sys.platform != 'win32':
configurations = []
key = (name, eci)
try:
return _cache[key]
except KeyError:
last_error = None
# Always try the default configuration
if {} not in configurations:
configurations.append({})
for configuration in configurations:
prefix = configuration.get('prefix', '')
include_dir = configuration.get('include_dir', '')
library_dir = configuration.get('library_dir', '')
if prefix and not os.path.isabs(prefix):
import glob
entries = glob.glob(str(PYPY_EXTERNAL_DIR.join(prefix + '*')))
if entries:
# Get last version
prefix = sorted(entries)[-1]
else:
continue
include_dir = os.path.join(prefix, include_dir)
library_dir = os.path.join(prefix, library_dir)
eci_lib = ExternalCompilationInfo(
include_dirs=include_dir and [include_dir] or [],
library_dirs=library_dir and [library_dir] or [],
)
eci_lib = eci_lib.merge(eci)
# verify that this eci can be compiled
try:
verify_eci(eci_lib)
except CompilationError as e:
last_error = e
else:
_cache[key] = eci_lib
return eci_lib
# Nothing found
if last_error:
> raise last_error
E CompilationError: CompilationError(out="""
E """)
rtyper\tool\rffi_platform.py:846: CompilationError
______ ERROR at setup of TestIncrementalMiniMarkGC.test_framework_simple ______
cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGC'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator\c\test\test_newgc.py:84:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator\c\test\test_newgc.py:1637: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, rzlib
rlib\rzlib.py:27: in <module>
[dict(prefix='zlib-'),
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
name = 'zlib'
eci = <ExternalCompilationInfo (pre_include_bits=(), includes=('zlib.h',), include_d...libraries=('zlib1',), use_cpp_linker=False, platform=<MsvcPlatform cc=cl.exe>)>
configurations = [{'prefix': 'zlib-'}, {}], symbol = None, _cache = {}
def configure_external_library(name, eci, configurations,
symbol=None, _cache={}):
"""try to find the external library.
On Unix, this simply tests and returns the given eci.
On Windows, various configurations may be tried to compile the
given eci object. These configurations are a list of dicts,
containing:
- prefix: if an absolute path, will prefix each include and
library directories. If a relative path, the external
directory is searched for directories which names start
with the prefix. The last one in alphabetical order
chosen, and becomes the prefix.
- include_dir: prefix + include_dir is added to the include directories
- library_dir: prefix + library_dir is added to the library directories
"""
if sys.platform != 'win32':
configurations = []
key = (name, eci)
try:
return _cache[key]
except KeyError:
last_error = None
# Always try the default configuration
if {} not in configurations:
configurations.append({})
for configuration in configurations:
prefix = configuration.get('prefix', '')
include_dir = configuration.get('include_dir', '')
library_dir = configuration.get('library_dir', '')
if prefix and not os.path.isabs(prefix):
import glob
entries = glob.glob(str(PYPY_EXTERNAL_DIR.join(prefix + '*')))
if entries:
# Get last version
prefix = sorted(entries)[-1]
else:
continue
include_dir = os.path.join(prefix, include_dir)
library_dir = os.path.join(prefix, library_dir)
eci_lib = ExternalCompilationInfo(
include_dirs=include_dir and [include_dir] or [],
library_dirs=library_dir and [library_dir] or [],
)
eci_lib = eci_lib.merge(eci)
# verify that this eci can be compiled
try:
verify_eci(eci_lib)
except CompilationError as e:
last_error = e
else:
_cache[key] = eci_lib
return eci_lib
# Nothing found
if last_error:
> raise last_error
E CompilationError: CompilationError(out="""
E """)
rtyper\tool\rffi_platform.py:846: CompilationError
___ ERROR at setup of TestIncrementalMiniMarkGC.test_framework_safe_pushpop ___
cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGC'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator\c\test\test_newgc.py:84:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator\c\test\test_newgc.py:1637: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, rzlib
rlib\rzlib.py:27: in <module>
[dict(prefix='zlib-'),
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
name = 'zlib'
eci = <ExternalCompilationInfo (pre_include_bits=(), includes=('zlib.h',), include_d...libraries=('zlib1',), use_cpp_linker=False, platform=<MsvcPlatform cc=cl.exe>)>
configurations = [{'prefix': 'zlib-'}, {}], symbol = None, _cache = {}
def configure_external_library(name, eci, configurations,
symbol=None, _cache={}):
"""try to find the external library.
On Unix, this simply tests and returns the given eci.
On Windows, various configurations may be tried to compile the
given eci object. These configurations are a list of dicts,
containing:
- prefix: if an absolute path, will prefix each include and
library directories. If a relative path, the external
directory is searched for directories which names start
with the prefix. The last one in alphabetical order
chosen, and becomes the prefix.
- include_dir: prefix + include_dir is added to the include directories
- library_dir: prefix + library_dir is added to the library directories
"""
if sys.platform != 'win32':
configurations = []
key = (name, eci)
try:
return _cache[key]
except KeyError:
last_error = None
# Always try the default configuration
if {} not in configurations:
configurations.append({})
for configuration in configurations:
prefix = configuration.get('prefix', '')
include_dir = configuration.get('include_dir', '')
library_dir = configuration.get('library_dir', '')
if prefix and not os.path.isabs(prefix):
import glob
entries = glob.glob(str(PYPY_EXTERNAL_DIR.join(prefix + '*')))
if entries:
# Get last version
prefix = sorted(entries)[-1]
else:
continue
include_dir = os.path.join(prefix, include_dir)
library_dir = os.path.join(prefix, library_dir)
eci_lib = ExternalCompilationInfo(
include_dirs=include_dir and [include_dir] or [],
library_dirs=library_dir and [library_dir] or [],
)
eci_lib = eci_lib.merge(eci)
# verify that this eci can be compiled
try:
verify_eci(eci_lib)
except CompilationError as e:
last_error = e
else:
_cache[key] = eci_lib
return eci_lib
# Nothing found
if last_error:
> raise last_error
E CompilationError: CompilationError(out="""
E """)
rtyper\tool\rffi_platform.py:846: CompilationError
_ ERROR at setup of TestIncrementalMiniMarkGC.test_framework_protect_getfield _
cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGC'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator\c\test\test_newgc.py:84:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator\c\test\test_newgc.py:1637: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, rzlib
rlib\rzlib.py:27: in <module>
[dict(prefix='zlib-'),
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
name = 'zlib'
eci = <ExternalCompilationInfo (pre_include_bits=(), includes=('zlib.h',), include_d...libraries=('zlib1',), use_cpp_linker=False, platform=<MsvcPlatform cc=cl.exe>)>
configurations = [{'prefix': 'zlib-'}, {}], symbol = None, _cache = {}
def configure_external_library(name, eci, configurations,
symbol=None, _cache={}):
"""try to find the external library.
On Unix, this simply tests and returns the given eci.
On Windows, various configurations may be tried to compile the
given eci object. These configurations are a list of dicts,
containing:
- prefix: if an absolute path, will prefix each include and
library directories. If a relative path, the external
directory is searched for directories which names start
with the prefix. The last one in alphabetical order
chosen, and becomes the prefix.
- include_dir: prefix + include_dir is added to the include directories
- library_dir: prefix + library_dir is added to the library directories
"""
if sys.platform != 'win32':
configurations = []
key = (name, eci)
try:
return _cache[key]
except KeyError:
last_error = None
# Always try the default configuration
if {} not in configurations:
configurations.append({})
for configuration in configurations:
prefix = configuration.get('prefix', '')
include_dir = configuration.get('include_dir', '')
library_dir = configuration.get('library_dir', '')
if prefix and not os.path.isabs(prefix):
import glob
entries = glob.glob(str(PYPY_EXTERNAL_DIR.join(prefix + '*')))
if entries:
# Get last version
prefix = sorted(entries)[-1]
else:
continue
include_dir = os.path.join(prefix, include_dir)
library_dir = os.path.join(prefix, library_dir)
eci_lib = ExternalCompilationInfo(
include_dirs=include_dir and [include_dir] or [],
library_dirs=library_dir and [library_dir] or [],
)
eci_lib = eci_lib.merge(eci)
# verify that this eci can be compiled
try:
verify_eci(eci_lib)
except CompilationError as e:
last_error = e
else:
_cache[key] = eci_lib
return eci_lib
# Nothing found
if last_error:
> raise last_error
E CompilationError: CompilationError(out="""
E """)
rtyper\tool\rffi_platform.py:846: CompilationError
_____ ERROR at setup of TestIncrementalMiniMarkGC.test_framework_varsized _____
cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGC'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator\c\test\test_newgc.py:84:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator\c\test\test_newgc.py:1637: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, rzlib
rlib\rzlib.py:27: in <module>
[dict(prefix='zlib-'),
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
name = 'zlib'
eci = <ExternalCompilationInfo (pre_include_bits=(), includes=('zlib.h',), include_d...libraries=('zlib1',), use_cpp_linker=False, platform=<MsvcPlatform cc=cl.exe>)>
configurations = [{'prefix': 'zlib-'}, {}], symbol = None, _cache = {}
def configure_external_library(name, eci, configurations,
symbol=None, _cache={}):
"""try to find the external library.
On Unix, this simply tests and returns the given eci.
On Windows, various configurations may be tried to compile the
given eci object. These configurations are a list of dicts,
containing:
- prefix: if an absolute path, will prefix each include and
library directories. If a relative path, the external
directory is searched for directories which names start
with the prefix. The last one in alphabetical order
chosen, and becomes the prefix.
- include_dir: prefix + include_dir is added to the include directories
- library_dir: prefix + library_dir is added to the library directories
"""
if sys.platform != 'win32':
configurations = []
key = (name, eci)
try:
return _cache[key]
except KeyError:
last_error = None
# Always try the default configuration
if {} not in configurations:
configurations.append({})
for configuration in configurations:
prefix = configuration.get('prefix', '')
include_dir = configuration.get('include_dir', '')
library_dir = configuration.get('library_dir', '')
if prefix and not os.path.isabs(prefix):
import glob
entries = glob.glob(str(PYPY_EXTERNAL_DIR.join(prefix + '*')))
if entries:
# Get last version
prefix = sorted(entries)[-1]
else:
continue
include_dir = os.path.join(prefix, include_dir)
library_dir = os.path.join(prefix, library_dir)
eci_lib = ExternalCompilationInfo(
include_dirs=include_dir and [include_dir] or [],
library_dirs=library_dir and [library_dir] or [],
)
eci_lib = eci_lib.merge(eci)
# verify that this eci can be compiled
try:
verify_eci(eci_lib)
except CompilationError as e:
last_error = e
else:
_cache[key] = eci_lib
return eci_lib
# Nothing found
if last_error:
> raise last_error
E CompilationError: CompilationError(out="""
E """)
rtyper\tool\rffi_platform.py:846: CompilationError
___ ERROR at setup of TestIncrementalMiniMarkGC.test_framework_using_lists ____
cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGC'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator\c\test\test_newgc.py:84:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator\c\test\test_newgc.py:1637: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, rzlib
rlib\rzlib.py:27: in <module>
[dict(prefix='zlib-'),
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
name = 'zlib'
eci = <ExternalCompilationInfo (pre_include_bits=(), includes=('zlib.h',), include_d...libraries=('zlib1',), use_cpp_linker=False, platform=<MsvcPlatform cc=cl.exe>)>
configurations = [{'prefix': 'zlib-'}, {}], symbol = None, _cache = {}
def configure_external_library(name, eci, configurations,
symbol=None, _cache={}):
"""try to find the external library.
On Unix, this simply tests and returns the given eci.
On Windows, various configurations may be tried to compile the
given eci object. These configurations are a list of dicts,
containing:
- prefix: if an absolute path, will prefix each include and
library directories. If a relative path, the external
directory is searched for directories which names start
with the prefix. The last one in alphabetical order
chosen, and becomes the prefix.
- include_dir: prefix + include_dir is added to the include directories
- library_dir: prefix + library_dir is added to the library directories
"""
if sys.platform != 'win32':
configurations = []
key = (name, eci)
try:
return _cache[key]
except KeyError:
last_error = None
# Always try the default configuration
if {} not in configurations:
configurations.append({})
for configuration in configurations:
prefix = configuration.get('prefix', '')
include_dir = configuration.get('include_dir', '')
library_dir = configuration.get('library_dir', '')
if prefix and not os.path.isabs(prefix):
import glob
entries = glob.glob(str(PYPY_EXTERNAL_DIR.join(prefix + '*')))
if entries:
# Get last version
prefix = sorted(entries)[-1]
else:
continue
include_dir = os.path.join(prefix, include_dir)
library_dir = os.path.join(prefix, library_dir)
eci_lib = ExternalCompilationInfo(
include_dirs=include_dir and [include_dir] or [],
library_dirs=library_dir and [library_dir] or [],
)
eci_lib = eci_lib.merge(eci)
# verify that this eci can be compiled
try:
verify_eci(eci_lib)
except CompilationError as e:
last_error = e
else:
_cache[key] = eci_lib
return eci_lib
# Nothing found
if last_error:
> raise last_error
E CompilationError: CompilationError(out="""
E """)
rtyper\tool\rffi_platform.py:846: CompilationError
___ ERROR at setup of TestIncrementalMiniMarkGC.test_framework_static_roots ___
cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGC'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator\c\test\test_newgc.py:84:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator\c\test\test_newgc.py:1637: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, rzlib
rlib\rzlib.py:27: in <module>
[dict(prefix='zlib-'),
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
name = 'zlib'
eci = <ExternalCompilationInfo (pre_include_bits=(), includes=('zlib.h',), include_d...libraries=('zlib1',), use_cpp_linker=False, platform=<MsvcPlatform cc=cl.exe>)>
configurations = [{'prefix': 'zlib-'}, {}], symbol = None, _cache = {}
def configure_external_library(name, eci, configurations,
symbol=None, _cache={}):
"""try to find the external library.
On Unix, this simply tests and returns the given eci.
On Windows, various configurations may be tried to compile the
given eci object. These configurations are a list of dicts,
containing:
- prefix: if an absolute path, will prefix each include and
library directories. If a relative path, the external
directory is searched for directories which names start
with the prefix. The last one in alphabetical order
chosen, and becomes the prefix.
- include_dir: prefix + include_dir is added to the include directories
- library_dir: prefix + library_dir is added to the library directories
"""
if sys.platform != 'win32':
configurations = []
key = (name, eci)
try:
return _cache[key]
except KeyError:
last_error = None
# Always try the default configuration
if {} not in configurations:
configurations.append({})
for configuration in configurations:
prefix = configuration.get('prefix', '')
include_dir = configuration.get('include_dir', '')
library_dir = configuration.get('library_dir', '')
if prefix and not os.path.isabs(prefix):
import glob
entries = glob.glob(str(PYPY_EXTERNAL_DIR.join(prefix + '*')))
if entries:
# Get last version
prefix = sorted(entries)[-1]
else:
continue
include_dir = os.path.join(prefix, include_dir)
library_dir = os.path.join(prefix, library_dir)
eci_lib = ExternalCompilationInfo(
include_dirs=include_dir and [include_dir] or [],
library_dirs=library_dir and [library_dir] or [],
)
eci_lib = eci_lib.merge(eci)
# verify that this eci can be compiled
try:
verify_eci(eci_lib)
except CompilationError as e:
last_error = e
else:
_cache[key] = eci_lib
return eci_lib
# Nothing found
if last_error:
> raise last_error
E CompilationError: CompilationError(out="""
E """)
rtyper\tool\rffi_platform.py:846: CompilationError
ERROR at setup of TestIncrementalMiniMarkGC.test_framework_nongc_static_root _
cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGC'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator\c\test\test_newgc.py:84:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator\c\test\test_newgc.py:1637: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, rzlib
rlib\rzlib.py:27: in <module>
[dict(prefix='zlib-'),
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
name = 'zlib'
eci = <ExternalCompilationInfo (pre_include_bits=(), includes=('zlib.h',), include_d...libraries=('zlib1',), use_cpp_linker=False, platform=<MsvcPlatform cc=cl.exe>)>
configurations = [{'prefix': 'zlib-'}, {}], symbol = None, _cache = {}
def configure_external_library(name, eci, configurations,
symbol=None, _cache={}):
"""try to find the external library.
On Unix, this simply tests and returns the given eci.
On Windows, various configurations may be tried to compile the
given eci object. These configurations are a list of dicts,
containing:
- prefix: if an absolute path, will prefix each include and
library directories. If a relative path, the external
directory is searched for directories which names start
with the prefix. The last one in alphabetical order
chosen, and becomes the prefix.
- include_dir: prefix + include_dir is added to the include directories
- library_dir: prefix + library_dir is added to the library directories
"""
if sys.platform != 'win32':
configurations = []
key = (name, eci)
try:
return _cache[key]
except KeyError:
last_error = None
# Always try the default configuration
if {} not in configurations:
configurations.append({})
for configuration in configurations:
prefix = configuration.get('prefix', '')
include_dir = configuration.get('include_dir', '')
library_dir = configuration.get('library_dir', '')
if prefix and not os.path.isabs(prefix):
import glob
entries = glob.glob(str(PYPY_EXTERNAL_DIR.join(prefix + '*')))
if entries:
# Get last version
prefix = sorted(entries)[-1]
else:
continue
include_dir = os.path.join(prefix, include_dir)
library_dir = os.path.join(prefix, library_dir)
eci_lib = ExternalCompilationInfo(
include_dirs=include_dir and [include_dir] or [],
library_dirs=library_dir and [library_dir] or [],
)
eci_lib = eci_lib.merge(eci)
# verify that this eci can be compiled
try:
verify_eci(eci_lib)
except CompilationError as e:
last_error = e
else:
_cache[key] = eci_lib
return eci_lib
# Nothing found
if last_error:
> raise last_error
E CompilationError: CompilationError(out="""
E """)
rtyper\tool\rffi_platform.py:846: CompilationError
____ ERROR at setup of TestIncrementalMiniMarkGC.test_framework_void_array ____
cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGC'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator\c\test\test_newgc.py:84:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator\c\test\test_newgc.py:1637: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, rzlib
rlib\rzlib.py:27: in <module>
[dict(prefix='zlib-'),
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
name = 'zlib'
eci = <ExternalCompilationInfo (pre_include_bits=(), includes=('zlib.h',), include_d...libraries=('zlib1',), use_cpp_linker=False, platform=<MsvcPlatform cc=cl.exe>)>
configurations = [{'prefix': 'zlib-'}, {}], symbol = None, _cache = {}
def configure_external_library(name, eci, configurations,
symbol=None, _cache={}):
"""try to find the external library.
On Unix, this simply tests and returns the given eci.
On Windows, various configurations may be tried to compile the
given eci object. These configurations are a list of dicts,
containing:
- prefix: if an absolute path, will prefix each include and
library directories. If a relative path, the external
directory is searched for directories which names start
with the prefix. The last one in alphabetical order
chosen, and becomes the prefix.
- include_dir: prefix + include_dir is added to the include directories
- library_dir: prefix + library_dir is added to the library directories
"""
if sys.platform != 'win32':
configurations = []
key = (name, eci)
try:
return _cache[key]
except KeyError:
last_error = None
# Always try the default configuration
if {} not in configurations:
configurations.append({})
for configuration in configurations:
prefix = configuration.get('prefix', '')
include_dir = configuration.get('include_dir', '')
library_dir = configuration.get('library_dir', '')
if prefix and not os.path.isabs(prefix):
import glob
entries = glob.glob(str(PYPY_EXTERNAL_DIR.join(prefix + '*')))
if entries:
# Get last version
prefix = sorted(entries)[-1]
else:
continue
include_dir = os.path.join(prefix, include_dir)
library_dir = os.path.join(prefix, library_dir)
eci_lib = ExternalCompilationInfo(
include_dirs=include_dir and [include_dir] or [],
library_dirs=library_dir and [library_dir] or [],
)
eci_lib = eci_lib.merge(eci)
# verify that this eci can be compiled
try:
verify_eci(eci_lib)
except CompilationError as e:
last_error = e
else:
_cache[key] = eci_lib
return eci_lib
# Nothing found
if last_error:
> raise last_error
E CompilationError: CompilationError(out="""
E """)
rtyper\tool\rffi_platform.py:846: CompilationError
__ ERROR at setup of TestIncrementalMiniMarkGC.test_framework_malloc_failure __
cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGC'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator\c\test\test_newgc.py:84:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator\c\test\test_newgc.py:1637: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, rzlib
rlib\rzlib.py:27: in <module>
[dict(prefix='zlib-'),
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
name = 'zlib'
eci = <ExternalCompilationInfo (pre_include_bits=(), includes=('zlib.h',), include_d...libraries=('zlib1',), use_cpp_linker=False, platform=<MsvcPlatform cc=cl.exe>)>
configurations = [{'prefix': 'zlib-'}, {}], symbol = None, _cache = {}
def configure_external_library(name, eci, configurations,
symbol=None, _cache={}):
"""try to find the external library.
On Unix, this simply tests and returns the given eci.
On Windows, various configurations may be tried to compile the
given eci object. These configurations are a list of dicts,
containing:
- prefix: if an absolute path, will prefix each include and
library directories. If a relative path, the external
directory is searched for directories which names start
with the prefix. The last one in alphabetical order
chosen, and becomes the prefix.
- include_dir: prefix + include_dir is added to the include directories
- library_dir: prefix + library_dir is added to the library directories
"""
if sys.platform != 'win32':
configurations = []
key = (name, eci)
try:
return _cache[key]
except KeyError:
last_error = None
# Always try the default configuration
if {} not in configurations:
configurations.append({})
for configuration in configurations:
prefix = configuration.get('prefix', '')
include_dir = configuration.get('include_dir', '')
library_dir = configuration.get('library_dir', '')
if prefix and not os.path.isabs(prefix):
import glob
entries = glob.glob(str(PYPY_EXTERNAL_DIR.join(prefix + '*')))
if entries:
# Get last version
prefix = sorted(entries)[-1]
else:
continue
include_dir = os.path.join(prefix, include_dir)
library_dir = os.path.join(prefix, library_dir)
eci_lib = ExternalCompilationInfo(
include_dirs=include_dir and [include_dir] or [],
library_dirs=library_dir and [library_dir] or [],
)
eci_lib = eci_lib.merge(eci)
# verify that this eci can be compiled
try:
verify_eci(eci_lib)
except CompilationError as e:
last_error = e
else:
_cache[key] = eci_lib
return eci_lib
# Nothing found
if last_error:
> raise last_error
E CompilationError: CompilationError(out="""
E """)
rtyper\tool\rffi_platform.py:846: CompilationError
__ ERROR at setup of TestIncrementalMiniMarkGC.test_framework_array_of_void ___
cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGC'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator\c\test\test_newgc.py:84:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator\c\test\test_newgc.py:1637: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, rzlib
rlib\rzlib.py:27: in <module>
[dict(prefix='zlib-'),
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
name = 'zlib'
eci = <ExternalCompilationInfo (pre_include_bits=(), includes=('zlib.h',), include_d...libraries=('zlib1',), use_cpp_linker=False, platform=<MsvcPlatform cc=cl.exe>)>
configurations = [{'prefix': 'zlib-'}, {}], symbol = None, _cache = {}
def configure_external_library(name, eci, configurations,
symbol=None, _cache={}):
"""try to find the external library.
On Unix, this simply tests and returns the given eci.
On Windows, various configurations may be tried to compile the
given eci object. These configurations are a list of dicts,
containing:
- prefix: if an absolute path, will prefix each include and
library directories. If a relative path, the external
directory is searched for directories which names start
with the prefix. The last one in alphabetical order
chosen, and becomes the prefix.
- include_dir: prefix + include_dir is added to the include directories
- library_dir: prefix + library_dir is added to the library directories
"""
if sys.platform != 'win32':
configurations = []
key = (name, eci)
try:
return _cache[key]
except KeyError:
last_error = None
# Always try the default configuration
if {} not in configurations:
configurations.append({})
for configuration in configurations:
prefix = configuration.get('prefix', '')
include_dir = configuration.get('include_dir', '')
library_dir = configuration.get('library_dir', '')
if prefix and not os.path.isabs(prefix):
import glob
entries = glob.glob(str(PYPY_EXTERNAL_DIR.join(prefix + '*')))
if entries:
# Get last version
prefix = sorted(entries)[-1]
else:
continue
include_dir = os.path.join(prefix, include_dir)
library_dir = os.path.join(prefix, library_dir)
eci_lib = ExternalCompilationInfo(
include_dirs=include_dir and [include_dir] or [],
library_dirs=library_dir and [library_dir] or [],
)
eci_lib = eci_lib.merge(eci)
# verify that this eci can be compiled
try:
verify_eci(eci_lib)
except CompilationError as e:
last_error = e
else:
_cache[key] = eci_lib
return eci_lib
# Nothing found
if last_error:
> raise last_error
E CompilationError: CompilationError(out="""
E """)
rtyper\tool\rffi_platform.py:846: CompilationError
______ ERROR at setup of TestIncrementalMiniMarkGC.test_framework_opaque ______
cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGC'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator\c\test\test_newgc.py:84:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator\c\test\test_newgc.py:1637: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, rzlib
rlib\rzlib.py:27: in <module>
[dict(prefix='zlib-'),
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
name = 'zlib'
eci = <ExternalCompilationInfo (pre_include_bits=(), includes=('zlib.h',), include_d...libraries=('zlib1',), use_cpp_linker=False, platform=<MsvcPlatform cc=cl.exe>)>
configurations = [{'prefix': 'zlib-'}, {}], symbol = None, _cache = {}
def configure_external_library(name, eci, configurations,
symbol=None, _cache={}):
"""try to find the external library.
On Unix, this simply tests and returns the given eci.
On Windows, various configurations may be tried to compile the
given eci object. These configurations are a list of dicts,
containing:
- prefix: if an absolute path, will prefix each include and
library directories. If a relative path, the external
directory is searched for directories which names start
with the prefix. The last one in alphabetical order
chosen, and becomes the prefix.
- include_dir: prefix + include_dir is added to the include directories
- library_dir: prefix + library_dir is added to the library directories
"""
if sys.platform != 'win32':
configurations = []
key = (name, eci)
try:
return _cache[key]
except KeyError:
last_error = None
# Always try the default configuration
if {} not in configurations:
configurations.append({})
for configuration in configurations:
prefix = configuration.get('prefix', '')
include_dir = configuration.get('include_dir', '')
library_dir = configuration.get('library_dir', '')
if prefix and not os.path.isabs(prefix):
import glob
entries = glob.glob(str(PYPY_EXTERNAL_DIR.join(prefix + '*')))
if entries:
# Get last version
prefix = sorted(entries)[-1]
else:
continue
include_dir = os.path.join(prefix, include_dir)
library_dir = os.path.join(prefix, library_dir)
eci_lib = ExternalCompilationInfo(
include_dirs=include_dir and [include_dir] or [],
library_dirs=library_dir and [library_dir] or [],
)
eci_lib = eci_lib.merge(eci)
# verify that this eci can be compiled
try:
verify_eci(eci_lib)
except CompilationError as e:
last_error = e
else:
_cache[key] = eci_lib
return eci_lib
# Nothing found
if last_error:
> raise last_error
E CompilationError: CompilationError(out="""
E """)
rtyper\tool\rffi_platform.py:846: CompilationError
____ ERROR at setup of TestIncrementalMiniMarkGC.test_framework_finalizer _____
cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGC'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator\c\test\test_newgc.py:84:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator\c\test\test_newgc.py:1637: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, rzlib
rlib\rzlib.py:27: in <module>
[dict(prefix='zlib-'),
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
name = 'zlib'
eci = <ExternalCompilationInfo (pre_include_bits=(), includes=('zlib.h',), include_d...libraries=('zlib1',), use_cpp_linker=False, platform=<MsvcPlatform cc=cl.exe>)>
configurations = [{'prefix': 'zlib-'}, {}], symbol = None, _cache = {}
def configure_external_library(name, eci, configurations,
symbol=None, _cache={}):
"""try to find the external library.
On Unix, this simply tests and returns the given eci.
On Windows, various configurations may be tried to compile the
given eci object. These configurations are a list of dicts,
containing:
- prefix: if an absolute path, will prefix each include and
library directories. If a relative path, the external
directory is searched for directories which names start
with the prefix. The last one in alphabetical order
chosen, and becomes the prefix.
- include_dir: prefix + include_dir is added to the include directories
- library_dir: prefix + library_dir is added to the library directories
"""
if sys.platform != 'win32':
configurations = []
key = (name, eci)
try:
return _cache[key]
except KeyError:
last_error = None
# Always try the default configuration
if {} not in configurations:
configurations.append({})
for configuration in configurations:
prefix = configuration.get('prefix', '')
include_dir = configuration.get('include_dir', '')
library_dir = configuration.get('library_dir', '')
if prefix and not os.path.isabs(prefix):
import glob
entries = glob.glob(str(PYPY_EXTERNAL_DIR.join(prefix + '*')))
if entries:
# Get last version
prefix = sorted(entries)[-1]
else:
continue
include_dir = os.path.join(prefix, include_dir)
library_dir = os.path.join(prefix, library_dir)
eci_lib = ExternalCompilationInfo(
include_dirs=include_dir and [include_dir] or [],
library_dirs=library_dir and [library_dir] or [],
)
eci_lib = eci_lib.merge(eci)
# verify that this eci can be compiled
try:
verify_eci(eci_lib)
except CompilationError as e:
last_error = e
else:
_cache[key] = eci_lib
return eci_lib
# Nothing found
if last_error:
> raise last_error
E CompilationError: CompilationError(out="""
E """)
rtyper\tool\rffi_platform.py:846: CompilationError
________ ERROR at setup of TestIncrementalMiniMarkGC.test_del_catches _________
cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGC'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator\c\test\test_newgc.py:84:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator\c\test\test_newgc.py:1637: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, rzlib
rlib\rzlib.py:27: in <module>
[dict(prefix='zlib-'),
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
name = 'zlib'
eci = <ExternalCompilationInfo (pre_include_bits=(), includes=('zlib.h',), include_d...libraries=('zlib1',), use_cpp_linker=False, platform=<MsvcPlatform cc=cl.exe>)>
configurations = [{'prefix': 'zlib-'}, {}], symbol = None, _cache = {}
def configure_external_library(name, eci, configurations,
symbol=None, _cache={}):
"""try to find the external library.
On Unix, this simply tests and returns the given eci.
On Windows, various configurations may be tried to compile the
given eci object. These configurations are a list of dicts,
containing:
- prefix: if an absolute path, will prefix each include and
library directories. If a relative path, the external
directory is searched for directories which names start
with the prefix. The last one in alphabetical order
chosen, and becomes the prefix.
- include_dir: prefix + include_dir is added to the include directories
- library_dir: prefix + library_dir is added to the library directories
"""
if sys.platform != 'win32':
configurations = []
key = (name, eci)
try:
return _cache[key]
except KeyError:
last_error = None
# Always try the default configuration
if {} not in configurations:
configurations.append({})
for configuration in configurations:
prefix = configuration.get('prefix', '')
include_dir = configuration.get('include_dir', '')
library_dir = configuration.get('library_dir', '')
if prefix and not os.path.isabs(prefix):
import glob
entries = glob.glob(str(PYPY_EXTERNAL_DIR.join(prefix + '*')))
if entries:
# Get last version
prefix = sorted(entries)[-1]
else:
continue
include_dir = os.path.join(prefix, include_dir)
library_dir = os.path.join(prefix, library_dir)
eci_lib = ExternalCompilationInfo(
include_dirs=include_dir and [include_dir] or [],
library_dirs=library_dir and [library_dir] or [],
)
eci_lib = eci_lib.merge(eci)
# verify that this eci can be compiled
try:
verify_eci(eci_lib)
except CompilationError as e:
last_error = e
else:
_cache[key] = eci_lib
return eci_lib
# Nothing found
if last_error:
> raise last_error
E CompilationError: CompilationError(out="""
E """)
rtyper\tool\rffi_platform.py:846: CompilationError
_________ ERROR at setup of TestIncrementalMiniMarkGC.test_del_raises _________
cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGC'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator\c\test\test_newgc.py:84:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator\c\test\test_newgc.py:1637: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, rzlib
rlib\rzlib.py:27: in <module>
[dict(prefix='zlib-'),
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
name = 'zlib'
eci = <ExternalCompilationInfo (pre_include_bits=(), includes=('zlib.h',), include_d...libraries=('zlib1',), use_cpp_linker=False, platform=<MsvcPlatform cc=cl.exe>)>
configurations = [{'prefix': 'zlib-'}, {}], symbol = None, _cache = {}
def configure_external_library(name, eci, configurations,
symbol=None, _cache={}):
"""try to find the external library.
On Unix, this simply tests and returns the given eci.
On Windows, various configurations may be tried to compile the
given eci object. These configurations are a list of dicts,
containing:
- prefix: if an absolute path, will prefix each include and
library directories. If a relative path, the external
directory is searched for directories which names start
with the prefix. The last one in alphabetical order
chosen, and becomes the prefix.
- include_dir: prefix + include_dir is added to the include directories
- library_dir: prefix + library_dir is added to the library directories
"""
if sys.platform != 'win32':
configurations = []
key = (name, eci)
try:
return _cache[key]
except KeyError:
last_error = None
# Always try the default configuration
if {} not in configurations:
configurations.append({})
for configuration in configurations:
prefix = configuration.get('prefix', '')
include_dir = configuration.get('include_dir', '')
library_dir = configuration.get('library_dir', '')
if prefix and not os.path.isabs(prefix):
import glob
entries = glob.glob(str(PYPY_EXTERNAL_DIR.join(prefix + '*')))
if entries:
# Get last version
prefix = sorted(entries)[-1]
else:
continue
include_dir = os.path.join(prefix, include_dir)
library_dir = os.path.join(prefix, library_dir)
eci_lib = ExternalCompilationInfo(
include_dirs=include_dir and [include_dir] or [],
library_dirs=library_dir and [library_dir] or [],
)
eci_lib = eci_lib.merge(eci)
# verify that this eci can be compiled
try:
verify_eci(eci_lib)
except CompilationError as e:
last_error = e
else:
_cache[key] = eci_lib
return eci_lib
# Nothing found
if last_error:
> raise last_error
E CompilationError: CompilationError(out="""
E """)
rtyper\tool\rffi_platform.py:846: CompilationError
________ ERROR at setup of TestIncrementalMiniMarkGC.test_custom_trace ________
cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGC'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator\c\test\test_newgc.py:84:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator\c\test\test_newgc.py:1637: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, rzlib
rlib\rzlib.py:27: in <module>
[dict(prefix='zlib-'),
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
name = 'zlib'
eci = <ExternalCompilationInfo (pre_include_bits=(), includes=('zlib.h',), include_d...libraries=('zlib1',), use_cpp_linker=False, platform=<MsvcPlatform cc=cl.exe>)>
configurations = [{'prefix': 'zlib-'}, {}], symbol = None, _cache = {}
def configure_external_library(name, eci, configurations,
symbol=None, _cache={}):
"""try to find the external library.
On Unix, this simply tests and returns the given eci.
On Windows, various configurations may be tried to compile the
given eci object. These configurations are a list of dicts,
containing:
- prefix: if an absolute path, will prefix each include and
library directories. If a relative path, the external
directory is searched for directories which names start
with the prefix. The last one in alphabetical order
chosen, and becomes the prefix.
- include_dir: prefix + include_dir is added to the include directories
- library_dir: prefix + library_dir is added to the library directories
"""
if sys.platform != 'win32':
configurations = []
key = (name, eci)
try:
return _cache[key]
except KeyError:
last_error = None
# Always try the default configuration
if {} not in configurations:
configurations.append({})
for configuration in configurations:
prefix = configuration.get('prefix', '')
include_dir = configuration.get('include_dir', '')
library_dir = configuration.get('library_dir', '')
if prefix and not os.path.isabs(prefix):
import glob
entries = glob.glob(str(PYPY_EXTERNAL_DIR.join(prefix + '*')))
if entries:
# Get last version
prefix = sorted(entries)[-1]
else:
continue
include_dir = os.path.join(prefix, include_dir)
library_dir = os.path.join(prefix, library_dir)
eci_lib = ExternalCompilationInfo(
include_dirs=include_dir and [include_dir] or [],
library_dirs=library_dir and [library_dir] or [],
)
eci_lib = eci_lib.merge(eci)
# verify that this eci can be compiled
try:
verify_eci(eci_lib)
except CompilationError as e:
last_error = e
else:
_cache[key] = eci_lib
return eci_lib
# Nothing found
if last_error:
> raise last_error
E CompilationError: CompilationError(out="""
E """)
rtyper\tool\rffi_platform.py:846: CompilationError
___ ERROR at setup of TestIncrementalMiniMarkGC.test_custom_light_finalizer ___
cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGC'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator\c\test\test_newgc.py:84:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator\c\test\test_newgc.py:1637: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, rzlib
rlib\rzlib.py:27: in <module>
[dict(prefix='zlib-'),
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
name = 'zlib'
eci = <ExternalCompilationInfo (pre_include_bits=(), includes=('zlib.h',), include_d...libraries=('zlib1',), use_cpp_linker=False, platform=<MsvcPlatform cc=cl.exe>)>
configurations = [{'prefix': 'zlib-'}, {}], symbol = None, _cache = {}
def configure_external_library(name, eci, configurations,
symbol=None, _cache={}):
"""try to find the external library.
On Unix, this simply tests and returns the given eci.
On Windows, various configurations may be tried to compile the
given eci object. These configurations are a list of dicts,
containing:
- prefix: if an absolute path, will prefix each include and
library directories. If a relative path, the external
directory is searched for directories which names start
with the prefix. The last one in alphabetical order
chosen, and becomes the prefix.
- include_dir: prefix + include_dir is added to the include directories
- library_dir: prefix + library_dir is added to the library directories
"""
if sys.platform != 'win32':
configurations = []
key = (name, eci)
try:
return _cache[key]
except KeyError:
last_error = None
# Always try the default configuration
if {} not in configurations:
configurations.append({})
for configuration in configurations:
prefix = configuration.get('prefix', '')
include_dir = configuration.get('include_dir', '')
library_dir = configuration.get('library_dir', '')
if prefix and not os.path.isabs(prefix):
import glob
entries = glob.glob(str(PYPY_EXTERNAL_DIR.join(prefix + '*')))
if entries:
# Get last version
prefix = sorted(entries)[-1]
else:
continue
include_dir = os.path.join(prefix, include_dir)
library_dir = os.path.join(prefix, library_dir)
eci_lib = ExternalCompilationInfo(
include_dirs=include_dir and [include_dir] or [],
library_dirs=library_dir and [library_dir] or [],
)
eci_lib = eci_lib.merge(eci)
# verify that this eci can be compiled
try:
verify_eci(eci_lib)
except CompilationError as e:
last_error = e
else:
_cache[key] = eci_lib
return eci_lib
# Nothing found
if last_error:
> raise last_error
E CompilationError: CompilationError(out="""
E """)
rtyper\tool\rffi_platform.py:846: CompilationError
__________ ERROR at setup of TestIncrementalMiniMarkGC.test_weakref ___________
cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGC'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator\c\test\test_newgc.py:84:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator\c\test\test_newgc.py:1637: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, rzlib
rlib\rzlib.py:27: in <module>
[dict(prefix='zlib-'),
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
name = 'zlib'
eci = <ExternalCompilationInfo (pre_include_bits=(), includes=('zlib.h',), include_d...libraries=('zlib1',), use_cpp_linker=False, platform=<MsvcPlatform cc=cl.exe>)>
configurations = [{'prefix': 'zlib-'}, {}], symbol = None, _cache = {}
def configure_external_library(name, eci, configurations,
symbol=None, _cache={}):
"""try to find the external library.
On Unix, this simply tests and returns the given eci.
On Windows, various configurations may be tried to compile the
given eci object. These configurations are a list of dicts,
containing:
- prefix: if an absolute path, will prefix each include and
library directories. If a relative path, the external
directory is searched for directories which names start
with the prefix. The last one in alphabetical order
chosen, and becomes the prefix.
- include_dir: prefix + include_dir is added to the include directories
- library_dir: prefix + library_dir is added to the library directories
"""
if sys.platform != 'win32':
configurations = []
key = (name, eci)
try:
return _cache[key]
except KeyError:
last_error = None
# Always try the default configuration
if {} not in configurations:
configurations.append({})
for configuration in configurations:
prefix = configuration.get('prefix', '')
include_dir = configuration.get('include_dir', '')
library_dir = configuration.get('library_dir', '')
if prefix and not os.path.isabs(prefix):
import glob
entries = glob.glob(str(PYPY_EXTERNAL_DIR.join(prefix + '*')))
if entries:
# Get last version
prefix = sorted(entries)[-1]
else:
continue
include_dir = os.path.join(prefix, include_dir)
library_dir = os.path.join(prefix, library_dir)
eci_lib = ExternalCompilationInfo(
include_dirs=include_dir and [include_dir] or [],
library_dirs=library_dir and [library_dir] or [],
)
eci_lib = eci_lib.merge(eci)
# verify that this eci can be compiled
try:
verify_eci(eci_lib)
except CompilationError as e:
last_error = e
else:
_cache[key] = eci_lib
return eci_lib
# Nothing found
if last_error:
> raise last_error
E CompilationError: CompilationError(out="""
E """)
rtyper\tool\rffi_platform.py:846: CompilationError
______ ERROR at setup of TestIncrementalMiniMarkGC.test_prebuilt_weakref ______
cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGC'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator\c\test\test_newgc.py:84:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator\c\test\test_newgc.py:1637: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, rzlib
rlib\rzlib.py:27: in <module>
[dict(prefix='zlib-'),
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
name = 'zlib'
eci = <ExternalCompilationInfo (pre_include_bits=(), includes=('zlib.h',), include_d...libraries=('zlib1',), use_cpp_linker=False, platform=<MsvcPlatform cc=cl.exe>)>
configurations = [{'prefix': 'zlib-'}, {}], symbol = None, _cache = {}
def configure_external_library(name, eci, configurations,
symbol=None, _cache={}):
"""try to find the external library.
On Unix, this simply tests and returns the given eci.
On Windows, various configurations may be tried to compile the
given eci object. These configurations are a list of dicts,
containing:
- prefix: if an absolute path, will prefix each include and
library directories. If a relative path, the external
directory is searched for directories which names start
with the prefix. The last one in alphabetical order
chosen, and becomes the prefix.
- include_dir: prefix + include_dir is added to the include directories
- library_dir: prefix + library_dir is added to the library directories
"""
if sys.platform != 'win32':
configurations = []
key = (name, eci)
try:
return _cache[key]
except KeyError:
last_error = None
# Always try the default configuration
if {} not in configurations:
configurations.append({})
for configuration in configurations:
prefix = configuration.get('prefix', '')
include_dir = configuration.get('include_dir', '')
library_dir = configuration.get('library_dir', '')
if prefix and not os.path.isabs(prefix):
import glob
entries = glob.glob(str(PYPY_EXTERNAL_DIR.join(prefix + '*')))
if entries:
# Get last version
prefix = sorted(entries)[-1]
else:
continue
include_dir = os.path.join(prefix, include_dir)
library_dir = os.path.join(prefix, library_dir)
eci_lib = ExternalCompilationInfo(
include_dirs=include_dir and [include_dir] or [],
library_dirs=library_dir and [library_dir] or [],
)
eci_lib = eci_lib.merge(eci)
# verify that this eci can be compiled
try:
verify_eci(eci_lib)
except CompilationError as e:
last_error = e
else:
_cache[key] = eci_lib
return eci_lib
# Nothing found
if last_error:
> raise last_error
E CompilationError: CompilationError(out="""
E """)
rtyper\tool\rffi_platform.py:846: CompilationError
ERROR at setup of TestIncrementalMiniMarkGC.test_prebuilt_dicts_of_all_sizes _
cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGC'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator\c\test\test_newgc.py:84:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator\c\test\test_newgc.py:1637: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, rzlib
rlib\rzlib.py:27: in <module>
[dict(prefix='zlib-'),
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
name = 'zlib'
eci = <ExternalCompilationInfo (pre_include_bits=(), includes=('zlib.h',), include_d...libraries=('zlib1',), use_cpp_linker=False, platform=<MsvcPlatform cc=cl.exe>)>
configurations = [{'prefix': 'zlib-'}, {}], symbol = None, _cache = {}
def configure_external_library(name, eci, configurations,
symbol=None, _cache={}):
"""try to find the external library.
On Unix, this simply tests and returns the given eci.
On Windows, various configurations may be tried to compile the
given eci object. These configurations are a list of dicts,
containing:
- prefix: if an absolute path, will prefix each include and
library directories. If a relative path, the external
directory is searched for directories which names start
with the prefix. The last one in alphabetical order
chosen, and becomes the prefix.
- include_dir: prefix + include_dir is added to the include directories
- library_dir: prefix + library_dir is added to the library directories
"""
if sys.platform != 'win32':
configurations = []
key = (name, eci)
try:
return _cache[key]
except KeyError:
last_error = None
# Always try the default configuration
if {} not in configurations:
configurations.append({})
for configuration in configurations:
prefix = configuration.get('prefix', '')
include_dir = configuration.get('include_dir', '')
library_dir = configuration.get('library_dir', '')
if prefix and not os.path.isabs(prefix):
import glob
entries = glob.glob(str(PYPY_EXTERNAL_DIR.join(prefix + '*')))
if entries:
# Get last version
prefix = sorted(entries)[-1]
else:
continue
include_dir = os.path.join(prefix, include_dir)
library_dir = os.path.join(prefix, library_dir)
eci_lib = ExternalCompilationInfo(
include_dirs=include_dir and [include_dir] or [],
library_dirs=library_dir and [library_dir] or [],
)
eci_lib = eci_lib.merge(eci)
# verify that this eci can be compiled
try:
verify_eci(eci_lib)
except CompilationError as e:
last_error = e
else:
_cache[key] = eci_lib
return eci_lib
# Nothing found
if last_error:
> raise last_error
E CompilationError: CompilationError(out="""
E """)
rtyper\tool\rffi_platform.py:846: CompilationError
____ ERROR at setup of TestIncrementalMiniMarkGC.test_framework_malloc_raw ____
cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGC'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator\c\test\test_newgc.py:84:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator\c\test\test_newgc.py:1637: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, rzlib
rlib\rzlib.py:27: in <module>
[dict(prefix='zlib-'),
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
name = 'zlib'
eci = <ExternalCompilationInfo (pre_include_bits=(), includes=('zlib.h',), include_d...libraries=('zlib1',), use_cpp_linker=False, platform=<MsvcPlatform cc=cl.exe>)>
configurations = [{'prefix': 'zlib-'}, {}], symbol = None, _cache = {}
def configure_external_library(name, eci, configurations,
symbol=None, _cache={}):
"""try to find the external library.
On Unix, this simply tests and returns the given eci.
On Windows, various configurations may be tried to compile the
given eci object. These configurations are a list of dicts,
containing:
- prefix: if an absolute path, will prefix each include and
library directories. If a relative path, the external
directory is searched for directories which names start
with the prefix. The last one in alphabetical order
chosen, and becomes the prefix.
- include_dir: prefix + include_dir is added to the include directories
- library_dir: prefix + library_dir is added to the library directories
"""
if sys.platform != 'win32':
configurations = []
key = (name, eci)
try:
return _cache[key]
except KeyError:
last_error = None
# Always try the default configuration
if {} not in configurations:
configurations.append({})
for configuration in configurations:
prefix = configuration.get('prefix', '')
include_dir = configuration.get('include_dir', '')
library_dir = configuration.get('library_dir', '')
if prefix and not os.path.isabs(prefix):
import glob
entries = glob.glob(str(PYPY_EXTERNAL_DIR.join(prefix + '*')))
if entries:
# Get last version
prefix = sorted(entries)[-1]
else:
continue
include_dir = os.path.join(prefix, include_dir)
library_dir = os.path.join(prefix, library_dir)
eci_lib = ExternalCompilationInfo(
include_dirs=include_dir and [include_dir] or [],
library_dirs=library_dir and [library_dir] or [],
)
eci_lib = eci_lib.merge(eci)
# verify that this eci can be compiled
try:
verify_eci(eci_lib)
except CompilationError as e:
last_error = e
else:
_cache[key] = eci_lib
return eci_lib
# Nothing found
if last_error:
> raise last_error
E CompilationError: CompilationError(out="""
E """)
rtyper\tool\rffi_platform.py:846: CompilationError
ERROR at setup of TestIncrementalMiniMarkGC.test_framework_del_seeing_new_types
cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGC'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator\c\test\test_newgc.py:84:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator\c\test\test_newgc.py:1637: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, rzlib
rlib\rzlib.py:27: in <module>
[dict(prefix='zlib-'),
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
name = 'zlib'
eci = <ExternalCompilationInfo (pre_include_bits=(), includes=('zlib.h',), include_d...libraries=('zlib1',), use_cpp_linker=False, platform=<MsvcPlatform cc=cl.exe>)>
configurations = [{'prefix': 'zlib-'}, {}], symbol = None, _cache = {}
def configure_external_library(name, eci, configurations,
symbol=None, _cache={}):
"""try to find the external library.
On Unix, this simply tests and returns the given eci.
On Windows, various configurations may be tried to compile the
given eci object. These configurations are a list of dicts,
containing:
- prefix: if an absolute path, will prefix each include and
library directories. If a relative path, the external
directory is searched for directories which names start
with the prefix. The last one in alphabetical order
chosen, and becomes the prefix.
- include_dir: prefix + include_dir is added to the include directories
- library_dir: prefix + library_dir is added to the library directories
"""
if sys.platform != 'win32':
configurations = []
key = (name, eci)
try:
return _cache[key]
except KeyError:
last_error = None
# Always try the default configuration
if {} not in configurations:
configurations.append({})
for configuration in configurations:
prefix = configuration.get('prefix', '')
include_dir = configuration.get('include_dir', '')
library_dir = configuration.get('library_dir', '')
if prefix and not os.path.isabs(prefix):
import glob
entries = glob.glob(str(PYPY_EXTERNAL_DIR.join(prefix + '*')))
if entries:
# Get last version
prefix = sorted(entries)[-1]
else:
continue
include_dir = os.path.join(prefix, include_dir)
library_dir = os.path.join(prefix, library_dir)
eci_lib = ExternalCompilationInfo(
include_dirs=include_dir and [include_dir] or [],
library_dirs=library_dir and [library_dir] or [],
)
eci_lib = eci_lib.merge(eci)
# verify that this eci can be compiled
try:
verify_eci(eci_lib)
except CompilationError as e:
last_error = e
else:
_cache[key] = eci_lib
return eci_lib
# Nothing found
if last_error:
> raise last_error
E CompilationError: CompilationError(out="""
E """)
rtyper\tool\rffi_platform.py:846: CompilationError
ERROR at setup of TestIncrementalMiniMarkGC.test_framework_late_filling_pointers
cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGC'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator\c\test\test_newgc.py:84:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator\c\test\test_newgc.py:1637: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, rzlib
rlib\rzlib.py:27: in <module>
[dict(prefix='zlib-'),
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
name = 'zlib'
eci = <ExternalCompilationInfo (pre_include_bits=(), includes=('zlib.h',), include_d...libraries=('zlib1',), use_cpp_linker=False, platform=<MsvcPlatform cc=cl.exe>)>
configurations = [{'prefix': 'zlib-'}, {}], symbol = None, _cache = {}
def configure_external_library(name, eci, configurations,
symbol=None, _cache={}):
"""try to find the external library.
On Unix, this simply tests and returns the given eci.
On Windows, various configurations may be tried to compile the
given eci object. These configurations are a list of dicts,
containing:
- prefix: if an absolute path, will prefix each include and
library directories. If a relative path, the external
directory is searched for directories which names start
with the prefix. The last one in alphabetical order
chosen, and becomes the prefix.
- include_dir: prefix + include_dir is added to the include directories
- library_dir: prefix + library_dir is added to the library directories
"""
if sys.platform != 'win32':
configurations = []
key = (name, eci)
try:
return _cache[key]
except KeyError:
last_error = None
# Always try the default configuration
if {} not in configurations:
configurations.append({})
for configuration in configurations:
prefix = configuration.get('prefix', '')
include_dir = configuration.get('include_dir', '')
library_dir = configuration.get('library_dir', '')
if prefix and not os.path.isabs(prefix):
import glob
entries = glob.glob(str(PYPY_EXTERNAL_DIR.join(prefix + '*')))
if entries:
# Get last version
prefix = sorted(entries)[-1]
else:
continue
include_dir = os.path.join(prefix, include_dir)
library_dir = os.path.join(prefix, library_dir)
eci_lib = ExternalCompilationInfo(
include_dirs=include_dir and [include_dir] or [],
library_dirs=library_dir and [library_dir] or [],
)
eci_lib = eci_lib.merge(eci)
# verify that this eci can be compiled
try:
verify_eci(eci_lib)
except CompilationError as e:
last_error = e
else:
_cache[key] = eci_lib
return eci_lib
# Nothing found
if last_error:
> raise last_error
E CompilationError: CompilationError(out="""
E """)
rtyper\tool\rffi_platform.py:846: CompilationError
______ ERROR at setup of TestIncrementalMiniMarkGC.test_zero_raw_malloc _______
cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGC'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator\c\test\test_newgc.py:84:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator\c\test\test_newgc.py:1637: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, rzlib
rlib\rzlib.py:27: in <module>
[dict(prefix='zlib-'),
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
name = 'zlib'
eci = <ExternalCompilationInfo (pre_include_bits=(), includes=('zlib.h',), include_d...libraries=('zlib1',), use_cpp_linker=False, platform=<MsvcPlatform cc=cl.exe>)>
configurations = [{'prefix': 'zlib-'}, {}], symbol = None, _cache = {}
def configure_external_library(name, eci, configurations,
symbol=None, _cache={}):
"""try to find the external library.
On Unix, this simply tests and returns the given eci.
On Windows, various configurations may be tried to compile the
given eci object. These configurations are a list of dicts,
containing:
- prefix: if an absolute path, will prefix each include and
library directories. If a relative path, the external
directory is searched for directories which names start
with the prefix. The last one in alphabetical order
chosen, and becomes the prefix.
- include_dir: prefix + include_dir is added to the include directories
- library_dir: prefix + library_dir is added to the library directories
"""
if sys.platform != 'win32':
configurations = []
key = (name, eci)
try:
return _cache[key]
except KeyError:
last_error = None
# Always try the default configuration
if {} not in configurations:
configurations.append({})
for configuration in configurations:
prefix = configuration.get('prefix', '')
include_dir = configuration.get('include_dir', '')
library_dir = configuration.get('library_dir', '')
if prefix and not os.path.isabs(prefix):
import glob
entries = glob.glob(str(PYPY_EXTERNAL_DIR.join(prefix + '*')))
if entries:
# Get last version
prefix = sorted(entries)[-1]
else:
continue
include_dir = os.path.join(prefix, include_dir)
library_dir = os.path.join(prefix, library_dir)
eci_lib = ExternalCompilationInfo(
include_dirs=include_dir and [include_dir] or [],
library_dirs=library_dir and [library_dir] or [],
)
eci_lib = eci_lib.merge(eci)
# verify that this eci can be compiled
try:
verify_eci(eci_lib)
except CompilationError as e:
last_error = e
else:
_cache[key] = eci_lib
return eci_lib
# Nothing found
if last_error:
> raise last_error
E CompilationError: CompilationError(out="""
E """)
rtyper\tool\rffi_platform.py:846: CompilationError
______ ERROR at setup of TestIncrementalMiniMarkGC.test_object_alignment ______
cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGC'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator\c\test\test_newgc.py:84:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator\c\test\test_newgc.py:1637: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, rzlib
rlib\rzlib.py:27: in <module>
[dict(prefix='zlib-'),
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
name = 'zlib'
eci = <ExternalCompilationInfo (pre_include_bits=(), includes=('zlib.h',), include_d...libraries=('zlib1',), use_cpp_linker=False, platform=<MsvcPlatform cc=cl.exe>)>
configurations = [{'prefix': 'zlib-'}, {}], symbol = None, _cache = {}
def configure_external_library(name, eci, configurations,
symbol=None, _cache={}):
"""try to find the external library.
On Unix, this simply tests and returns the given eci.
On Windows, various configurations may be tried to compile the
given eci object. These configurations are a list of dicts,
containing:
- prefix: if an absolute path, will prefix each include and
library directories. If a relative path, the external
directory is searched for directories which names start
with the prefix. The last one in alphabetical order
chosen, and becomes the prefix.
- include_dir: prefix + include_dir is added to the include directories
- library_dir: prefix + library_dir is added to the library directories
"""
if sys.platform != 'win32':
configurations = []
key = (name, eci)
try:
return _cache[key]
except KeyError:
last_error = None
# Always try the default configuration
if {} not in configurations:
configurations.append({})
for configuration in configurations:
prefix = configuration.get('prefix', '')
include_dir = configuration.get('include_dir', '')
library_dir = configuration.get('library_dir', '')
if prefix and not os.path.isabs(prefix):
import glob
entries = glob.glob(str(PYPY_EXTERNAL_DIR.join(prefix + '*')))
if entries:
# Get last version
prefix = sorted(entries)[-1]
else:
continue
include_dir = os.path.join(prefix, include_dir)
library_dir = os.path.join(prefix, library_dir)
eci_lib = ExternalCompilationInfo(
include_dirs=include_dir and [include_dir] or [],
library_dirs=library_dir and [library_dir] or [],
)
eci_lib = eci_lib.merge(eci)
# verify that this eci can be compiled
try:
verify_eci(eci_lib)
except CompilationError as e:
last_error = e
else:
_cache[key] = eci_lib
return eci_lib
# Nothing found
if last_error:
> raise last_error
E CompilationError: CompilationError(out="""
E """)
rtyper\tool\rffi_platform.py:846: CompilationError
_________ ERROR at setup of TestIncrementalMiniMarkGC.test_void_list __________
cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGC'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator\c\test\test_newgc.py:84:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator\c\test\test_newgc.py:1637: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, rzlib
rlib\rzlib.py:27: in <module>
[dict(prefix='zlib-'),
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
name = 'zlib'
eci = <ExternalCompilationInfo (pre_include_bits=(), includes=('zlib.h',), include_d...libraries=('zlib1',), use_cpp_linker=False, platform=<MsvcPlatform cc=cl.exe>)>
configurations = [{'prefix': 'zlib-'}, {}], symbol = None, _cache = {}
def configure_external_library(name, eci, configurations,
symbol=None, _cache={}):
"""try to find the external library.
On Unix, this simply tests and returns the given eci.
On Windows, various configurations may be tried to compile the
given eci object. These configurations are a list of dicts,
containing:
- prefix: if an absolute path, will prefix each include and
library directories. If a relative path, the external
directory is searched for directories which names start
with the prefix. The last one in alphabetical order
chosen, and becomes the prefix.
- include_dir: prefix + include_dir is added to the include directories
- library_dir: prefix + library_dir is added to the library directories
"""
if sys.platform != 'win32':
configurations = []
key = (name, eci)
try:
return _cache[key]
except KeyError:
last_error = None
# Always try the default configuration
if {} not in configurations:
configurations.append({})
for configuration in configurations:
prefix = configuration.get('prefix', '')
include_dir = configuration.get('include_dir', '')
library_dir = configuration.get('library_dir', '')
if prefix and not os.path.isabs(prefix):
import glob
entries = glob.glob(str(PYPY_EXTERNAL_DIR.join(prefix + '*')))
if entries:
# Get last version
prefix = sorted(entries)[-1]
else:
continue
include_dir = os.path.join(prefix, include_dir)
library_dir = os.path.join(prefix, library_dir)
eci_lib = ExternalCompilationInfo(
include_dirs=include_dir and [include_dir] or [],
library_dirs=library_dir and [library_dir] or [],
)
eci_lib = eci_lib.merge(eci)
# verify that this eci can be compiled
try:
verify_eci(eci_lib)
except CompilationError as e:
last_error = e
else:
_cache[key] = eci_lib
return eci_lib
# Nothing found
if last_error:
> raise last_error
E CompilationError: CompilationError(out="""
E """)
rtyper\tool\rffi_platform.py:846: CompilationError
_ ERROR at setup of TestIncrementalMiniMarkGC.test_open_read_write_seek_close _
cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGC'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator\c\test\test_newgc.py:84:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator\c\test\test_newgc.py:1637: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, rzlib
rlib\rzlib.py:27: in <module>
[dict(prefix='zlib-'),
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
name = 'zlib'
eci = <ExternalCompilationInfo (pre_include_bits=(), includes=('zlib.h',), include_d...libraries=('zlib1',), use_cpp_linker=False, platform=<MsvcPlatform cc=cl.exe>)>
configurations = [{'prefix': 'zlib-'}, {}], symbol = None, _cache = {}
def configure_external_library(name, eci, configurations,
symbol=None, _cache={}):
"""try to find the external library.
On Unix, this simply tests and returns the given eci.
On Windows, various configurations may be tried to compile the
given eci object. These configurations are a list of dicts,
containing:
- prefix: if an absolute path, will prefix each include and
library directories. If a relative path, the external
directory is searched for directories which names start
with the prefix. The last one in alphabetical order
chosen, and becomes the prefix.
- include_dir: prefix + include_dir is added to the include directories
- library_dir: prefix + library_dir is added to the library directories
"""
if sys.platform != 'win32':
configurations = []
key = (name, eci)
try:
return _cache[key]
except KeyError:
last_error = None
# Always try the default configuration
if {} not in configurations:
configurations.append({})
for configuration in configurations:
prefix = configuration.get('prefix', '')
include_dir = configuration.get('include_dir', '')
library_dir = configuration.get('library_dir', '')
if prefix and not os.path.isabs(prefix):
import glob
entries = glob.glob(str(PYPY_EXTERNAL_DIR.join(prefix + '*')))
if entries:
# Get last version
prefix = sorted(entries)[-1]
else:
continue
include_dir = os.path.join(prefix, include_dir)
library_dir = os.path.join(prefix, library_dir)
eci_lib = ExternalCompilationInfo(
include_dirs=include_dir and [include_dir] or [],
library_dirs=library_dir and [library_dir] or [],
)
eci_lib = eci_lib.merge(eci)
# verify that this eci can be compiled
try:
verify_eci(eci_lib)
except CompilationError as e:
last_error = e
else:
_cache[key] = eci_lib
return eci_lib
# Nothing found
if last_error:
> raise last_error
E CompilationError: CompilationError(out="""
E """)
rtyper\tool\rffi_platform.py:846: CompilationError
___ ERROR at setup of TestIncrementalMiniMarkGC.test_callback_with_collect ____
cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGC'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator\c\test\test_newgc.py:84:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator\c\test\test_newgc.py:1637: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, rzlib
rlib\rzlib.py:27: in <module>
[dict(prefix='zlib-'),
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
name = 'zlib'
eci = <ExternalCompilationInfo (pre_include_bits=(), includes=('zlib.h',), include_d...libraries=('zlib1',), use_cpp_linker=False, platform=<MsvcPlatform cc=cl.exe>)>
configurations = [{'prefix': 'zlib-'}, {}], symbol = None, _cache = {}
def configure_external_library(name, eci, configurations,
symbol=None, _cache={}):
"""try to find the external library.
On Unix, this simply tests and returns the given eci.
On Windows, various configurations may be tried to compile the
given eci object. These configurations are a list of dicts,
containing:
- prefix: if an absolute path, will prefix each include and
library directories. If a relative path, the external
directory is searched for directories which names start
with the prefix. The last one in alphabetical order
chosen, and becomes the prefix.
- include_dir: prefix + include_dir is added to the include directories
- library_dir: prefix + library_dir is added to the library directories
"""
if sys.platform != 'win32':
configurations = []
key = (name, eci)
try:
return _cache[key]
except KeyError:
last_error = None
# Always try the default configuration
if {} not in configurations:
configurations.append({})
for configuration in configurations:
prefix = configuration.get('prefix', '')
include_dir = configuration.get('include_dir', '')
library_dir = configuration.get('library_dir', '')
if prefix and not os.path.isabs(prefix):
import glob
entries = glob.glob(str(PYPY_EXTERNAL_DIR.join(prefix + '*')))
if entries:
# Get last version
prefix = sorted(entries)[-1]
else:
continue
include_dir = os.path.join(prefix, include_dir)
library_dir = os.path.join(prefix, library_dir)
eci_lib = ExternalCompilationInfo(
include_dirs=include_dir and [include_dir] or [],
library_dirs=library_dir and [library_dir] or [],
)
eci_lib = eci_lib.merge(eci)
# verify that this eci can be compiled
try:
verify_eci(eci_lib)
except CompilationError as e:
last_error = e
else:
_cache[key] = eci_lib
return eci_lib
# Nothing found
if last_error:
> raise last_error
E CompilationError: CompilationError(out="""
E """)
rtyper\tool\rffi_platform.py:846: CompilationError
__________ ERROR at setup of TestIncrementalMiniMarkGC.test_can_move __________
cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGC'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator\c\test\test_newgc.py:84:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator\c\test\test_newgc.py:1637: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, rzlib
rlib\rzlib.py:27: in <module>
[dict(prefix='zlib-'),
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
name = 'zlib'
eci = <ExternalCompilationInfo (pre_include_bits=(), includes=('zlib.h',), include_d...libraries=('zlib1',), use_cpp_linker=False, platform=<MsvcPlatform cc=cl.exe>)>
configurations = [{'prefix': 'zlib-'}, {}], symbol = None, _cache = {}
def configure_external_library(name, eci, configurations,
symbol=None, _cache={}):
"""try to find the external library.
On Unix, this simply tests and returns the given eci.
On Windows, various configurations may be tried to compile the
given eci object. These configurations are a list of dicts,
containing:
- prefix: if an absolute path, will prefix each include and
library directories. If a relative path, the external
directory is searched for directories which names start
with the prefix. The last one in alphabetical order
chosen, and becomes the prefix.
- include_dir: prefix + include_dir is added to the include directories
- library_dir: prefix + library_dir is added to the library directories
"""
if sys.platform != 'win32':
configurations = []
key = (name, eci)
try:
return _cache[key]
except KeyError:
last_error = None
# Always try the default configuration
if {} not in configurations:
configurations.append({})
for configuration in configurations:
prefix = configuration.get('prefix', '')
include_dir = configuration.get('include_dir', '')
library_dir = configuration.get('library_dir', '')
if prefix and not os.path.isabs(prefix):
import glob
entries = glob.glob(str(PYPY_EXTERNAL_DIR.join(prefix + '*')))
if entries:
# Get last version
prefix = sorted(entries)[-1]
else:
continue
include_dir = os.path.join(prefix, include_dir)
library_dir = os.path.join(prefix, library_dir)
eci_lib = ExternalCompilationInfo(
include_dirs=include_dir and [include_dir] or [],
library_dirs=library_dir and [library_dir] or [],
)
eci_lib = eci_lib.merge(eci)
# verify that this eci can be compiled
try:
verify_eci(eci_lib)
except CompilationError as e:
last_error = e
else:
_cache[key] = eci_lib
return eci_lib
# Nothing found
if last_error:
> raise last_error
E CompilationError: CompilationError(out="""
E """)
rtyper\tool\rffi_platform.py:846: CompilationError
______ ERROR at setup of TestIncrementalMiniMarkGC.test_resizable_buffer ______
cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGC'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator\c\test\test_newgc.py:84:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator\c\test\test_newgc.py:1637: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, rzlib
rlib\rzlib.py:27: in <module>
[dict(prefix='zlib-'),
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
name = 'zlib'
eci = <ExternalCompilationInfo (pre_include_bits=(), includes=('zlib.h',), include_d...libraries=('zlib1',), use_cpp_linker=False, platform=<MsvcPlatform cc=cl.exe>)>
configurations = [{'prefix': 'zlib-'}, {}], symbol = None, _cache = {}
def configure_external_library(name, eci, configurations,
symbol=None, _cache={}):
"""try to find the external library.
On Unix, this simply tests and returns the given eci.
On Windows, various configurations may be tried to compile the
given eci object. These configurations are a list of dicts,
containing:
- prefix: if an absolute path, will prefix each include and
library directories. If a relative path, the external
directory is searched for directories which names start
with the prefix. The last one in alphabetical order
chosen, and becomes the prefix.
- include_dir: prefix + include_dir is added to the include directories
- library_dir: prefix + library_dir is added to the library directories
"""
if sys.platform != 'win32':
configurations = []
key = (name, eci)
try:
return _cache[key]
except KeyError:
last_error = None
# Always try the default configuration
if {} not in configurations:
configurations.append({})
for configuration in configurations:
prefix = configuration.get('prefix', '')
include_dir = configuration.get('include_dir', '')
library_dir = configuration.get('library_dir', '')
if prefix and not os.path.isabs(prefix):
import glob
entries = glob.glob(str(PYPY_EXTERNAL_DIR.join(prefix + '*')))
if entries:
# Get last version
prefix = sorted(entries)[-1]
else:
continue
include_dir = os.path.join(prefix, include_dir)
library_dir = os.path.join(prefix, library_dir)
eci_lib = ExternalCompilationInfo(
include_dirs=include_dir and [include_dir] or [],
library_dirs=library_dir and [library_dir] or [],
)
eci_lib = eci_lib.merge(eci)
# verify that this eci can be compiled
try:
verify_eci(eci_lib)
except CompilationError as e:
last_error = e
else:
_cache[key] = eci_lib
return eci_lib
# Nothing found
if last_error:
> raise last_error
E CompilationError: CompilationError(out="""
E """)
rtyper\tool\rffi_platform.py:846: CompilationError
_____ ERROR at setup of TestIncrementalMiniMarkGC.test_hash_preservation ______
cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGC'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator\c\test\test_newgc.py:84:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator\c\test\test_newgc.py:1637: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, rzlib
rlib\rzlib.py:27: in <module>
[dict(prefix='zlib-'),
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
name = 'zlib'
eci = <ExternalCompilationInfo (pre_include_bits=(), includes=('zlib.h',), include_d...libraries=('zlib1',), use_cpp_linker=False, platform=<MsvcPlatform cc=cl.exe>)>
configurations = [{'prefix': 'zlib-'}, {}], symbol = None, _cache = {}
def configure_external_library(name, eci, configurations,
symbol=None, _cache={}):
"""try to find the external library.
On Unix, this simply tests and returns the given eci.
On Windows, various configurations may be tried to compile the
given eci object. These configurations are a list of dicts,
containing:
- prefix: if an absolute path, will prefix each include and
library directories. If a relative path, the external
directory is searched for directories which names start
with the prefix. The last one in alphabetical order
chosen, and becomes the prefix.
- include_dir: prefix + include_dir is added to the include directories
- library_dir: prefix + library_dir is added to the library directories
"""
if sys.platform != 'win32':
configurations = []
key = (name, eci)
try:
return _cache[key]
except KeyError:
last_error = None
# Always try the default configuration
if {} not in configurations:
configurations.append({})
for configuration in configurations:
prefix = configuration.get('prefix', '')
include_dir = configuration.get('include_dir', '')
library_dir = configuration.get('library_dir', '')
if prefix and not os.path.isabs(prefix):
import glob
entries = glob.glob(str(PYPY_EXTERNAL_DIR.join(prefix + '*')))
if entries:
# Get last version
prefix = sorted(entries)[-1]
else:
continue
include_dir = os.path.join(prefix, include_dir)
library_dir = os.path.join(prefix, library_dir)
eci_lib = ExternalCompilationInfo(
include_dirs=include_dir and [include_dir] or [],
library_dirs=library_dir and [library_dir] or [],
)
eci_lib = eci_lib.merge(eci)
# verify that this eci can be compiled
try:
verify_eci(eci_lib)
except CompilationError as e:
last_error = e
else:
_cache[key] = eci_lib
return eci_lib
# Nothing found
if last_error:
> raise last_error
E CompilationError: CompilationError(out="""
E """)
rtyper\tool\rffi_platform.py:846: CompilationError
_______ ERROR at setup of TestIncrementalMiniMarkGC.test_hash_overflow ________
cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGC'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator\c\test\test_newgc.py:84:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator\c\test\test_newgc.py:1637: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, rzlib
rlib\rzlib.py:27: in <module>
[dict(prefix='zlib-'),
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
name = 'zlib'
eci = <ExternalCompilationInfo (pre_include_bits=(), includes=('zlib.h',), include_d...libraries=('zlib1',), use_cpp_linker=False, platform=<MsvcPlatform cc=cl.exe>)>
configurations = [{'prefix': 'zlib-'}, {}], symbol = None, _cache = {}
def configure_external_library(name, eci, configurations,
symbol=None, _cache={}):
"""try to find the external library.
On Unix, this simply tests and returns the given eci.
On Windows, various configurations may be tried to compile the
given eci object. These configurations are a list of dicts,
containing:
- prefix: if an absolute path, will prefix each include and
library directories. If a relative path, the external
directory is searched for directories which names start
with the prefix. The last one in alphabetical order
chosen, and becomes the prefix.
- include_dir: prefix + include_dir is added to the include directories
- library_dir: prefix + library_dir is added to the library directories
"""
if sys.platform != 'win32':
configurations = []
key = (name, eci)
try:
return _cache[key]
except KeyError:
last_error = None
# Always try the default configuration
if {} not in configurations:
configurations.append({})
for configuration in configurations:
prefix = configuration.get('prefix', '')
include_dir = configuration.get('include_dir', '')
library_dir = configuration.get('library_dir', '')
if prefix and not os.path.isabs(prefix):
import glob
entries = glob.glob(str(PYPY_EXTERNAL_DIR.join(prefix + '*')))
if entries:
# Get last version
prefix = sorted(entries)[-1]
else:
continue
include_dir = os.path.join(prefix, include_dir)
library_dir = os.path.join(prefix, library_dir)
eci_lib = ExternalCompilationInfo(
include_dirs=include_dir and [include_dir] or [],
library_dirs=library_dir and [library_dir] or [],
)
eci_lib = eci_lib.merge(eci)
# verify that this eci can be compiled
try:
verify_eci(eci_lib)
except CompilationError as e:
last_error = e
else:
_cache[key] = eci_lib
return eci_lib
# Nothing found
if last_error:
> raise last_error
E CompilationError: CompilationError(out="""
E """)
rtyper\tool\rffi_platform.py:846: CompilationError
_______ ERROR at setup of TestIncrementalMiniMarkGC.test_hash_varsized ________
cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGC'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator\c\test\test_newgc.py:84:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator\c\test\test_newgc.py:1637: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, rzlib
rlib\rzlib.py:27: in <module>
[dict(prefix='zlib-'),
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
name = 'zlib'
eci = <ExternalCompilationInfo (pre_include_bits=(), includes=('zlib.h',), include_d...libraries=('zlib1',), use_cpp_linker=False, platform=<MsvcPlatform cc=cl.exe>)>
configurations = [{'prefix': 'zlib-'}, {}], symbol = None, _cache = {}
def configure_external_library(name, eci, configurations,
symbol=None, _cache={}):
"""try to find the external library.
On Unix, this simply tests and returns the given eci.
On Windows, various configurations may be tried to compile the
given eci object. These configurations are a list of dicts,
containing:
- prefix: if an absolute path, will prefix each include and
library directories. If a relative path, the external
directory is searched for directories which names start
with the prefix. The last one in alphabetical order
chosen, and becomes the prefix.
- include_dir: prefix + include_dir is added to the include directories
- library_dir: prefix + library_dir is added to the library directories
"""
if sys.platform != 'win32':
configurations = []
key = (name, eci)
try:
return _cache[key]
except KeyError:
last_error = None
# Always try the default configuration
if {} not in configurations:
configurations.append({})
for configuration in configurations:
prefix = configuration.get('prefix', '')
include_dir = configuration.get('include_dir', '')
library_dir = configuration.get('library_dir', '')
if prefix and not os.path.isabs(prefix):
import glob
entries = glob.glob(str(PYPY_EXTERNAL_DIR.join(prefix + '*')))
if entries:
# Get last version
prefix = sorted(entries)[-1]
else:
continue
include_dir = os.path.join(prefix, include_dir)
library_dir = os.path.join(prefix, library_dir)
eci_lib = ExternalCompilationInfo(
include_dirs=include_dir and [include_dir] or [],
library_dirs=library_dir and [library_dir] or [],
)
eci_lib = eci_lib.merge(eci)
# verify that this eci can be compiled
try:
verify_eci(eci_lib)
except CompilationError as e:
last_error = e
else:
_cache[key] = eci_lib
return eci_lib
# Nothing found
if last_error:
> raise last_error
E CompilationError: CompilationError(out="""
E """)
rtyper\tool\rffi_platform.py:846: CompilationError
_ ERROR at setup of TestIncrementalMiniMarkGC.test_arraycopy_writebarrier_int _
cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGC'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator\c\test\test_newgc.py:84:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator\c\test\test_newgc.py:1637: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, rzlib
rlib\rzlib.py:27: in <module>
[dict(prefix='zlib-'),
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
name = 'zlib'
eci = <ExternalCompilationInfo (pre_include_bits=(), includes=('zlib.h',), include_d...libraries=('zlib1',), use_cpp_linker=False, platform=<MsvcPlatform cc=cl.exe>)>
configurations = [{'prefix': 'zlib-'}, {}], symbol = None, _cache = {}
def configure_external_library(name, eci, configurations,
symbol=None, _cache={}):
"""try to find the external library.
On Unix, this simply tests and returns the given eci.
On Windows, various configurations may be tried to compile the
given eci object. These configurations are a list of dicts,
containing:
- prefix: if an absolute path, will prefix each include and
library directories. If a relative path, the external
directory is searched for directories which names start
with the prefix. The last one in alphabetical order
chosen, and becomes the prefix.
- include_dir: prefix + include_dir is added to the include directories
- library_dir: prefix + library_dir is added to the library directories
"""
if sys.platform != 'win32':
configurations = []
key = (name, eci)
try:
return _cache[key]
except KeyError:
last_error = None
# Always try the default configuration
if {} not in configurations:
configurations.append({})
for configuration in configurations:
prefix = configuration.get('prefix', '')
include_dir = configuration.get('include_dir', '')
library_dir = configuration.get('library_dir', '')
if prefix and not os.path.isabs(prefix):
import glob
entries = glob.glob(str(PYPY_EXTERNAL_DIR.join(prefix + '*')))
if entries:
# Get last version
prefix = sorted(entries)[-1]
else:
continue
include_dir = os.path.join(prefix, include_dir)
library_dir = os.path.join(prefix, library_dir)
eci_lib = ExternalCompilationInfo(
include_dirs=include_dir and [include_dir] or [],
library_dirs=library_dir and [library_dir] or [],
)
eci_lib = eci_lib.merge(eci)
# verify that this eci can be compiled
try:
verify_eci(eci_lib)
except CompilationError as e:
last_error = e
else:
_cache[key] = eci_lib
return eci_lib
# Nothing found
if last_error:
> raise last_error
E CompilationError: CompilationError(out="""
E """)
rtyper\tool\rffi_platform.py:846: CompilationError
_ ERROR at setup of TestIncrementalMiniMarkGC.test_arraycopy_writebarrier_ptr _
cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGC'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator\c\test\test_newgc.py:84:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator\c\test\test_newgc.py:1637: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, rzlib
rlib\rzlib.py:27: in <module>
[dict(prefix='zlib-'),
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
name = 'zlib'
eci = <ExternalCompilationInfo (pre_include_bits=(), includes=('zlib.h',), include_d...libraries=('zlib1',), use_cpp_linker=False, platform=<MsvcPlatform cc=cl.exe>)>
configurations = [{'prefix': 'zlib-'}, {}], symbol = None, _cache = {}
def configure_external_library(name, eci, configurations,
symbol=None, _cache={}):
"""try to find the external library.
On Unix, this simply tests and returns the given eci.
On Windows, various configurations may be tried to compile the
given eci object. These configurations are a list of dicts,
containing:
- prefix: if an absolute path, will prefix each include and
library directories. If a relative path, the external
directory is searched for directories which names start
with the prefix. The last one in alphabetical order
chosen, and becomes the prefix.
- include_dir: prefix + include_dir is added to the include directories
- library_dir: prefix + library_dir is added to the library directories
"""
if sys.platform != 'win32':
configurations = []
key = (name, eci)
try:
return _cache[key]
except KeyError:
last_error = None
# Always try the default configuration
if {} not in configurations:
configurations.append({})
for configuration in configurations:
prefix = configuration.get('prefix', '')
include_dir = configuration.get('include_dir', '')
library_dir = configuration.get('library_dir', '')
if prefix and not os.path.isabs(prefix):
import glob
entries = glob.glob(str(PYPY_EXTERNAL_DIR.join(prefix + '*')))
if entries:
# Get last version
prefix = sorted(entries)[-1]
else:
continue
include_dir = os.path.join(prefix, include_dir)
library_dir = os.path.join(prefix, library_dir)
eci_lib = ExternalCompilationInfo(
include_dirs=include_dir and [include_dir] or [],
library_dirs=library_dir and [library_dir] or [],
)
eci_lib = eci_lib.merge(eci)
# verify that this eci can be compiled
try:
verify_eci(eci_lib)
except CompilationError as e:
last_error = e
else:
_cache[key] = eci_lib
return eci_lib
# Nothing found
if last_error:
> raise last_error
E CompilationError: CompilationError(out="""
E """)
rtyper\tool\rffi_platform.py:846: CompilationError
_______ ERROR at setup of TestIncrementalMiniMarkGC.test_get_rpy_roots ________
cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGC'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator\c\test\test_newgc.py:84:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator\c\test\test_newgc.py:1637: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, rzlib
rlib\rzlib.py:27: in <module>
[dict(prefix='zlib-'),
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
name = 'zlib'
eci = <ExternalCompilationInfo (pre_include_bits=(), includes=('zlib.h',), include_d...libraries=('zlib1',), use_cpp_linker=False, platform=<MsvcPlatform cc=cl.exe>)>
configurations = [{'prefix': 'zlib-'}, {}], symbol = None, _cache = {}
def configure_external_library(name, eci, configurations,
symbol=None, _cache={}):
"""try to find the external library.
On Unix, this simply tests and returns the given eci.
On Windows, various configurations may be tried to compile the
given eci object. These configurations are a list of dicts,
containing:
- prefix: if an absolute path, will prefix each include and
library directories. If a relative path, the external
directory is searched for directories which names start
with the prefix. The last one in alphabetical order
chosen, and becomes the prefix.
- include_dir: prefix + include_dir is added to the include directories
- library_dir: prefix + library_dir is added to the library directories
"""
if sys.platform != 'win32':
configurations = []
key = (name, eci)
try:
return _cache[key]
except KeyError:
last_error = None
# Always try the default configuration
if {} not in configurations:
configurations.append({})
for configuration in configurations:
prefix = configuration.get('prefix', '')
include_dir = configuration.get('include_dir', '')
library_dir = configuration.get('library_dir', '')
if prefix and not os.path.isabs(prefix):
import glob
entries = glob.glob(str(PYPY_EXTERNAL_DIR.join(prefix + '*')))
if entries:
# Get last version
prefix = sorted(entries)[-1]
else:
continue
include_dir = os.path.join(prefix, include_dir)
library_dir = os.path.join(prefix, library_dir)
eci_lib = ExternalCompilationInfo(
include_dirs=include_dir and [include_dir] or [],
library_dirs=library_dir and [library_dir] or [],
)
eci_lib = eci_lib.merge(eci)
# verify that this eci can be compiled
try:
verify_eci(eci_lib)
except CompilationError as e:
last_error = e
else:
_cache[key] = eci_lib
return eci_lib
# Nothing found
if last_error:
> raise last_error
E CompilationError: CompilationError(out="""
E """)
rtyper\tool\rffi_platform.py:846: CompilationError
_____ ERROR at setup of TestIncrementalMiniMarkGC.test_get_rpy_referents ______
cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGC'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator\c\test\test_newgc.py:84:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator\c\test\test_newgc.py:1637: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, rzlib
rlib\rzlib.py:27: in <module>
[dict(prefix='zlib-'),
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
name = 'zlib'
eci = <ExternalCompilationInfo (pre_include_bits=(), includes=('zlib.h',), include_d...libraries=('zlib1',), use_cpp_linker=False, platform=<MsvcPlatform cc=cl.exe>)>
configurations = [{'prefix': 'zlib-'}, {}], symbol = None, _cache = {}
def configure_external_library(name, eci, configurations,
symbol=None, _cache={}):
"""try to find the external library.
On Unix, this simply tests and returns the given eci.
On Windows, various configurations may be tried to compile the
given eci object. These configurations are a list of dicts,
containing:
- prefix: if an absolute path, will prefix each include and
library directories. If a relative path, the external
directory is searched for directories which names start
with the prefix. The last one in alphabetical order
chosen, and becomes the prefix.
- include_dir: prefix + include_dir is added to the include directories
- library_dir: prefix + library_dir is added to the library directories
"""
if sys.platform != 'win32':
configurations = []
key = (name, eci)
try:
return _cache[key]
except KeyError:
last_error = None
# Always try the default configuration
if {} not in configurations:
configurations.append({})
for configuration in configurations:
prefix = configuration.get('prefix', '')
include_dir = configuration.get('include_dir', '')
library_dir = configuration.get('library_dir', '')
if prefix and not os.path.isabs(prefix):
import glob
entries = glob.glob(str(PYPY_EXTERNAL_DIR.join(prefix + '*')))
if entries:
# Get last version
prefix = sorted(entries)[-1]
else:
continue
include_dir = os.path.join(prefix, include_dir)
library_dir = os.path.join(prefix, library_dir)
eci_lib = ExternalCompilationInfo(
include_dirs=include_dir and [include_dir] or [],
library_dirs=library_dir and [library_dir] or [],
)
eci_lib = eci_lib.merge(eci)
# verify that this eci can be compiled
try:
verify_eci(eci_lib)
except CompilationError as e:
last_error = e
else:
_cache[key] = eci_lib
return eci_lib
# Nothing found
if last_error:
> raise last_error
E CompilationError: CompilationError(out="""
E """)
rtyper\tool\rffi_platform.py:846: CompilationError
______ ERROR at setup of TestIncrementalMiniMarkGC.test_is_rpy_instance _______
cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGC'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator\c\test\test_newgc.py:84:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator\c\test\test_newgc.py:1637: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, rzlib
rlib\rzlib.py:27: in <module>
[dict(prefix='zlib-'),
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
name = 'zlib'
eci = <ExternalCompilationInfo (pre_include_bits=(), includes=('zlib.h',), include_d...libraries=('zlib1',), use_cpp_linker=False, platform=<MsvcPlatform cc=cl.exe>)>
configurations = [{'prefix': 'zlib-'}, {}], symbol = None, _cache = {}
def configure_external_library(name, eci, configurations,
symbol=None, _cache={}):
"""try to find the external library.
On Unix, this simply tests and returns the given eci.
On Windows, various configurations may be tried to compile the
given eci object. These configurations are a list of dicts,
containing:
- prefix: if an absolute path, will prefix each include and
library directories. If a relative path, the external
directory is searched for directories which names start
with the prefix. The last one in alphabetical order
chosen, and becomes the prefix.
- include_dir: prefix + include_dir is added to the include directories
- library_dir: prefix + library_dir is added to the library directories
"""
if sys.platform != 'win32':
configurations = []
key = (name, eci)
try:
return _cache[key]
except KeyError:
last_error = None
# Always try the default configuration
if {} not in configurations:
configurations.append({})
for configuration in configurations:
prefix = configuration.get('prefix', '')
include_dir = configuration.get('include_dir', '')
library_dir = configuration.get('library_dir', '')
if prefix and not os.path.isabs(prefix):
import glob
entries = glob.glob(str(PYPY_EXTERNAL_DIR.join(prefix + '*')))
if entries:
# Get last version
prefix = sorted(entries)[-1]
else:
continue
include_dir = os.path.join(prefix, include_dir)
library_dir = os.path.join(prefix, library_dir)
eci_lib = ExternalCompilationInfo(
include_dirs=include_dir and [include_dir] or [],
library_dirs=library_dir and [library_dir] or [],
)
eci_lib = eci_lib.merge(eci)
# verify that this eci can be compiled
try:
verify_eci(eci_lib)
except CompilationError as e:
last_error = e
else:
_cache[key] = eci_lib
return eci_lib
# Nothing found
if last_error:
> raise last_error
E CompilationError: CompilationError(out="""
E """)
rtyper\tool\rffi_platform.py:846: CompilationError
_ ERROR at setup of TestIncrementalMiniMarkGC.test_try_cast_gcref_to_instance _
cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGC'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator\c\test\test_newgc.py:84:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator\c\test\test_newgc.py:1637: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, rzlib
rlib\rzlib.py:27: in <module>
[dict(prefix='zlib-'),
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
name = 'zlib'
eci = <ExternalCompilationInfo (pre_include_bits=(), includes=('zlib.h',), include_d...libraries=('zlib1',), use_cpp_linker=False, platform=<MsvcPlatform cc=cl.exe>)>
configurations = [{'prefix': 'zlib-'}, {}], symbol = None, _cache = {}
def configure_external_library(name, eci, configurations,
symbol=None, _cache={}):
"""try to find the external library.
On Unix, this simply tests and returns the given eci.
On Windows, various configurations may be tried to compile the
given eci object. These configurations are a list of dicts,
containing:
- prefix: if an absolute path, will prefix each include and
library directories. If a relative path, the external
directory is searched for directories which names start
with the prefix. The last one in alphabetical order
chosen, and becomes the prefix.
- include_dir: prefix + include_dir is added to the include directories
- library_dir: prefix + library_dir is added to the library directories
"""
if sys.platform != 'win32':
configurations = []
key = (name, eci)
try:
return _cache[key]
except KeyError:
last_error = None
# Always try the default configuration
if {} not in configurations:
configurations.append({})
for configuration in configurations:
prefix = configuration.get('prefix', '')
include_dir = configuration.get('include_dir', '')
library_dir = configuration.get('library_dir', '')
if prefix and not os.path.isabs(prefix):
import glob
entries = glob.glob(str(PYPY_EXTERNAL_DIR.join(prefix + '*')))
if entries:
# Get last version
prefix = sorted(entries)[-1]
else:
continue
include_dir = os.path.join(prefix, include_dir)
library_dir = os.path.join(prefix, library_dir)
eci_lib = ExternalCompilationInfo(
include_dirs=include_dir and [include_dir] or [],
library_dirs=library_dir and [library_dir] or [],
)
eci_lib = eci_lib.merge(eci)
# verify that this eci can be compiled
try:
verify_eci(eci_lib)
except CompilationError as e:
last_error = e
else:
_cache[key] = eci_lib
return eci_lib
# Nothing found
if last_error:
> raise last_error
E CompilationError: CompilationError(out="""
E """)
rtyper\tool\rffi_platform.py:846: CompilationError
____ ERROR at setup of TestIncrementalMiniMarkGC.test_get_rpy_memory_usage ____
cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGC'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator\c\test\test_newgc.py:84:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator\c\test\test_newgc.py:1637: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, rzlib
rlib\rzlib.py:27: in <module>
[dict(prefix='zlib-'),
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
name = 'zlib'
eci = <ExternalCompilationInfo (pre_include_bits=(), includes=('zlib.h',), include_d...libraries=('zlib1',), use_cpp_linker=False, platform=<MsvcPlatform cc=cl.exe>)>
configurations = [{'prefix': 'zlib-'}, {}], symbol = None, _cache = {}
def configure_external_library(name, eci, configurations,
symbol=None, _cache={}):
"""try to find the external library.
On Unix, this simply tests and returns the given eci.
On Windows, various configurations may be tried to compile the
given eci object. These configurations are a list of dicts,
containing:
- prefix: if an absolute path, will prefix each include and
library directories. If a relative path, the external
directory is searched for directories which names start
with the prefix. The last one in alphabetical order
chosen, and becomes the prefix.
- include_dir: prefix + include_dir is added to the include directories
- library_dir: prefix + library_dir is added to the library directories
"""
if sys.platform != 'win32':
configurations = []
key = (name, eci)
try:
return _cache[key]
except KeyError:
last_error = None
# Always try the default configuration
if {} not in configurations:
configurations.append({})
for configuration in configurations:
prefix = configuration.get('prefix', '')
include_dir = configuration.get('include_dir', '')
library_dir = configuration.get('library_dir', '')
if prefix and not os.path.isabs(prefix):
import glob
entries = glob.glob(str(PYPY_EXTERNAL_DIR.join(prefix + '*')))
if entries:
# Get last version
prefix = sorted(entries)[-1]
else:
continue
include_dir = os.path.join(prefix, include_dir)
library_dir = os.path.join(prefix, library_dir)
eci_lib = ExternalCompilationInfo(
include_dirs=include_dir and [include_dir] or [],
library_dirs=library_dir and [library_dir] or [],
)
eci_lib = eci_lib.merge(eci)
# verify that this eci can be compiled
try:
verify_eci(eci_lib)
except CompilationError as e:
last_error = e
else:
_cache[key] = eci_lib
return eci_lib
# Nothing found
if last_error:
> raise last_error
E CompilationError: CompilationError(out="""
E """)
rtyper\tool\rffi_platform.py:846: CompilationError
_____ ERROR at setup of TestIncrementalMiniMarkGC.test_get_rpy_type_index _____
cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGC'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator\c\test\test_newgc.py:84:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator\c\test\test_newgc.py:1637: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, rzlib
rlib\rzlib.py:27: in <module>
[dict(prefix='zlib-'),
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
name = 'zlib'
eci = <ExternalCompilationInfo (pre_include_bits=(), includes=('zlib.h',), include_d...libraries=('zlib1',), use_cpp_linker=False, platform=<MsvcPlatform cc=cl.exe>)>
configurations = [{'prefix': 'zlib-'}, {}], symbol = None, _cache = {}
def configure_external_library(name, eci, configurations,
symbol=None, _cache={}):
"""try to find the external library.
On Unix, this simply tests and returns the given eci.
On Windows, various configurations may be tried to compile the
given eci object. These configurations are a list of dicts,
containing:
- prefix: if an absolute path, will prefix each include and
library directories. If a relative path, the external
directory is searched for directories which names start
with the prefix. The last one in alphabetical order
chosen, and becomes the prefix.
- include_dir: prefix + include_dir is added to the include directories
- library_dir: prefix + library_dir is added to the library directories
"""
if sys.platform != 'win32':
configurations = []
key = (name, eci)
try:
return _cache[key]
except KeyError:
last_error = None
# Always try the default configuration
if {} not in configurations:
configurations.append({})
for configuration in configurations:
prefix = configuration.get('prefix', '')
include_dir = configuration.get('include_dir', '')
library_dir = configuration.get('library_dir', '')
if prefix and not os.path.isabs(prefix):
import glob
entries = glob.glob(str(PYPY_EXTERNAL_DIR.join(prefix + '*')))
if entries:
# Get last version
prefix = sorted(entries)[-1]
else:
continue
include_dir = os.path.join(prefix, include_dir)
library_dir = os.path.join(prefix, library_dir)
eci_lib = ExternalCompilationInfo(
include_dirs=include_dir and [include_dir] or [],
library_dirs=library_dir and [library_dir] or [],
)
eci_lib = eci_lib.merge(eci)
# verify that this eci can be compiled
try:
verify_eci(eci_lib)
except CompilationError as e:
last_error = e
else:
_cache[key] = eci_lib
return eci_lib
# Nothing found
if last_error:
> raise last_error
E CompilationError: CompilationError(out="""
E """)
rtyper\tool\rffi_platform.py:846: CompilationError
_______ ERROR at setup of TestIncrementalMiniMarkGC.test_dump_rpy_heap ________
cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGC'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator\c\test\test_newgc.py:84:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator\c\test\test_newgc.py:1637: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, rzlib
rlib\rzlib.py:27: in <module>
[dict(prefix='zlib-'),
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
name = 'zlib'
eci = <ExternalCompilationInfo (pre_include_bits=(), includes=('zlib.h',), include_d...libraries=('zlib1',), use_cpp_linker=False, platform=<MsvcPlatform cc=cl.exe>)>
configurations = [{'prefix': 'zlib-'}, {}], symbol = None, _cache = {}
def configure_external_library(name, eci, configurations,
symbol=None, _cache={}):
"""try to find the external library.
On Unix, this simply tests and returns the given eci.
On Windows, various configurations may be tried to compile the
given eci object. These configurations are a list of dicts,
containing:
- prefix: if an absolute path, will prefix each include and
library directories. If a relative path, the external
directory is searched for directories which names start
with the prefix. The last one in alphabetical order
chosen, and becomes the prefix.
- include_dir: prefix + include_dir is added to the include directories
- library_dir: prefix + library_dir is added to the library directories
"""
if sys.platform != 'win32':
configurations = []
key = (name, eci)
try:
return _cache[key]
except KeyError:
last_error = None
# Always try the default configuration
if {} not in configurations:
configurations.append({})
for configuration in configurations:
prefix = configuration.get('prefix', '')
include_dir = configuration.get('include_dir', '')
library_dir = configuration.get('library_dir', '')
if prefix and not os.path.isabs(prefix):
import glob
entries = glob.glob(str(PYPY_EXTERNAL_DIR.join(prefix + '*')))
if entries:
# Get last version
prefix = sorted(entries)[-1]
else:
continue
include_dir = os.path.join(prefix, include_dir)
library_dir = os.path.join(prefix, library_dir)
eci_lib = ExternalCompilationInfo(
include_dirs=include_dir and [include_dir] or [],
library_dirs=library_dir and [library_dir] or [],
)
eci_lib = eci_lib.merge(eci)
# verify that this eci can be compiled
try:
verify_eci(eci_lib)
except CompilationError as e:
last_error = e
else:
_cache[key] = eci_lib
return eci_lib
# Nothing found
if last_error:
> raise last_error
E CompilationError: CompilationError(out="""
E """)
rtyper\tool\rffi_platform.py:846: CompilationError
______ ERROR at setup of TestIncrementalMiniMarkGC.test_write_typeids_z _______
cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGC'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator\c\test\test_newgc.py:84:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator\c\test\test_newgc.py:1637: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, rzlib
rlib\rzlib.py:27: in <module>
[dict(prefix='zlib-'),
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
name = 'zlib'
eci = <ExternalCompilationInfo (pre_include_bits=(), includes=('zlib.h',), include_d...libraries=('zlib1',), use_cpp_linker=False, platform=<MsvcPlatform cc=cl.exe>)>
configurations = [{'prefix': 'zlib-'}, {}], symbol = None, _cache = {}
def configure_external_library(name, eci, configurations,
symbol=None, _cache={}):
"""try to find the external library.
On Unix, this simply tests and returns the given eci.
On Windows, various configurations may be tried to compile the
given eci object. These configurations are a list of dicts,
containing:
- prefix: if an absolute path, will prefix each include and
library directories. If a relative path, the external
directory is searched for directories which names start
with the prefix. The last one in alphabetical order
chosen, and becomes the prefix.
- include_dir: prefix + include_dir is added to the include directories
- library_dir: prefix + library_dir is added to the library directories
"""
if sys.platform != 'win32':
configurations = []
key = (name, eci)
try:
return _cache[key]
except KeyError:
last_error = None
# Always try the default configuration
if {} not in configurations:
configurations.append({})
for configuration in configurations:
prefix = configuration.get('prefix', '')
include_dir = configuration.get('include_dir', '')
library_dir = configuration.get('library_dir', '')
if prefix and not os.path.isabs(prefix):
import glob
entries = glob.glob(str(PYPY_EXTERNAL_DIR.join(prefix + '*')))
if entries:
# Get last version
prefix = sorted(entries)[-1]
else:
continue
include_dir = os.path.join(prefix, include_dir)
library_dir = os.path.join(prefix, library_dir)
eci_lib = ExternalCompilationInfo(
include_dirs=include_dir and [include_dir] or [],
library_dirs=library_dir and [library_dir] or [],
)
eci_lib = eci_lib.merge(eci)
# verify that this eci can be compiled
try:
verify_eci(eci_lib)
except CompilationError as e:
last_error = e
else:
_cache[key] = eci_lib
return eci_lib
# Nothing found
if last_error:
> raise last_error
E CompilationError: CompilationError(out="""
E """)
rtyper\tool\rffi_platform.py:846: CompilationError
________ ERROR at setup of TestIncrementalMiniMarkGC.test_gcflag_extra ________
cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGC'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator\c\test\test_newgc.py:84:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator\c\test\test_newgc.py:1637: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, rzlib
rlib\rzlib.py:27: in <module>
[dict(prefix='zlib-'),
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
name = 'zlib'
eci = <ExternalCompilationInfo (pre_include_bits=(), includes=('zlib.h',), include_d...libraries=('zlib1',), use_cpp_linker=False, platform=<MsvcPlatform cc=cl.exe>)>
configurations = [{'prefix': 'zlib-'}, {}], symbol = None, _cache = {}
def configure_external_library(name, eci, configurations,
symbol=None, _cache={}):
"""try to find the external library.
On Unix, this simply tests and returns the given eci.
On Windows, various configurations may be tried to compile the
given eci object. These configurations are a list of dicts,
containing:
- prefix: if an absolute path, will prefix each include and
library directories. If a relative path, the external
directory is searched for directories which names start
with the prefix. The last one in alphabetical order
chosen, and becomes the prefix.
- include_dir: prefix + include_dir is added to the include directories
- library_dir: prefix + library_dir is added to the library directories
"""
if sys.platform != 'win32':
configurations = []
key = (name, eci)
try:
return _cache[key]
except KeyError:
last_error = None
# Always try the default configuration
if {} not in configurations:
configurations.append({})
for configuration in configurations:
prefix = configuration.get('prefix', '')
include_dir = configuration.get('include_dir', '')
library_dir = configuration.get('library_dir', '')
if prefix and not os.path.isabs(prefix):
import glob
entries = glob.glob(str(PYPY_EXTERNAL_DIR.join(prefix + '*')))
if entries:
# Get last version
prefix = sorted(entries)[-1]
else:
continue
include_dir = os.path.join(prefix, include_dir)
library_dir = os.path.join(prefix, library_dir)
eci_lib = ExternalCompilationInfo(
include_dirs=include_dir and [include_dir] or [],
library_dirs=library_dir and [library_dir] or [],
)
eci_lib = eci_lib.merge(eci)
# verify that this eci can be compiled
try:
verify_eci(eci_lib)
except CompilationError as e:
last_error = e
else:
_cache[key] = eci_lib
return eci_lib
# Nothing found
if last_error:
> raise last_error
E CompilationError: CompilationError(out="""
E """)
rtyper\tool\rffi_platform.py:846: CompilationError
______ ERROR at setup of TestIncrementalMiniMarkGC.test_check_zero_works ______
cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGC'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator\c\test\test_newgc.py:84:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator\c\test\test_newgc.py:1637: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, rzlib
rlib\rzlib.py:27: in <module>
[dict(prefix='zlib-'),
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
name = 'zlib'
eci = <ExternalCompilationInfo (pre_include_bits=(), includes=('zlib.h',), include_d...libraries=('zlib1',), use_cpp_linker=False, platform=<MsvcPlatform cc=cl.exe>)>
configurations = [{'prefix': 'zlib-'}, {}], symbol = None, _cache = {}
def configure_external_library(name, eci, configurations,
symbol=None, _cache={}):
"""try to find the external library.
On Unix, this simply tests and returns the given eci.
On Windows, various configurations may be tried to compile the
given eci object. These configurations are a list of dicts,
containing:
- prefix: if an absolute path, will prefix each include and
library directories. If a relative path, the external
directory is searched for directories which names start
with the prefix. The last one in alphabetical order
chosen, and becomes the prefix.
- include_dir: prefix + include_dir is added to the include directories
- library_dir: prefix + library_dir is added to the library directories
"""
if sys.platform != 'win32':
configurations = []
key = (name, eci)
try:
return _cache[key]
except KeyError:
last_error = None
# Always try the default configuration
if {} not in configurations:
configurations.append({})
for configuration in configurations:
prefix = configuration.get('prefix', '')
include_dir = configuration.get('include_dir', '')
library_dir = configuration.get('library_dir', '')
if prefix and not os.path.isabs(prefix):
import glob
entries = glob.glob(str(PYPY_EXTERNAL_DIR.join(prefix + '*')))
if entries:
# Get last version
prefix = sorted(entries)[-1]
else:
continue
include_dir = os.path.join(prefix, include_dir)
library_dir = os.path.join(prefix, library_dir)
eci_lib = ExternalCompilationInfo(
include_dirs=include_dir and [include_dir] or [],
library_dirs=library_dir and [library_dir] or [],
)
eci_lib = eci_lib.merge(eci)
# verify that this eci can be compiled
try:
verify_eci(eci_lib)
except CompilationError as e:
last_error = e
else:
_cache[key] = eci_lib
return eci_lib
# Nothing found
if last_error:
> raise last_error
E CompilationError: CompilationError(out="""
E """)
rtyper\tool\rffi_platform.py:846: CompilationError
__ ERROR at setup of TestIncrementalMiniMarkGC.test_long_chain_of_instances ___
cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGC'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator\c\test\test_newgc.py:84:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator\c\test\test_newgc.py:1637: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, rzlib
rlib\rzlib.py:27: in <module>
[dict(prefix='zlib-'),
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
name = 'zlib'
eci = <ExternalCompilationInfo (pre_include_bits=(), includes=('zlib.h',), include_d...libraries=('zlib1',), use_cpp_linker=False, platform=<MsvcPlatform cc=cl.exe>)>
configurations = [{'prefix': 'zlib-'}, {}], symbol = None, _cache = {}
def configure_external_library(name, eci, configurations,
symbol=None, _cache={}):
"""try to find the external library.
On Unix, this simply tests and returns the given eci.
On Windows, various configurations may be tried to compile the
given eci object. These configurations are a list of dicts,
containing:
- prefix: if an absolute path, will prefix each include and
library directories. If a relative path, the external
directory is searched for directories which names start
with the prefix. The last one in alphabetical order
chosen, and becomes the prefix.
- include_dir: prefix + include_dir is added to the include directories
- library_dir: prefix + library_dir is added to the library directories
"""
if sys.platform != 'win32':
configurations = []
key = (name, eci)
try:
return _cache[key]
except KeyError:
last_error = None
# Always try the default configuration
if {} not in configurations:
configurations.append({})
for configuration in configurations:
prefix = configuration.get('prefix', '')
include_dir = configuration.get('include_dir', '')
library_dir = configuration.get('library_dir', '')
if prefix and not os.path.isabs(prefix):
import glob
entries = glob.glob(str(PYPY_EXTERNAL_DIR.join(prefix + '*')))
if entries:
# Get last version
prefix = sorted(entries)[-1]
else:
continue
include_dir = os.path.join(prefix, include_dir)
library_dir = os.path.join(prefix, library_dir)
eci_lib = ExternalCompilationInfo(
include_dirs=include_dir and [include_dir] or [],
library_dirs=library_dir and [library_dir] or [],
)
eci_lib = eci_lib.merge(eci)
# verify that this eci can be compiled
try:
verify_eci(eci_lib)
except CompilationError as e:
last_error = e
else:
_cache[key] = eci_lib
return eci_lib
# Nothing found
if last_error:
> raise last_error
E CompilationError: CompilationError(out="""
E """)
rtyper\tool\rffi_platform.py:846: CompilationError
__________ ERROR at setup of TestIncrementalMiniMarkGC.test_many_ids __________
cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGC'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator\c\test\test_newgc.py:84:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator\c\test\test_newgc.py:1637: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, rzlib
rlib\rzlib.py:27: in <module>
[dict(prefix='zlib-'),
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
name = 'zlib'
eci = <ExternalCompilationInfo (pre_include_bits=(), includes=('zlib.h',), include_d...libraries=('zlib1',), use_cpp_linker=False, platform=<MsvcPlatform cc=cl.exe>)>
configurations = [{'prefix': 'zlib-'}, {}], symbol = None, _cache = {}
def configure_external_library(name, eci, configurations,
symbol=None, _cache={}):
"""try to find the external library.
On Unix, this simply tests and returns the given eci.
On Windows, various configurations may be tried to compile the
given eci object. These configurations are a list of dicts,
containing:
- prefix: if an absolute path, will prefix each include and
library directories. If a relative path, the external
directory is searched for directories which names start
with the prefix. The last one in alphabetical order
chosen, and becomes the prefix.
- include_dir: prefix + include_dir is added to the include directories
- library_dir: prefix + library_dir is added to the library directories
"""
if sys.platform != 'win32':
configurations = []
key = (name, eci)
try:
return _cache[key]
except KeyError:
last_error = None
# Always try the default configuration
if {} not in configurations:
configurations.append({})
for configuration in configurations:
prefix = configuration.get('prefix', '')
include_dir = configuration.get('include_dir', '')
library_dir = configuration.get('library_dir', '')
if prefix and not os.path.isabs(prefix):
import glob
entries = glob.glob(str(PYPY_EXTERNAL_DIR.join(prefix + '*')))
if entries:
# Get last version
prefix = sorted(entries)[-1]
else:
continue
include_dir = os.path.join(prefix, include_dir)
library_dir = os.path.join(prefix, library_dir)
eci_lib = ExternalCompilationInfo(
include_dirs=include_dir and [include_dir] or [],
library_dirs=library_dir and [library_dir] or [],
)
eci_lib = eci_lib.merge(eci)
# verify that this eci can be compiled
try:
verify_eci(eci_lib)
except CompilationError as e:
last_error = e
else:
_cache[key] = eci_lib
return eci_lib
# Nothing found
if last_error:
> raise last_error
E CompilationError: CompilationError(out="""
E """)
rtyper\tool\rffi_platform.py:846: CompilationError
_______ ERROR at setup of TestIncrementalMiniMarkGC.test_string_builder _______
cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGC'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator\c\test\test_newgc.py:84:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator\c\test\test_newgc.py:1637: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, rzlib
rlib\rzlib.py:27: in <module>
[dict(prefix='zlib-'),
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
name = 'zlib'
eci = <ExternalCompilationInfo (pre_include_bits=(), includes=('zlib.h',), include_d...libraries=('zlib1',), use_cpp_linker=False, platform=<MsvcPlatform cc=cl.exe>)>
configurations = [{'prefix': 'zlib-'}, {}], symbol = None, _cache = {}
def configure_external_library(name, eci, configurations,
symbol=None, _cache={}):
"""try to find the external library.
On Unix, this simply tests and returns the given eci.
On Windows, various configurations may be tried to compile the
given eci object. These configurations are a list of dicts,
containing:
- prefix: if an absolute path, will prefix each include and
library directories. If a relative path, the external
directory is searched for directories which names start
with the prefix. The last one in alphabetical order
chosen, and becomes the prefix.
- include_dir: prefix + include_dir is added to the include directories
- library_dir: prefix + library_dir is added to the library directories
"""
if sys.platform != 'win32':
configurations = []
key = (name, eci)
try:
return _cache[key]
except KeyError:
last_error = None
# Always try the default configuration
if {} not in configurations:
configurations.append({})
for configuration in configurations:
prefix = configuration.get('prefix', '')
include_dir = configuration.get('include_dir', '')
library_dir = configuration.get('library_dir', '')
if prefix and not os.path.isabs(prefix):
import glob
entries = glob.glob(str(PYPY_EXTERNAL_DIR.join(prefix + '*')))
if entries:
# Get last version
prefix = sorted(entries)[-1]
else:
continue
include_dir = os.path.join(prefix, include_dir)
library_dir = os.path.join(prefix, library_dir)
eci_lib = ExternalCompilationInfo(
include_dirs=include_dir and [include_dir] or [],
library_dirs=library_dir and [library_dir] or [],
)
eci_lib = eci_lib.merge(eci)
# verify that this eci can be compiled
try:
verify_eci(eci_lib)
except CompilationError as e:
last_error = e
else:
_cache[key] = eci_lib
return eci_lib
# Nothing found
if last_error:
> raise last_error
E CompilationError: CompilationError(out="""
E """)
rtyper\tool\rffi_platform.py:846: CompilationError
ERROR at setup of TestIncrementalMiniMarkGC.test_string_builder_over_allocation
cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGC'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator\c\test\test_newgc.py:84:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator\c\test\test_newgc.py:1637: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, rzlib
rlib\rzlib.py:27: in <module>
[dict(prefix='zlib-'),
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
name = 'zlib'
eci = <ExternalCompilationInfo (pre_include_bits=(), includes=('zlib.h',), include_d...libraries=('zlib1',), use_cpp_linker=False, platform=<MsvcPlatform cc=cl.exe>)>
configurations = [{'prefix': 'zlib-'}, {}], symbol = None, _cache = {}
def configure_external_library(name, eci, configurations,
symbol=None, _cache={}):
"""try to find the external library.
On Unix, this simply tests and returns the given eci.
On Windows, various configurations may be tried to compile the
given eci object. These configurations are a list of dicts,
containing:
- prefix: if an absolute path, will prefix each include and
library directories. If a relative path, the external
directory is searched for directories which names start
with the prefix. The last one in alphabetical order
chosen, and becomes the prefix.
- include_dir: prefix + include_dir is added to the include directories
- library_dir: prefix + library_dir is added to the library directories
"""
if sys.platform != 'win32':
configurations = []
key = (name, eci)
try:
return _cache[key]
except KeyError:
last_error = None
# Always try the default configuration
if {} not in configurations:
configurations.append({})
for configuration in configurations:
prefix = configuration.get('prefix', '')
include_dir = configuration.get('include_dir', '')
library_dir = configuration.get('library_dir', '')
if prefix and not os.path.isabs(prefix):
import glob
entries = glob.glob(str(PYPY_EXTERNAL_DIR.join(prefix + '*')))
if entries:
# Get last version
prefix = sorted(entries)[-1]
else:
continue
include_dir = os.path.join(prefix, include_dir)
library_dir = os.path.join(prefix, library_dir)
eci_lib = ExternalCompilationInfo(
include_dirs=include_dir and [include_dir] or [],
library_dirs=library_dir and [library_dir] or [],
)
eci_lib = eci_lib.merge(eci)
# verify that this eci can be compiled
try:
verify_eci(eci_lib)
except CompilationError as e:
last_error = e
else:
_cache[key] = eci_lib
return eci_lib
# Nothing found
if last_error:
> raise last_error
E CompilationError: CompilationError(out="""
E """)
rtyper\tool\rffi_platform.py:846: CompilationError
ERROR at setup of TestIncrementalMiniMarkGC.test_string_builder_multiple_builds
cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGC'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator\c\test\test_newgc.py:84:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator\c\test\test_newgc.py:1637: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, rzlib
rlib\rzlib.py:27: in <module>
[dict(prefix='zlib-'),
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
name = 'zlib'
eci = <ExternalCompilationInfo (pre_include_bits=(), includes=('zlib.h',), include_d...libraries=('zlib1',), use_cpp_linker=False, platform=<MsvcPlatform cc=cl.exe>)>
configurations = [{'prefix': 'zlib-'}, {}], symbol = None, _cache = {}
def configure_external_library(name, eci, configurations,
symbol=None, _cache={}):
"""try to find the external library.
On Unix, this simply tests and returns the given eci.
On Windows, various configurations may be tried to compile the
given eci object. These configurations are a list of dicts,
containing:
- prefix: if an absolute path, will prefix each include and
library directories. If a relative path, the external
directory is searched for directories which names start
with the prefix. The last one in alphabetical order
chosen, and becomes the prefix.
- include_dir: prefix + include_dir is added to the include directories
- library_dir: prefix + library_dir is added to the library directories
"""
if sys.platform != 'win32':
configurations = []
key = (name, eci)
try:
return _cache[key]
except KeyError:
last_error = None
# Always try the default configuration
if {} not in configurations:
configurations.append({})
for configuration in configurations:
prefix = configuration.get('prefix', '')
include_dir = configuration.get('include_dir', '')
library_dir = configuration.get('library_dir', '')
if prefix and not os.path.isabs(prefix):
import glob
entries = glob.glob(str(PYPY_EXTERNAL_DIR.join(prefix + '*')))
if entries:
# Get last version
prefix = sorted(entries)[-1]
else:
continue
include_dir = os.path.join(prefix, include_dir)
library_dir = os.path.join(prefix, library_dir)
eci_lib = ExternalCompilationInfo(
include_dirs=include_dir and [include_dir] or [],
library_dirs=library_dir and [library_dir] or [],
)
eci_lib = eci_lib.merge(eci)
# verify that this eci can be compiled
try:
verify_eci(eci_lib)
except CompilationError as e:
last_error = e
else:
_cache[key] = eci_lib
return eci_lib
# Nothing found
if last_error:
> raise last_error
E CompilationError: CompilationError(out="""
E """)
rtyper\tool\rffi_platform.py:846: CompilationError
ERROR at setup of TestIncrementalMiniMarkGC.test_string_builder_multiple_builds_2
cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGC'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator\c\test\test_newgc.py:84:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator\c\test\test_newgc.py:1637: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, rzlib
rlib\rzlib.py:27: in <module>
[dict(prefix='zlib-'),
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
name = 'zlib'
eci = <ExternalCompilationInfo (pre_include_bits=(), includes=('zlib.h',), include_d...libraries=('zlib1',), use_cpp_linker=False, platform=<MsvcPlatform cc=cl.exe>)>
configurations = [{'prefix': 'zlib-'}, {}], symbol = None, _cache = {}
def configure_external_library(name, eci, configurations,
symbol=None, _cache={}):
"""try to find the external library.
On Unix, this simply tests and returns the given eci.
On Windows, various configurations may be tried to compile the
given eci object. These configurations are a list of dicts,
containing:
- prefix: if an absolute path, will prefix each include and
library directories. If a relative path, the external
directory is searched for directories which names start
with the prefix. The last one in alphabetical order
chosen, and becomes the prefix.
- include_dir: prefix + include_dir is added to the include directories
- library_dir: prefix + library_dir is added to the library directories
"""
if sys.platform != 'win32':
configurations = []
key = (name, eci)
try:
return _cache[key]
except KeyError:
last_error = None
# Always try the default configuration
if {} not in configurations:
configurations.append({})
for configuration in configurations:
prefix = configuration.get('prefix', '')
include_dir = configuration.get('include_dir', '')
library_dir = configuration.get('library_dir', '')
if prefix and not os.path.isabs(prefix):
import glob
entries = glob.glob(str(PYPY_EXTERNAL_DIR.join(prefix + '*')))
if entries:
# Get last version
prefix = sorted(entries)[-1]
else:
continue
include_dir = os.path.join(prefix, include_dir)
library_dir = os.path.join(prefix, library_dir)
eci_lib = ExternalCompilationInfo(
include_dirs=include_dir and [include_dir] or [],
library_dirs=library_dir and [library_dir] or [],
)
eci_lib = eci_lib.merge(eci)
# verify that this eci can be compiled
try:
verify_eci(eci_lib)
except CompilationError as e:
last_error = e
else:
_cache[key] = eci_lib
return eci_lib
# Nothing found
if last_error:
> raise last_error
E CompilationError: CompilationError(out="""
E """)
rtyper\tool\rffi_platform.py:846: CompilationError
_____ ERROR at setup of TestIncrementalMiniMarkGC.test_nursery_hash_base ______
cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGC'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator\c\test\test_newgc.py:84:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator\c\test\test_newgc.py:1637: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, rzlib
rlib\rzlib.py:27: in <module>
[dict(prefix='zlib-'),
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
name = 'zlib'
eci = <ExternalCompilationInfo (pre_include_bits=(), includes=('zlib.h',), include_d...libraries=('zlib1',), use_cpp_linker=False, platform=<MsvcPlatform cc=cl.exe>)>
configurations = [{'prefix': 'zlib-'}, {}], symbol = None, _cache = {}
def configure_external_library(name, eci, configurations,
symbol=None, _cache={}):
"""try to find the external library.
On Unix, this simply tests and returns the given eci.
On Windows, various configurations may be tried to compile the
given eci object. These configurations are a list of dicts,
containing:
- prefix: if an absolute path, will prefix each include and
library directories. If a relative path, the external
directory is searched for directories which names start
with the prefix. The last one in alphabetical order
chosen, and becomes the prefix.
- include_dir: prefix + include_dir is added to the include directories
- library_dir: prefix + library_dir is added to the library directories
"""
if sys.platform != 'win32':
configurations = []
key = (name, eci)
try:
return _cache[key]
except KeyError:
last_error = None
# Always try the default configuration
if {} not in configurations:
configurations.append({})
for configuration in configurations:
prefix = configuration.get('prefix', '')
include_dir = configuration.get('include_dir', '')
library_dir = configuration.get('library_dir', '')
if prefix and not os.path.isabs(prefix):
import glob
entries = glob.glob(str(PYPY_EXTERNAL_DIR.join(prefix + '*')))
if entries:
# Get last version
prefix = sorted(entries)[-1]
else:
continue
include_dir = os.path.join(prefix, include_dir)
library_dir = os.path.join(prefix, library_dir)
eci_lib = ExternalCompilationInfo(
include_dirs=include_dir and [include_dir] or [],
library_dirs=library_dir and [library_dir] or [],
)
eci_lib = eci_lib.merge(eci)
# verify that this eci can be compiled
try:
verify_eci(eci_lib)
except CompilationError as e:
last_error = e
else:
_cache[key] = eci_lib
return eci_lib
# Nothing found
if last_error:
> raise last_error
E CompilationError: CompilationError(out="""
E """)
rtyper\tool\rffi_platform.py:846: CompilationError
___ ERROR at setup of TestIncrementalMiniMarkGC.test_extra_item_after_alloc ___
cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGC'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator\c\test\test_newgc.py:84:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator\c\test\test_newgc.py:1637: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, rzlib
rlib\rzlib.py:27: in <module>
[dict(prefix='zlib-'),
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
name = 'zlib'
eci = <ExternalCompilationInfo (pre_include_bits=(), includes=('zlib.h',), include_d...libraries=('zlib1',), use_cpp_linker=False, platform=<MsvcPlatform cc=cl.exe>)>
configurations = [{'prefix': 'zlib-'}, {}], symbol = None, _cache = {}
def configure_external_library(name, eci, configurations,
symbol=None, _cache={}):
"""try to find the external library.
On Unix, this simply tests and returns the given eci.
On Windows, various configurations may be tried to compile the
given eci object. These configurations are a list of dicts,
containing:
- prefix: if an absolute path, will prefix each include and
library directories. If a relative path, the external
directory is searched for directories which names start
with the prefix. The last one in alphabetical order
chosen, and becomes the prefix.
- include_dir: prefix + include_dir is added to the include directories
- library_dir: prefix + library_dir is added to the library directories
"""
if sys.platform != 'win32':
configurations = []
key = (name, eci)
try:
return _cache[key]
except KeyError:
last_error = None
# Always try the default configuration
if {} not in configurations:
configurations.append({})
for configuration in configurations:
prefix = configuration.get('prefix', '')
include_dir = configuration.get('include_dir', '')
library_dir = configuration.get('library_dir', '')
if prefix and not os.path.isabs(prefix):
import glob
entries = glob.glob(str(PYPY_EXTERNAL_DIR.join(prefix + '*')))
if entries:
# Get last version
prefix = sorted(entries)[-1]
else:
continue
include_dir = os.path.join(prefix, include_dir)
library_dir = os.path.join(prefix, library_dir)
eci_lib = ExternalCompilationInfo(
include_dirs=include_dir and [include_dir] or [],
library_dirs=library_dir and [library_dir] or [],
)
eci_lib = eci_lib.merge(eci)
# verify that this eci can be compiled
try:
verify_eci(eci_lib)
except CompilationError as e:
last_error = e
else:
_cache[key] = eci_lib
return eci_lib
# Nothing found
if last_error:
> raise last_error
E CompilationError: CompilationError(out="""
E """)
rtyper\tool\rffi_platform.py:846: CompilationError
__________ ERROR at setup of TestIncrementalMiniMarkGC.test_rerased ___________
cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGC'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator\c\test\test_newgc.py:84:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator\c\test\test_newgc.py:1637: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, rzlib
rlib\rzlib.py:27: in <module>
[dict(prefix='zlib-'),
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
name = 'zlib'
eci = <ExternalCompilationInfo (pre_include_bits=(), includes=('zlib.h',), include_d...libraries=('zlib1',), use_cpp_linker=False, platform=<MsvcPlatform cc=cl.exe>)>
configurations = [{'prefix': 'zlib-'}, {}], symbol = None, _cache = {}
def configure_external_library(name, eci, configurations,
symbol=None, _cache={}):
"""try to find the external library.
On Unix, this simply tests and returns the given eci.
On Windows, various configurations may be tried to compile the
given eci object. These configurations are a list of dicts,
containing:
- prefix: if an absolute path, will prefix each include and
library directories. If a relative path, the external
directory is searched for directories which names start
with the prefix. The last one in alphabetical order
chosen, and becomes the prefix.
- include_dir: prefix + include_dir is added to the include directories
- library_dir: prefix + library_dir is added to the library directories
"""
if sys.platform != 'win32':
configurations = []
key = (name, eci)
try:
return _cache[key]
except KeyError:
last_error = None
# Always try the default configuration
if {} not in configurations:
configurations.append({})
for configuration in configurations:
prefix = configuration.get('prefix', '')
include_dir = configuration.get('include_dir', '')
library_dir = configuration.get('library_dir', '')
if prefix and not os.path.isabs(prefix):
import glob
entries = glob.glob(str(PYPY_EXTERNAL_DIR.join(prefix + '*')))
if entries:
# Get last version
prefix = sorted(entries)[-1]
else:
continue
include_dir = os.path.join(prefix, include_dir)
library_dir = os.path.join(prefix, library_dir)
eci_lib = ExternalCompilationInfo(
include_dirs=include_dir and [include_dir] or [],
library_dirs=library_dir and [library_dir] or [],
)
eci_lib = eci_lib.merge(eci)
# verify that this eci can be compiled
try:
verify_eci(eci_lib)
except CompilationError as e:
last_error = e
else:
_cache[key] = eci_lib
return eci_lib
# Nothing found
if last_error:
> raise last_error
E CompilationError: CompilationError(out="""
E """)
rtyper\tool\rffi_platform.py:846: CompilationError
_______ ERROR at setup of TestIncrementalMiniMarkGC.test_gc_heap_stats ________
cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGC'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator\c\test\test_newgc.py:84:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator\c\test\test_newgc.py:1637: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, rzlib
rlib\rzlib.py:27: in <module>
[dict(prefix='zlib-'),
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
name = 'zlib'
eci = <ExternalCompilationInfo (pre_include_bits=(), includes=('zlib.h',), include_d...libraries=('zlib1',), use_cpp_linker=False, platform=<MsvcPlatform cc=cl.exe>)>
configurations = [{'prefix': 'zlib-'}, {}], symbol = None, _cache = {}
def configure_external_library(name, eci, configurations,
symbol=None, _cache={}):
"""try to find the external library.
On Unix, this simply tests and returns the given eci.
On Windows, various configurations may be tried to compile the
given eci object. These configurations are a list of dicts,
containing:
- prefix: if an absolute path, will prefix each include and
library directories. If a relative path, the external
directory is searched for directories which names start
with the prefix. The last one in alphabetical order
chosen, and becomes the prefix.
- include_dir: prefix + include_dir is added to the include directories
- library_dir: prefix + library_dir is added to the library directories
"""
if sys.platform != 'win32':
configurations = []
key = (name, eci)
try:
return _cache[key]
except KeyError:
last_error = None
# Always try the default configuration
if {} not in configurations:
configurations.append({})
for configuration in configurations:
prefix = configuration.get('prefix', '')
include_dir = configuration.get('include_dir', '')
library_dir = configuration.get('library_dir', '')
if prefix and not os.path.isabs(prefix):
import glob
entries = glob.glob(str(PYPY_EXTERNAL_DIR.join(prefix + '*')))
if entries:
# Get last version
prefix = sorted(entries)[-1]
else:
continue
include_dir = os.path.join(prefix, include_dir)
library_dir = os.path.join(prefix, library_dir)
eci_lib = ExternalCompilationInfo(
include_dirs=include_dir and [include_dir] or [],
library_dirs=library_dir and [library_dir] or [],
)
eci_lib = eci_lib.merge(eci)
# verify that this eci can be compiled
try:
verify_eci(eci_lib)
except CompilationError as e:
last_error = e
else:
_cache[key] = eci_lib
return eci_lib
# Nothing found
if last_error:
> raise last_error
E CompilationError: CompilationError(out="""
E """)
rtyper\tool\rffi_platform.py:846: CompilationError
____ ERROR at setup of TestIncrementalMiniMarkGC.test_nongc_attached_to_gc ____
cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGC'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator\c\test\test_newgc.py:84:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator\c\test\test_newgc.py:1637: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, rzlib
rlib\rzlib.py:27: in <module>
[dict(prefix='zlib-'),
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
name = 'zlib'
eci = <ExternalCompilationInfo (pre_include_bits=(), includes=('zlib.h',), include_d...libraries=('zlib1',), use_cpp_linker=False, platform=<MsvcPlatform cc=cl.exe>)>
configurations = [{'prefix': 'zlib-'}, {}], symbol = None, _cache = {}
def configure_external_library(name, eci, configurations,
symbol=None, _cache={}):
"""try to find the external library.
On Unix, this simply tests and returns the given eci.
On Windows, various configurations may be tried to compile the
given eci object. These configurations are a list of dicts,
containing:
- prefix: if an absolute path, will prefix each include and
library directories. If a relative path, the external
directory is searched for directories which names start
with the prefix. The last one in alphabetical order
chosen, and becomes the prefix.
- include_dir: prefix + include_dir is added to the include directories
- library_dir: prefix + library_dir is added to the library directories
"""
if sys.platform != 'win32':
configurations = []
key = (name, eci)
try:
return _cache[key]
except KeyError:
last_error = None
# Always try the default configuration
if {} not in configurations:
configurations.append({})
for configuration in configurations:
prefix = configuration.get('prefix', '')
include_dir = configuration.get('include_dir', '')
library_dir = configuration.get('library_dir', '')
if prefix and not os.path.isabs(prefix):
import glob
entries = glob.glob(str(PYPY_EXTERNAL_DIR.join(prefix + '*')))
if entries:
# Get last version
prefix = sorted(entries)[-1]
else:
continue
include_dir = os.path.join(prefix, include_dir)
library_dir = os.path.join(prefix, library_dir)
eci_lib = ExternalCompilationInfo(
include_dirs=include_dir and [include_dir] or [],
library_dirs=library_dir and [library_dir] or [],
)
eci_lib = eci_lib.merge(eci)
# verify that this eci can be compiled
try:
verify_eci(eci_lib)
except CompilationError as e:
last_error = e
else:
_cache[key] = eci_lib
return eci_lib
# Nothing found
if last_error:
> raise last_error
E CompilationError: CompilationError(out="""
E """)
rtyper\tool\rffi_platform.py:846: CompilationError
ERROR at setup of TestIncrementalMiniMarkGC.test_nongc_opaque_attached_to_gc _
cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGC'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator\c\test\test_newgc.py:84:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator\c\test\test_newgc.py:1637: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, rzlib
rlib\rzlib.py:27: in <module>
[dict(prefix='zlib-'),
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
name = 'zlib'
eci = <ExternalCompilationInfo (pre_include_bits=(), includes=('zlib.h',), include_d...libraries=('zlib1',), use_cpp_linker=False, platform=<MsvcPlatform cc=cl.exe>)>
configurations = [{'prefix': 'zlib-'}, {}], symbol = None, _cache = {}
def configure_external_library(name, eci, configurations,
symbol=None, _cache={}):
"""try to find the external library.
On Unix, this simply tests and returns the given eci.
On Windows, various configurations may be tried to compile the
given eci object. These configurations are a list of dicts,
containing:
- prefix: if an absolute path, will prefix each include and
library directories. If a relative path, the external
directory is searched for directories which names start
with the prefix. The last one in alphabetical order
chosen, and becomes the prefix.
- include_dir: prefix + include_dir is added to the include directories
- library_dir: prefix + library_dir is added to the library directories
"""
if sys.platform != 'win32':
configurations = []
key = (name, eci)
try:
return _cache[key]
except KeyError:
last_error = None
# Always try the default configuration
if {} not in configurations:
configurations.append({})
for configuration in configurations:
prefix = configuration.get('prefix', '')
include_dir = configuration.get('include_dir', '')
library_dir = configuration.get('library_dir', '')
if prefix and not os.path.isabs(prefix):
import glob
entries = glob.glob(str(PYPY_EXTERNAL_DIR.join(prefix + '*')))
if entries:
# Get last version
prefix = sorted(entries)[-1]
else:
continue
include_dir = os.path.join(prefix, include_dir)
library_dir = os.path.join(prefix, library_dir)
eci_lib = ExternalCompilationInfo(
include_dirs=include_dir and [include_dir] or [],
library_dirs=library_dir and [library_dir] or [],
)
eci_lib = eci_lib.merge(eci)
# verify that this eci can be compiled
try:
verify_eci(eci_lib)
except CompilationError as e:
last_error = e
else:
_cache[key] = eci_lib
return eci_lib
# Nothing found
if last_error:
> raise last_error
E CompilationError: CompilationError(out="""
E """)
rtyper\tool\rffi_platform.py:846: CompilationError
_______ ERROR at setup of TestIncrementalMiniMarkGC.test_limited_memory _______
cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGC'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator\c\test\test_newgc.py:84:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator\c\test\test_newgc.py:1637: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, rzlib
rlib\rzlib.py:27: in <module>
[dict(prefix='zlib-'),
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
name = 'zlib'
eci = <ExternalCompilationInfo (pre_include_bits=(), includes=('zlib.h',), include_d...libraries=('zlib1',), use_cpp_linker=False, platform=<MsvcPlatform cc=cl.exe>)>
configurations = [{'prefix': 'zlib-'}, {}], symbol = None, _cache = {}
def configure_external_library(name, eci, configurations,
symbol=None, _cache={}):
"""try to find the external library.
On Unix, this simply tests and returns the given eci.
On Windows, various configurations may be tried to compile the
given eci object. These configurations are a list of dicts,
containing:
- prefix: if an absolute path, will prefix each include and
library directories. If a relative path, the external
directory is searched for directories which names start
with the prefix. The last one in alphabetical order
chosen, and becomes the prefix.
- include_dir: prefix + include_dir is added to the include directories
- library_dir: prefix + library_dir is added to the library directories
"""
if sys.platform != 'win32':
configurations = []
key = (name, eci)
try:
return _cache[key]
except KeyError:
last_error = None
# Always try the default configuration
if {} not in configurations:
configurations.append({})
for configuration in configurations:
prefix = configuration.get('prefix', '')
include_dir = configuration.get('include_dir', '')
library_dir = configuration.get('library_dir', '')
if prefix and not os.path.isabs(prefix):
import glob
entries = glob.glob(str(PYPY_EXTERNAL_DIR.join(prefix + '*')))
if entries:
# Get last version
prefix = sorted(entries)[-1]
else:
continue
include_dir = os.path.join(prefix, include_dir)
library_dir = os.path.join(prefix, library_dir)
eci_lib = ExternalCompilationInfo(
include_dirs=include_dir and [include_dir] or [],
library_dirs=library_dir and [library_dir] or [],
)
eci_lib = eci_lib.merge(eci)
# verify that this eci can be compiled
try:
verify_eci(eci_lib)
except CompilationError as e:
last_error = e
else:
_cache[key] = eci_lib
return eci_lib
# Nothing found
if last_error:
> raise last_error
E CompilationError: CompilationError(out="""
E """)
rtyper\tool\rffi_platform.py:846: CompilationError
____ ERROR at setup of TestIncrementalMiniMarkGC.test_gc_set_max_heap_size ____
cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGC'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator\c\test\test_newgc.py:84:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator\c\test\test_newgc.py:1637: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, rzlib
rlib\rzlib.py:27: in <module>
[dict(prefix='zlib-'),
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
name = 'zlib'
eci = <ExternalCompilationInfo (pre_include_bits=(), includes=('zlib.h',), include_d...libraries=('zlib1',), use_cpp_linker=False, platform=<MsvcPlatform cc=cl.exe>)>
configurations = [{'prefix': 'zlib-'}, {}], symbol = None, _cache = {}
def configure_external_library(name, eci, configurations,
symbol=None, _cache={}):
"""try to find the external library.
On Unix, this simply tests and returns the given eci.
On Windows, various configurations may be tried to compile the
given eci object. These configurations are a list of dicts,
containing:
- prefix: if an absolute path, will prefix each include and
library directories. If a relative path, the external
directory is searched for directories which names start
with the prefix. The last one in alphabetical order
chosen, and becomes the prefix.
- include_dir: prefix + include_dir is added to the include directories
- library_dir: prefix + library_dir is added to the library directories
"""
if sys.platform != 'win32':
configurations = []
key = (name, eci)
try:
return _cache[key]
except KeyError:
last_error = None
# Always try the default configuration
if {} not in configurations:
configurations.append({})
for configuration in configurations:
prefix = configuration.get('prefix', '')
include_dir = configuration.get('include_dir', '')
library_dir = configuration.get('library_dir', '')
if prefix and not os.path.isabs(prefix):
import glob
entries = glob.glob(str(PYPY_EXTERNAL_DIR.join(prefix + '*')))
if entries:
# Get last version
prefix = sorted(entries)[-1]
else:
continue
include_dir = os.path.join(prefix, include_dir)
library_dir = os.path.join(prefix, library_dir)
eci_lib = ExternalCompilationInfo(
include_dirs=include_dir and [include_dir] or [],
library_dirs=library_dir and [library_dir] or [],
)
eci_lib = eci_lib.merge(eci)
# verify that this eci can be compiled
try:
verify_eci(eci_lib)
except CompilationError as e:
last_error = e
else:
_cache[key] = eci_lib
return eci_lib
# Nothing found
if last_error:
> raise last_error
E CompilationError: CompilationError(out="""
E """)
rtyper\tool\rffi_platform.py:846: CompilationError
___ ERROR at setup of TestIncrementalMiniMarkGC.test_total_memory_pressure ____
cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGC'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator\c\test\test_newgc.py:84:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator\c\test\test_newgc.py:1637: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, rzlib
rlib\rzlib.py:27: in <module>
[dict(prefix='zlib-'),
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
name = 'zlib'
eci = <ExternalCompilationInfo (pre_include_bits=(), includes=('zlib.h',), include_d...libraries=('zlib1',), use_cpp_linker=False, platform=<MsvcPlatform cc=cl.exe>)>
configurations = [{'prefix': 'zlib-'}, {}], symbol = None, _cache = {}
def configure_external_library(name, eci, configurations,
symbol=None, _cache={}):
"""try to find the external library.
On Unix, this simply tests and returns the given eci.
On Windows, various configurations may be tried to compile the
given eci object. These configurations are a list of dicts,
containing:
- prefix: if an absolute path, will prefix each include and
library directories. If a relative path, the external
directory is searched for directories which names start
with the prefix. The last one in alphabetical order
chosen, and becomes the prefix.
- include_dir: prefix + include_dir is added to the include directories
- library_dir: prefix + library_dir is added to the library directories
"""
if sys.platform != 'win32':
configurations = []
key = (name, eci)
try:
return _cache[key]
except KeyError:
last_error = None
# Always try the default configuration
if {} not in configurations:
configurations.append({})
for configuration in configurations:
prefix = configuration.get('prefix', '')
include_dir = configuration.get('include_dir', '')
library_dir = configuration.get('library_dir', '')
if prefix and not os.path.isabs(prefix):
import glob
entries = glob.glob(str(PYPY_EXTERNAL_DIR.join(prefix + '*')))
if entries:
# Get last version
prefix = sorted(entries)[-1]
else:
continue
include_dir = os.path.join(prefix, include_dir)
library_dir = os.path.join(prefix, library_dir)
eci_lib = ExternalCompilationInfo(
include_dirs=include_dir and [include_dir] or [],
library_dirs=library_dir and [library_dir] or [],
)
eci_lib = eci_lib.merge(eci)
# verify that this eci can be compiled
try:
verify_eci(eci_lib)
except CompilationError as e:
last_error = e
else:
_cache[key] = eci_lib
return eci_lib
# Nothing found
if last_error:
> raise last_error
E CompilationError: CompilationError(out="""
E """)
rtyper\tool\rffi_platform.py:846: CompilationError
_________ ERROR at setup of TestIncrementalMiniMarkGC.test_random_pin _________
cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGC'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator\c\test\test_newgc.py:84:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator\c\test\test_newgc.py:1637: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, rzlib
rlib\rzlib.py:27: in <module>
[dict(prefix='zlib-'),
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
name = 'zlib'
eci = <ExternalCompilationInfo (pre_include_bits=(), includes=('zlib.h',), include_d...libraries=('zlib1',), use_cpp_linker=False, platform=<MsvcPlatform cc=cl.exe>)>
configurations = [{'prefix': 'zlib-'}, {}], symbol = None, _cache = {}
def configure_external_library(name, eci, configurations,
symbol=None, _cache={}):
"""try to find the external library.
On Unix, this simply tests and returns the given eci.
On Windows, various configurations may be tried to compile the
given eci object. These configurations are a list of dicts,
containing:
- prefix: if an absolute path, will prefix each include and
library directories. If a relative path, the external
directory is searched for directories which names start
with the prefix. The last one in alphabetical order
chosen, and becomes the prefix.
- include_dir: prefix + include_dir is added to the include directories
- library_dir: prefix + library_dir is added to the library directories
"""
if sys.platform != 'win32':
configurations = []
key = (name, eci)
try:
return _cache[key]
except KeyError:
last_error = None
# Always try the default configuration
if {} not in configurations:
configurations.append({})
for configuration in configurations:
prefix = configuration.get('prefix', '')
include_dir = configuration.get('include_dir', '')
library_dir = configuration.get('library_dir', '')
if prefix and not os.path.isabs(prefix):
import glob
entries = glob.glob(str(PYPY_EXTERNAL_DIR.join(prefix + '*')))
if entries:
# Get last version
prefix = sorted(entries)[-1]
else:
continue
include_dir = os.path.join(prefix, include_dir)
library_dir = os.path.join(prefix, library_dir)
eci_lib = ExternalCompilationInfo(
include_dirs=include_dir and [include_dir] or [],
library_dirs=library_dir and [library_dir] or [],
)
eci_lib = eci_lib.merge(eci)
# verify that this eci can be compiled
try:
verify_eci(eci_lib)
except CompilationError as e:
last_error = e
else:
_cache[key] = eci_lib
return eci_lib
# Nothing found
if last_error:
> raise last_error
E CompilationError: CompilationError(out="""
E """)
rtyper\tool\rffi_platform.py:846: CompilationError
____ ERROR at setup of TestIncrementalMiniMarkGC.test_limited_memory_linux ____
cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGC'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator\c\test\test_newgc.py:84:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator\c\test\test_newgc.py:1637: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, rzlib
rlib\rzlib.py:27: in <module>
[dict(prefix='zlib-'),
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
name = 'zlib'
eci = <ExternalCompilationInfo (pre_include_bits=(), includes=('zlib.h',), include_d...libraries=('zlib1',), use_cpp_linker=False, platform=<MsvcPlatform cc=cl.exe>)>
configurations = [{'prefix': 'zlib-'}, {}], symbol = None, _cache = {}
def configure_external_library(name, eci, configurations,
symbol=None, _cache={}):
"""try to find the external library.
On Unix, this simply tests and returns the given eci.
On Windows, various configurations may be tried to compile the
given eci object. These configurations are a list of dicts,
containing:
- prefix: if an absolute path, will prefix each include and
library directories. If a relative path, the external
directory is searched for directories which names start
with the prefix. The last one in alphabetical order
chosen, and becomes the prefix.
- include_dir: prefix + include_dir is added to the include directories
- library_dir: prefix + library_dir is added to the library directories
"""
if sys.platform != 'win32':
configurations = []
key = (name, eci)
try:
return _cache[key]
except KeyError:
last_error = None
# Always try the default configuration
if {} not in configurations:
configurations.append({})
for configuration in configurations:
prefix = configuration.get('prefix', '')
include_dir = configuration.get('include_dir', '')
library_dir = configuration.get('library_dir', '')
if prefix and not os.path.isabs(prefix):
import glob
entries = glob.glob(str(PYPY_EXTERNAL_DIR.join(prefix + '*')))
if entries:
# Get last version
prefix = sorted(entries)[-1]
else:
continue
include_dir = os.path.join(prefix, include_dir)
library_dir = os.path.join(prefix, library_dir)
eci_lib = ExternalCompilationInfo(
include_dirs=include_dir and [include_dir] or [],
library_dirs=library_dir and [library_dir] or [],
)
eci_lib = eci_lib.merge(eci)
# verify that this eci can be compiled
try:
verify_eci(eci_lib)
except CompilationError as e:
last_error = e
else:
_cache[key] = eci_lib
return eci_lib
# Nothing found
if last_error:
> raise last_error
E CompilationError: CompilationError(out="""
E """)
rtyper\tool\rffi_platform.py:846: CompilationError
______ ERROR at setup of TestIncrementalMiniMarkGC.test_ignore_finalizer ______
cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGC'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator\c\test\test_newgc.py:84:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator\c\test\test_newgc.py:1637: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, rzlib
rlib\rzlib.py:27: in <module>
[dict(prefix='zlib-'),
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
name = 'zlib'
eci = <ExternalCompilationInfo (pre_include_bits=(), includes=('zlib.h',), include_d...libraries=('zlib1',), use_cpp_linker=False, platform=<MsvcPlatform cc=cl.exe>)>
configurations = [{'prefix': 'zlib-'}, {}], symbol = None, _cache = {}
def configure_external_library(name, eci, configurations,
symbol=None, _cache={}):
"""try to find the external library.
On Unix, this simply tests and returns the given eci.
On Windows, various configurations may be tried to compile the
given eci object. These configurations are a list of dicts,
containing:
- prefix: if an absolute path, will prefix each include and
library directories. If a relative path, the external
directory is searched for directories which names start
with the prefix. The last one in alphabetical order
chosen, and becomes the prefix.
- include_dir: prefix + include_dir is added to the include directories
- library_dir: prefix + library_dir is added to the library directories
"""
if sys.platform != 'win32':
configurations = []
key = (name, eci)
try:
return _cache[key]
except KeyError:
last_error = None
# Always try the default configuration
if {} not in configurations:
configurations.append({})
for configuration in configurations:
prefix = configuration.get('prefix', '')
include_dir = configuration.get('include_dir', '')
library_dir = configuration.get('library_dir', '')
if prefix and not os.path.isabs(prefix):
import glob
entries = glob.glob(str(PYPY_EXTERNAL_DIR.join(prefix + '*')))
if entries:
# Get last version
prefix = sorted(entries)[-1]
else:
continue
include_dir = os.path.join(prefix, include_dir)
library_dir = os.path.join(prefix, library_dir)
eci_lib = ExternalCompilationInfo(
include_dirs=include_dir and [include_dir] or [],
library_dirs=library_dir and [library_dir] or [],
)
eci_lib = eci_lib.merge(eci)
# verify that this eci can be compiled
try:
verify_eci(eci_lib)
except CompilationError as e:
last_error = e
else:
_cache[key] = eci_lib
return eci_lib
# Nothing found
if last_error:
> raise last_error
E CompilationError: CompilationError(out="""
E """)
rtyper\tool\rffi_platform.py:846: CompilationError
_______ ERROR at setup of TestIncrementalMiniMarkGC.test_enable_disable _______
cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGC'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator\c\test\test_newgc.py:84:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator\c\test\test_newgc.py:1637: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, rzlib
rlib\rzlib.py:27: in <module>
[dict(prefix='zlib-'),
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
name = 'zlib'
eci = <ExternalCompilationInfo (pre_include_bits=(), includes=('zlib.h',), include_d...libraries=('zlib1',), use_cpp_linker=False, platform=<MsvcPlatform cc=cl.exe>)>
configurations = [{'prefix': 'zlib-'}, {}], symbol = None, _cache = {}
def configure_external_library(name, eci, configurations,
symbol=None, _cache={}):
"""try to find the external library.
On Unix, this simply tests and returns the given eci.
On Windows, various configurations may be tried to compile the
given eci object. These configurations are a list of dicts,
containing:
- prefix: if an absolute path, will prefix each include and
library directories. If a relative path, the external
directory is searched for directories which names start
with the prefix. The last one in alphabetical order
chosen, and becomes the prefix.
- include_dir: prefix + include_dir is added to the include directories
- library_dir: prefix + library_dir is added to the library directories
"""
if sys.platform != 'win32':
configurations = []
key = (name, eci)
try:
return _cache[key]
except KeyError:
last_error = None
# Always try the default configuration
if {} not in configurations:
configurations.append({})
for configuration in configurations:
prefix = configuration.get('prefix', '')
include_dir = configuration.get('include_dir', '')
library_dir = configuration.get('library_dir', '')
if prefix and not os.path.isabs(prefix):
import glob
entries = glob.glob(str(PYPY_EXTERNAL_DIR.join(prefix + '*')))
if entries:
# Get last version
prefix = sorted(entries)[-1]
else:
continue
include_dir = os.path.join(prefix, include_dir)
library_dir = os.path.join(prefix, library_dir)
eci_lib = ExternalCompilationInfo(
include_dirs=include_dir and [include_dir] or [],
library_dirs=library_dir and [library_dir] or [],
)
eci_lib = eci_lib.merge(eci)
# verify that this eci can be compiled
try:
verify_eci(eci_lib)
except CompilationError as e:
last_error = e
else:
_cache[key] = eci_lib
return eci_lib
# Nothing found
if last_error:
> raise last_error
E CompilationError: CompilationError(out="""
E """)
rtyper\tool\rffi_platform.py:846: CompilationError
________ ERROR at setup of TestIncrementalMiniMarkGC.test_collect_step ________
cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGC'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator\c\test\test_newgc.py:84:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator\c\test\test_newgc.py:1637: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, rzlib
rlib\rzlib.py:27: in <module>
[dict(prefix='zlib-'),
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
name = 'zlib'
eci = <ExternalCompilationInfo (pre_include_bits=(), includes=('zlib.h',), include_d...libraries=('zlib1',), use_cpp_linker=False, platform=<MsvcPlatform cc=cl.exe>)>
configurations = [{'prefix': 'zlib-'}, {}], symbol = None, _cache = {}
def configure_external_library(name, eci, configurations,
symbol=None, _cache={}):
"""try to find the external library.
On Unix, this simply tests and returns the given eci.
On Windows, various configurations may be tried to compile the
given eci object. These configurations are a list of dicts,
containing:
- prefix: if an absolute path, will prefix each include and
library directories. If a relative path, the external
directory is searched for directories which names start
with the prefix. The last one in alphabetical order
chosen, and becomes the prefix.
- include_dir: prefix + include_dir is added to the include directories
- library_dir: prefix + library_dir is added to the library directories
"""
if sys.platform != 'win32':
configurations = []
key = (name, eci)
try:
return _cache[key]
except KeyError:
last_error = None
# Always try the default configuration
if {} not in configurations:
configurations.append({})
for configuration in configurations:
prefix = configuration.get('prefix', '')
include_dir = configuration.get('include_dir', '')
library_dir = configuration.get('library_dir', '')
if prefix and not os.path.isabs(prefix):
import glob
entries = glob.glob(str(PYPY_EXTERNAL_DIR.join(prefix + '*')))
if entries:
# Get last version
prefix = sorted(entries)[-1]
else:
continue
include_dir = os.path.join(prefix, include_dir)
library_dir = os.path.join(prefix, library_dir)
eci_lib = ExternalCompilationInfo(
include_dirs=include_dir and [include_dir] or [],
library_dirs=library_dir and [library_dir] or [],
)
eci_lib = eci_lib.merge(eci)
# verify that this eci can be compiled
try:
verify_eci(eci_lib)
except CompilationError as e:
last_error = e
else:
_cache[key] = eci_lib
return eci_lib
# Nothing found
if last_error:
> raise last_error
E CompilationError: CompilationError(out="""
E """)
rtyper\tool\rffi_platform.py:846: CompilationError
_______ ERROR at setup of TestIncrementalMiniMarkGC.test_total_gc_time ________
cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGC'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator\c\test\test_newgc.py:84:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator\c\test\test_newgc.py:1637: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, rzlib
rlib\rzlib.py:27: in <module>
[dict(prefix='zlib-'),
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
name = 'zlib'
eci = <ExternalCompilationInfo (pre_include_bits=(), includes=('zlib.h',), include_d...libraries=('zlib1',), use_cpp_linker=False, platform=<MsvcPlatform cc=cl.exe>)>
configurations = [{'prefix': 'zlib-'}, {}], symbol = None, _cache = {}
def configure_external_library(name, eci, configurations,
symbol=None, _cache={}):
"""try to find the external library.
On Unix, this simply tests and returns the given eci.
On Windows, various configurations may be tried to compile the
given eci object. These configurations are a list of dicts,
containing:
- prefix: if an absolute path, will prefix each include and
library directories. If a relative path, the external
directory is searched for directories which names start
with the prefix. The last one in alphabetical order
chosen, and becomes the prefix.
- include_dir: prefix + include_dir is added to the include directories
- library_dir: prefix + library_dir is added to the library directories
"""
if sys.platform != 'win32':
configurations = []
key = (name, eci)
try:
return _cache[key]
except KeyError:
last_error = None
# Always try the default configuration
if {} not in configurations:
configurations.append({})
for configuration in configurations:
prefix = configuration.get('prefix', '')
include_dir = configuration.get('include_dir', '')
library_dir = configuration.get('library_dir', '')
if prefix and not os.path.isabs(prefix):
import glob
entries = glob.glob(str(PYPY_EXTERNAL_DIR.join(prefix + '*')))
if entries:
# Get last version
prefix = sorted(entries)[-1]
else:
continue
include_dir = os.path.join(prefix, include_dir)
library_dir = os.path.join(prefix, library_dir)
eci_lib = ExternalCompilationInfo(
include_dirs=include_dir and [include_dir] or [],
library_dirs=library_dir and [library_dir] or [],
)
eci_lib = eci_lib.merge(eci)
# verify that this eci can be compiled
try:
verify_eci(eci_lib)
except CompilationError as e:
last_error = e
else:
_cache[key] = eci_lib
return eci_lib
# Nothing found
if last_error:
> raise last_error
E CompilationError: CompilationError(out="""
E """)
rtyper\tool\rffi_platform.py:846: CompilationError
_ ERROR at setup of TestIncrementalMiniMarkGC.test_increase_root_stack_depth __
cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGC'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator\c\test\test_newgc.py:84:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator\c\test\test_newgc.py:1637: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, rzlib
rlib\rzlib.py:27: in <module>
[dict(prefix='zlib-'),
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
name = 'zlib'
eci = <ExternalCompilationInfo (pre_include_bits=(), includes=('zlib.h',), include_d...libraries=('zlib1',), use_cpp_linker=False, platform=<MsvcPlatform cc=cl.exe>)>
configurations = [{'prefix': 'zlib-'}, {}], symbol = None, _cache = {}
def configure_external_library(name, eci, configurations,
symbol=None, _cache={}):
"""try to find the external library.
On Unix, this simply tests and returns the given eci.
On Windows, various configurations may be tried to compile the
given eci object. These configurations are a list of dicts,
containing:
- prefix: if an absolute path, will prefix each include and
library directories. If a relative path, the external
directory is searched for directories which names start
with the prefix. The last one in alphabetical order
chosen, and becomes the prefix.
- include_dir: prefix + include_dir is added to the include directories
- library_dir: prefix + library_dir is added to the library directories
"""
if sys.platform != 'win32':
configurations = []
key = (name, eci)
try:
return _cache[key]
except KeyError:
last_error = None
# Always try the default configuration
if {} not in configurations:
configurations.append({})
for configuration in configurations:
prefix = configuration.get('prefix', '')
include_dir = configuration.get('include_dir', '')
library_dir = configuration.get('library_dir', '')
if prefix and not os.path.isabs(prefix):
import glob
entries = glob.glob(str(PYPY_EXTERNAL_DIR.join(prefix + '*')))
if entries:
# Get last version
prefix = sorted(entries)[-1]
else:
continue
include_dir = os.path.join(prefix, include_dir)
library_dir = os.path.join(prefix, library_dir)
eci_lib = ExternalCompilationInfo(
include_dirs=include_dir and [include_dir] or [],
library_dirs=library_dir and [library_dir] or [],
)
eci_lib = eci_lib.merge(eci)
# verify that this eci can be compiled
try:
verify_eci(eci_lib)
except CompilationError as e:
last_error = e
else:
_cache[key] = eci_lib
return eci_lib
# Nothing found
if last_error:
> raise last_error
E CompilationError: CompilationError(out="""
E """)
rtyper\tool\rffi_platform.py:846: CompilationError
______ ERROR at setup of TestMiniMarkGCMostCompact.test_finalizer_order _______
cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGCMostCompact'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator\c\test\test_newgc.py:84:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator\c\test\test_newgc.py:1637: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, rzlib
rlib\rzlib.py:27: in <module>
[dict(prefix='zlib-'),
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
name = 'zlib'
eci = <ExternalCompilationInfo (pre_include_bits=(), includes=('zlib.h',), include_d...libraries=('zlib1',), use_cpp_linker=False, platform=<MsvcPlatform cc=cl.exe>)>
configurations = [{'prefix': 'zlib-'}, {}], symbol = None, _cache = {}
def configure_external_library(name, eci, configurations,
symbol=None, _cache={}):
"""try to find the external library.
On Unix, this simply tests and returns the given eci.
On Windows, various configurations may be tried to compile the
given eci object. These configurations are a list of dicts,
containing:
- prefix: if an absolute path, will prefix each include and
library directories. If a relative path, the external
directory is searched for directories which names start
with the prefix. The last one in alphabetical order
chosen, and becomes the prefix.
- include_dir: prefix + include_dir is added to the include directories
- library_dir: prefix + library_dir is added to the library directories
"""
if sys.platform != 'win32':
configurations = []
key = (name, eci)
try:
return _cache[key]
except KeyError:
last_error = None
# Always try the default configuration
if {} not in configurations:
configurations.append({})
for configuration in configurations:
prefix = configuration.get('prefix', '')
include_dir = configuration.get('include_dir', '')
library_dir = configuration.get('library_dir', '')
if prefix and not os.path.isabs(prefix):
import glob
entries = glob.glob(str(PYPY_EXTERNAL_DIR.join(prefix + '*')))
if entries:
# Get last version
prefix = sorted(entries)[-1]
else:
continue
include_dir = os.path.join(prefix, include_dir)
library_dir = os.path.join(prefix, library_dir)
eci_lib = ExternalCompilationInfo(
include_dirs=include_dir and [include_dir] or [],
library_dirs=library_dir and [library_dir] or [],
)
eci_lib = eci_lib.merge(eci)
# verify that this eci can be compiled
try:
verify_eci(eci_lib)
except CompilationError as e:
last_error = e
else:
_cache[key] = eci_lib
return eci_lib
# Nothing found
if last_error:
> raise last_error
E CompilationError: CompilationError(out="""
E """)
rtyper\tool\rffi_platform.py:846: CompilationError
ERROR at setup of TestMiniMarkGCMostCompact.test_from_objwithfinalizer_to_youngobj
cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGCMostCompact'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator\c\test\test_newgc.py:84:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator\c\test\test_newgc.py:1637: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, rzlib
rlib\rzlib.py:27: in <module>
[dict(prefix='zlib-'),
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
name = 'zlib'
eci = <ExternalCompilationInfo (pre_include_bits=(), includes=('zlib.h',), include_d...libraries=('zlib1',), use_cpp_linker=False, platform=<MsvcPlatform cc=cl.exe>)>
configurations = [{'prefix': 'zlib-'}, {}], symbol = None, _cache = {}
def configure_external_library(name, eci, configurations,
symbol=None, _cache={}):
"""try to find the external library.
On Unix, this simply tests and returns the given eci.
On Windows, various configurations may be tried to compile the
given eci object. These configurations are a list of dicts,
containing:
- prefix: if an absolute path, will prefix each include and
library directories. If a relative path, the external
directory is searched for directories which names start
with the prefix. The last one in alphabetical order
chosen, and becomes the prefix.
- include_dir: prefix + include_dir is added to the include directories
- library_dir: prefix + library_dir is added to the library directories
"""
if sys.platform != 'win32':
configurations = []
key = (name, eci)
try:
return _cache[key]
except KeyError:
last_error = None
# Always try the default configuration
if {} not in configurations:
configurations.append({})
for configuration in configurations:
prefix = configuration.get('prefix', '')
include_dir = configuration.get('include_dir', '')
library_dir = configuration.get('library_dir', '')
if prefix and not os.path.isabs(prefix):
import glob
entries = glob.glob(str(PYPY_EXTERNAL_DIR.join(prefix + '*')))
if entries:
# Get last version
prefix = sorted(entries)[-1]
else:
continue
include_dir = os.path.join(prefix, include_dir)
library_dir = os.path.join(prefix, library_dir)
eci_lib = ExternalCompilationInfo(
include_dirs=include_dir and [include_dir] or [],
library_dirs=library_dir and [library_dir] or [],
)
eci_lib = eci_lib.merge(eci)
# verify that this eci can be compiled
try:
verify_eci(eci_lib)
except CompilationError as e:
last_error = e
else:
_cache[key] = eci_lib
return eci_lib
# Nothing found
if last_error:
> raise last_error
E CompilationError: CompilationError(out="""
E """)
rtyper\tool\rffi_platform.py:846: CompilationError
_______ ERROR at setup of TestMiniMarkGCMostCompact.test_empty_collect ________
cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGCMostCompact'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator\c\test\test_newgc.py:84:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator\c\test\test_newgc.py:1637: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, rzlib
rlib\rzlib.py:27: in <module>
[dict(prefix='zlib-'),
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
name = 'zlib'
eci = <ExternalCompilationInfo (pre_include_bits=(), includes=('zlib.h',), include_d...libraries=('zlib1',), use_cpp_linker=False, platform=<MsvcPlatform cc=cl.exe>)>
configurations = [{'prefix': 'zlib-'}, {}], symbol = None, _cache = {}
def configure_external_library(name, eci, configurations,
symbol=None, _cache={}):
"""try to find the external library.
On Unix, this simply tests and returns the given eci.
On Windows, various configurations may be tried to compile the
given eci object. These configurations are a list of dicts,
containing:
- prefix: if an absolute path, will prefix each include and
library directories. If a relative path, the external
directory is searched for directories which names start
with the prefix. The last one in alphabetical order
chosen, and becomes the prefix.
- include_dir: prefix + include_dir is added to the include directories
- library_dir: prefix + library_dir is added to the library directories
"""
if sys.platform != 'win32':
configurations = []
key = (name, eci)
try:
return _cache[key]
except KeyError:
last_error = None
# Always try the default configuration
if {} not in configurations:
configurations.append({})
for configuration in configurations:
prefix = configuration.get('prefix', '')
include_dir = configuration.get('include_dir', '')
library_dir = configuration.get('library_dir', '')
if prefix and not os.path.isabs(prefix):
import glob
entries = glob.glob(str(PYPY_EXTERNAL_DIR.join(prefix + '*')))
if entries:
# Get last version
prefix = sorted(entries)[-1]
else:
continue
include_dir = os.path.join(prefix, include_dir)
library_dir = os.path.join(prefix, library_dir)
eci_lib = ExternalCompilationInfo(
include_dirs=include_dir and [include_dir] or [],
library_dirs=library_dir and [library_dir] or [],
)
eci_lib = eci_lib.merge(eci)
# verify that this eci can be compiled
try:
verify_eci(eci_lib)
except CompilationError as e:
last_error = e
else:
_cache[key] = eci_lib
return eci_lib
# Nothing found
if last_error:
> raise last_error
E CompilationError: CompilationError(out="""
E """)
rtyper\tool\rffi_platform.py:846: CompilationError
______ ERROR at setup of TestMiniMarkGCMostCompact.test_framework_simple ______
cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGCMostCompact'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator\c\test\test_newgc.py:84:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator\c\test\test_newgc.py:1637: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, rzlib
rlib\rzlib.py:27: in <module>
[dict(prefix='zlib-'),
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
name = 'zlib'
eci = <ExternalCompilationInfo (pre_include_bits=(), includes=('zlib.h',), include_d...libraries=('zlib1',), use_cpp_linker=False, platform=<MsvcPlatform cc=cl.exe>)>
configurations = [{'prefix': 'zlib-'}, {}], symbol = None, _cache = {}
def configure_external_library(name, eci, configurations,
symbol=None, _cache={}):
"""try to find the external library.
On Unix, this simply tests and returns the given eci.
On Windows, various configurations may be tried to compile the
given eci object. These configurations are a list of dicts,
containing:
- prefix: if an absolute path, will prefix each include and
library directories. If a relative path, the external
directory is searched for directories which names start
with the prefix. The last one in alphabetical order
chosen, and becomes the prefix.
- include_dir: prefix + include_dir is added to the include directories
- library_dir: prefix + library_dir is added to the library directories
"""
if sys.platform != 'win32':
configurations = []
key = (name, eci)
try:
return _cache[key]
except KeyError:
last_error = None
# Always try the default configuration
if {} not in configurations:
configurations.append({})
for configuration in configurations:
prefix = configuration.get('prefix', '')
include_dir = configuration.get('include_dir', '')
library_dir = configuration.get('library_dir', '')
if prefix and not os.path.isabs(prefix):
import glob
entries = glob.glob(str(PYPY_EXTERNAL_DIR.join(prefix + '*')))
if entries:
# Get last version
prefix = sorted(entries)[-1]
else:
continue
include_dir = os.path.join(prefix, include_dir)
library_dir = os.path.join(prefix, library_dir)
eci_lib = ExternalCompilationInfo(
include_dirs=include_dir and [include_dir] or [],
library_dirs=library_dir and [library_dir] or [],
)
eci_lib = eci_lib.merge(eci)
# verify that this eci can be compiled
try:
verify_eci(eci_lib)
except CompilationError as e:
last_error = e
else:
_cache[key] = eci_lib
return eci_lib
# Nothing found
if last_error:
> raise last_error
E CompilationError: CompilationError(out="""
E """)
rtyper\tool\rffi_platform.py:846: CompilationError
___ ERROR at setup of TestMiniMarkGCMostCompact.test_framework_safe_pushpop ___
cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGCMostCompact'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator\c\test\test_newgc.py:84:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator\c\test\test_newgc.py:1637: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, rzlib
rlib\rzlib.py:27: in <module>
[dict(prefix='zlib-'),
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
name = 'zlib'
eci = <ExternalCompilationInfo (pre_include_bits=(), includes=('zlib.h',), include_d...libraries=('zlib1',), use_cpp_linker=False, platform=<MsvcPlatform cc=cl.exe>)>
configurations = [{'prefix': 'zlib-'}, {}], symbol = None, _cache = {}
def configure_external_library(name, eci, configurations,
symbol=None, _cache={}):
"""try to find the external library.
On Unix, this simply tests and returns the given eci.
On Windows, various configurations may be tried to compile the
given eci object. These configurations are a list of dicts,
containing:
- prefix: if an absolute path, will prefix each include and
library directories. If a relative path, the external
directory is searched for directories which names start
with the prefix. The last one in alphabetical order
chosen, and becomes the prefix.
- include_dir: prefix + include_dir is added to the include directories
- library_dir: prefix + library_dir is added to the library directories
"""
if sys.platform != 'win32':
configurations = []
key = (name, eci)
try:
return _cache[key]
except KeyError:
last_error = None
# Always try the default configuration
if {} not in configurations:
configurations.append({})
for configuration in configurations:
prefix = configuration.get('prefix', '')
include_dir = configuration.get('include_dir', '')
library_dir = configuration.get('library_dir', '')
if prefix and not os.path.isabs(prefix):
import glob
entries = glob.glob(str(PYPY_EXTERNAL_DIR.join(prefix + '*')))
if entries:
# Get last version
prefix = sorted(entries)[-1]
else:
continue
include_dir = os.path.join(prefix, include_dir)
library_dir = os.path.join(prefix, library_dir)
eci_lib = ExternalCompilationInfo(
include_dirs=include_dir and [include_dir] or [],
library_dirs=library_dir and [library_dir] or [],
)
eci_lib = eci_lib.merge(eci)
# verify that this eci can be compiled
try:
verify_eci(eci_lib)
except CompilationError as e:
last_error = e
else:
_cache[key] = eci_lib
return eci_lib
# Nothing found
if last_error:
> raise last_error
E CompilationError: CompilationError(out="""
E """)
rtyper\tool\rffi_platform.py:846: CompilationError
_ ERROR at setup of TestMiniMarkGCMostCompact.test_framework_protect_getfield _
cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGCMostCompact'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator\c\test\test_newgc.py:84:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator\c\test\test_newgc.py:1637: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, rzlib
rlib\rzlib.py:27: in <module>
[dict(prefix='zlib-'),
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
name = 'zlib'
eci = <ExternalCompilationInfo (pre_include_bits=(), includes=('zlib.h',), include_d...libraries=('zlib1',), use_cpp_linker=False, platform=<MsvcPlatform cc=cl.exe>)>
configurations = [{'prefix': 'zlib-'}, {}], symbol = None, _cache = {}
def configure_external_library(name, eci, configurations,
symbol=None, _cache={}):
"""try to find the external library.
On Unix, this simply tests and returns the given eci.
On Windows, various configurations may be tried to compile the
given eci object. These configurations are a list of dicts,
containing:
- prefix: if an absolute path, will prefix each include and
library directories. If a relative path, the external
directory is searched for directories which names start
with the prefix. The last one in alphabetical order
chosen, and becomes the prefix.
- include_dir: prefix + include_dir is added to the include directories
- library_dir: prefix + library_dir is added to the library directories
"""
if sys.platform != 'win32':
configurations = []
key = (name, eci)
try:
return _cache[key]
except KeyError:
last_error = None
# Always try the default configuration
if {} not in configurations:
configurations.append({})
for configuration in configurations:
prefix = configuration.get('prefix', '')
include_dir = configuration.get('include_dir', '')
library_dir = configuration.get('library_dir', '')
if prefix and not os.path.isabs(prefix):
import glob
entries = glob.glob(str(PYPY_EXTERNAL_DIR.join(prefix + '*')))
if entries:
# Get last version
prefix = sorted(entries)[-1]
else:
continue
include_dir = os.path.join(prefix, include_dir)
library_dir = os.path.join(prefix, library_dir)
eci_lib = ExternalCompilationInfo(
include_dirs=include_dir and [include_dir] or [],
library_dirs=library_dir and [library_dir] or [],
)
eci_lib = eci_lib.merge(eci)
# verify that this eci can be compiled
try:
verify_eci(eci_lib)
except CompilationError as e:
last_error = e
else:
_cache[key] = eci_lib
return eci_lib
# Nothing found
if last_error:
> raise last_error
E CompilationError: CompilationError(out="""
E """)
rtyper\tool\rffi_platform.py:846: CompilationError
_____ ERROR at setup of TestMiniMarkGCMostCompact.test_framework_varsized _____
cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGCMostCompact'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator\c\test\test_newgc.py:84:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator\c\test\test_newgc.py:1637: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, rzlib
rlib\rzlib.py:27: in <module>
[dict(prefix='zlib-'),
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
name = 'zlib'
eci = <ExternalCompilationInfo (pre_include_bits=(), includes=('zlib.h',), include_d...libraries=('zlib1',), use_cpp_linker=False, platform=<MsvcPlatform cc=cl.exe>)>
configurations = [{'prefix': 'zlib-'}, {}], symbol = None, _cache = {}
def configure_external_library(name, eci, configurations,
symbol=None, _cache={}):
"""try to find the external library.
On Unix, this simply tests and returns the given eci.
On Windows, various configurations may be tried to compile the
given eci object. These configurations are a list of dicts,
containing:
- prefix: if an absolute path, will prefix each include and
library directories. If a relative path, the external
directory is searched for directories which names start
with the prefix. The last one in alphabetical order
chosen, and becomes the prefix.
- include_dir: prefix + include_dir is added to the include directories
- library_dir: prefix + library_dir is added to the library directories
"""
if sys.platform != 'win32':
configurations = []
key = (name, eci)
try:
return _cache[key]
except KeyError:
last_error = None
# Always try the default configuration
if {} not in configurations:
configurations.append({})
for configuration in configurations:
prefix = configuration.get('prefix', '')
include_dir = configuration.get('include_dir', '')
library_dir = configuration.get('library_dir', '')
if prefix and not os.path.isabs(prefix):
import glob
entries = glob.glob(str(PYPY_EXTERNAL_DIR.join(prefix + '*')))
if entries:
# Get last version
prefix = sorted(entries)[-1]
else:
continue
include_dir = os.path.join(prefix, include_dir)
library_dir = os.path.join(prefix, library_dir)
eci_lib = ExternalCompilationInfo(
include_dirs=include_dir and [include_dir] or [],
library_dirs=library_dir and [library_dir] or [],
)
eci_lib = eci_lib.merge(eci)
# verify that this eci can be compiled
try:
verify_eci(eci_lib)
except CompilationError as e:
last_error = e
else:
_cache[key] = eci_lib
return eci_lib
# Nothing found
if last_error:
> raise last_error
E CompilationError: CompilationError(out="""
E """)
rtyper\tool\rffi_platform.py:846: CompilationError
___ ERROR at setup of TestMiniMarkGCMostCompact.test_framework_using_lists ____
cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGCMostCompact'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator\c\test\test_newgc.py:84:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator\c\test\test_newgc.py:1637: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, rzlib
rlib\rzlib.py:27: in <module>
[dict(prefix='zlib-'),
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
name = 'zlib'
eci = <ExternalCompilationInfo (pre_include_bits=(), includes=('zlib.h',), include_d...libraries=('zlib1',), use_cpp_linker=False, platform=<MsvcPlatform cc=cl.exe>)>
configurations = [{'prefix': 'zlib-'}, {}], symbol = None, _cache = {}
def configure_external_library(name, eci, configurations,
symbol=None, _cache={}):
"""try to find the external library.
On Unix, this simply tests and returns the given eci.
On Windows, various configurations may be tried to compile the
given eci object. These configurations are a list of dicts,
containing:
- prefix: if an absolute path, will prefix each include and
library directories. If a relative path, the external
directory is searched for directories which names start
with the prefix. The last one in alphabetical order
chosen, and becomes the prefix.
- include_dir: prefix + include_dir is added to the include directories
- library_dir: prefix + library_dir is added to the library directories
"""
if sys.platform != 'win32':
configurations = []
key = (name, eci)
try:
return _cache[key]
except KeyError:
last_error = None
# Always try the default configuration
if {} not in configurations:
configurations.append({})
for configuration in configurations:
prefix = configuration.get('prefix', '')
include_dir = configuration.get('include_dir', '')
library_dir = configuration.get('library_dir', '')
if prefix and not os.path.isabs(prefix):
import glob
entries = glob.glob(str(PYPY_EXTERNAL_DIR.join(prefix + '*')))
if entries:
# Get last version
prefix = sorted(entries)[-1]
else:
continue
include_dir = os.path.join(prefix, include_dir)
library_dir = os.path.join(prefix, library_dir)
eci_lib = ExternalCompilationInfo(
include_dirs=include_dir and [include_dir] or [],
library_dirs=library_dir and [library_dir] or [],
)
eci_lib = eci_lib.merge(eci)
# verify that this eci can be compiled
try:
verify_eci(eci_lib)
except CompilationError as e:
last_error = e
else:
_cache[key] = eci_lib
return eci_lib
# Nothing found
if last_error:
> raise last_error
E CompilationError: CompilationError(out="""
E """)
rtyper\tool\rffi_platform.py:846: CompilationError
___ ERROR at setup of TestMiniMarkGCMostCompact.test_framework_static_roots ___
cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGCMostCompact'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator\c\test\test_newgc.py:84:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator\c\test\test_newgc.py:1637: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, rzlib
rlib\rzlib.py:27: in <module>
[dict(prefix='zlib-'),
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
name = 'zlib'
eci = <ExternalCompilationInfo (pre_include_bits=(), includes=('zlib.h',), include_d...libraries=('zlib1',), use_cpp_linker=False, platform=<MsvcPlatform cc=cl.exe>)>
configurations = [{'prefix': 'zlib-'}, {}], symbol = None, _cache = {}
def configure_external_library(name, eci, configurations,
symbol=None, _cache={}):
"""try to find the external library.
On Unix, this simply tests and returns the given eci.
On Windows, various configurations may be tried to compile the
given eci object. These configurations are a list of dicts,
containing:
- prefix: if an absolute path, will prefix each include and
library directories. If a relative path, the external
directory is searched for directories which names start
with the prefix. The last one in alphabetical order
chosen, and becomes the prefix.
- include_dir: prefix + include_dir is added to the include directories
- library_dir: prefix + library_dir is added to the library directories
"""
if sys.platform != 'win32':
configurations = []
key = (name, eci)
try:
return _cache[key]
except KeyError:
last_error = None
# Always try the default configuration
if {} not in configurations:
configurations.append({})
for configuration in configurations:
prefix = configuration.get('prefix', '')
include_dir = configuration.get('include_dir', '')
library_dir = configuration.get('library_dir', '')
if prefix and not os.path.isabs(prefix):
import glob
entries = glob.glob(str(PYPY_EXTERNAL_DIR.join(prefix + '*')))
if entries:
# Get last version
prefix = sorted(entries)[-1]
else:
continue
include_dir = os.path.join(prefix, include_dir)
library_dir = os.path.join(prefix, library_dir)
eci_lib = ExternalCompilationInfo(
include_dirs=include_dir and [include_dir] or [],
library_dirs=library_dir and [library_dir] or [],
)
eci_lib = eci_lib.merge(eci)
# verify that this eci can be compiled
try:
verify_eci(eci_lib)
except CompilationError as e:
last_error = e
else:
_cache[key] = eci_lib
return eci_lib
# Nothing found
if last_error:
> raise last_error
E CompilationError: CompilationError(out="""
E """)
rtyper\tool\rffi_platform.py:846: CompilationError
ERROR at setup of TestMiniMarkGCMostCompact.test_framework_nongc_static_root _
cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGCMostCompact'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator\c\test\test_newgc.py:84:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator\c\test\test_newgc.py:1637: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, rzlib
rlib\rzlib.py:27: in <module>
[dict(prefix='zlib-'),
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
name = 'zlib'
eci = <ExternalCompilationInfo (pre_include_bits=(), includes=('zlib.h',), include_d...libraries=('zlib1',), use_cpp_linker=False, platform=<MsvcPlatform cc=cl.exe>)>
configurations = [{'prefix': 'zlib-'}, {}], symbol = None, _cache = {}
def configure_external_library(name, eci, configurations,
symbol=None, _cache={}):
"""try to find the external library.
On Unix, this simply tests and returns the given eci.
On Windows, various configurations may be tried to compile the
given eci object. These configurations are a list of dicts,
containing:
- prefix: if an absolute path, will prefix each include and
library directories. If a relative path, the external
directory is searched for directories which names start
with the prefix. The last one in alphabetical order
chosen, and becomes the prefix.
- include_dir: prefix + include_dir is added to the include directories
- library_dir: prefix + library_dir is added to the library directories
"""
if sys.platform != 'win32':
configurations = []
key = (name, eci)
try:
return _cache[key]
except KeyError:
last_error = None
# Always try the default configuration
if {} not in configurations:
configurations.append({})
for configuration in configurations:
prefix = configuration.get('prefix', '')
include_dir = configuration.get('include_dir', '')
library_dir = configuration.get('library_dir', '')
if prefix and not os.path.isabs(prefix):
import glob
entries = glob.glob(str(PYPY_EXTERNAL_DIR.join(prefix + '*')))
if entries:
# Get last version
prefix = sorted(entries)[-1]
else:
continue
include_dir = os.path.join(prefix, include_dir)
library_dir = os.path.join(prefix, library_dir)
eci_lib = ExternalCompilationInfo(
include_dirs=include_dir and [include_dir] or [],
library_dirs=library_dir and [library_dir] or [],
)
eci_lib = eci_lib.merge(eci)
# verify that this eci can be compiled
try:
verify_eci(eci_lib)
except CompilationError as e:
last_error = e
else:
_cache[key] = eci_lib
return eci_lib
# Nothing found
if last_error:
> raise last_error
E CompilationError: CompilationError(out="""
E """)
rtyper\tool\rffi_platform.py:846: CompilationError
____ ERROR at setup of TestMiniMarkGCMostCompact.test_framework_void_array ____
cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGCMostCompact'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator\c\test\test_newgc.py:84:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator\c\test\test_newgc.py:1637: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, rzlib
rlib\rzlib.py:27: in <module>
[dict(prefix='zlib-'),
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
name = 'zlib'
eci = <ExternalCompilationInfo (pre_include_bits=(), includes=('zlib.h',), include_d...libraries=('zlib1',), use_cpp_linker=False, platform=<MsvcPlatform cc=cl.exe>)>
configurations = [{'prefix': 'zlib-'}, {}], symbol = None, _cache = {}
def configure_external_library(name, eci, configurations,
symbol=None, _cache={}):
"""try to find the external library.
On Unix, this simply tests and returns the given eci.
On Windows, various configurations may be tried to compile the
given eci object. These configurations are a list of dicts,
containing:
- prefix: if an absolute path, will prefix each include and
library directories. If a relative path, the external
directory is searched for directories which names start
with the prefix. The last one in alphabetical order
chosen, and becomes the prefix.
- include_dir: prefix + include_dir is added to the include directories
- library_dir: prefix + library_dir is added to the library directories
"""
if sys.platform != 'win32':
configurations = []
key = (name, eci)
try:
return _cache[key]
except KeyError:
last_error = None
# Always try the default configuration
if {} not in configurations:
configurations.append({})
for configuration in configurations:
prefix = configuration.get('prefix', '')
include_dir = configuration.get('include_dir', '')
library_dir = configuration.get('library_dir', '')
if prefix and not os.path.isabs(prefix):
import glob
entries = glob.glob(str(PYPY_EXTERNAL_DIR.join(prefix + '*')))
if entries:
# Get last version
prefix = sorted(entries)[-1]
else:
continue
include_dir = os.path.join(prefix, include_dir)
library_dir = os.path.join(prefix, library_dir)
eci_lib = ExternalCompilationInfo(
include_dirs=include_dir and [include_dir] or [],
library_dirs=library_dir and [library_dir] or [],
)
eci_lib = eci_lib.merge(eci)
# verify that this eci can be compiled
try:
verify_eci(eci_lib)
except CompilationError as e:
last_error = e
else:
_cache[key] = eci_lib
return eci_lib
# Nothing found
if last_error:
> raise last_error
E CompilationError: CompilationError(out="""
E """)
rtyper\tool\rffi_platform.py:846: CompilationError
__ ERROR at setup of TestMiniMarkGCMostCompact.test_framework_malloc_failure __
cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGCMostCompact'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator\c\test\test_newgc.py:84:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator\c\test\test_newgc.py:1637: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, rzlib
rlib\rzlib.py:27: in <module>
[dict(prefix='zlib-'),
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
name = 'zlib'
eci = <ExternalCompilationInfo (pre_include_bits=(), includes=('zlib.h',), include_d...libraries=('zlib1',), use_cpp_linker=False, platform=<MsvcPlatform cc=cl.exe>)>
configurations = [{'prefix': 'zlib-'}, {}], symbol = None, _cache = {}
def configure_external_library(name, eci, configurations,
symbol=None, _cache={}):
"""try to find the external library.
On Unix, this simply tests and returns the given eci.
On Windows, various configurations may be tried to compile the
given eci object. These configurations are a list of dicts,
containing:
- prefix: if an absolute path, will prefix each include and
library directories. If a relative path, the external
directory is searched for directories which names start
with the prefix. The last one in alphabetical order
chosen, and becomes the prefix.
- include_dir: prefix + include_dir is added to the include directories
- library_dir: prefix + library_dir is added to the library directories
"""
if sys.platform != 'win32':
configurations = []
key = (name, eci)
try:
return _cache[key]
except KeyError:
last_error = None
# Always try the default configuration
if {} not in configurations:
configurations.append({})
for configuration in configurations:
prefix = configuration.get('prefix', '')
include_dir = configuration.get('include_dir', '')
library_dir = configuration.get('library_dir', '')
if prefix and not os.path.isabs(prefix):
import glob
entries = glob.glob(str(PYPY_EXTERNAL_DIR.join(prefix + '*')))
if entries:
# Get last version
prefix = sorted(entries)[-1]
else:
continue
include_dir = os.path.join(prefix, include_dir)
library_dir = os.path.join(prefix, library_dir)
eci_lib = ExternalCompilationInfo(
include_dirs=include_dir and [include_dir] or [],
library_dirs=library_dir and [library_dir] or [],
)
eci_lib = eci_lib.merge(eci)
# verify that this eci can be compiled
try:
verify_eci(eci_lib)
except CompilationError as e:
last_error = e
else:
_cache[key] = eci_lib
return eci_lib
# Nothing found
if last_error:
> raise last_error
E CompilationError: CompilationError(out="""
E """)
rtyper\tool\rffi_platform.py:846: CompilationError
__ ERROR at setup of TestMiniMarkGCMostCompact.test_framework_array_of_void ___
cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGCMostCompact'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator\c\test\test_newgc.py:84:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator\c\test\test_newgc.py:1637: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, rzlib
rlib\rzlib.py:27: in <module>
[dict(prefix='zlib-'),
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
name = 'zlib'
eci = <ExternalCompilationInfo (pre_include_bits=(), includes=('zlib.h',), include_d...libraries=('zlib1',), use_cpp_linker=False, platform=<MsvcPlatform cc=cl.exe>)>
configurations = [{'prefix': 'zlib-'}, {}], symbol = None, _cache = {}
def configure_external_library(name, eci, configurations,
symbol=None, _cache={}):
"""try to find the external library.
On Unix, this simply tests and returns the given eci.
On Windows, various configurations may be tried to compile the
given eci object. These configurations are a list of dicts,
containing:
- prefix: if an absolute path, will prefix each include and
library directories. If a relative path, the external
directory is searched for directories which names start
with the prefix. The last one in alphabetical order
chosen, and becomes the prefix.
- include_dir: prefix + include_dir is added to the include directories
- library_dir: prefix + library_dir is added to the library directories
"""
if sys.platform != 'win32':
configurations = []
key = (name, eci)
try:
return _cache[key]
except KeyError:
last_error = None
# Always try the default configuration
if {} not in configurations:
configurations.append({})
for configuration in configurations:
prefix = configuration.get('prefix', '')
include_dir = configuration.get('include_dir', '')
library_dir = configuration.get('library_dir', '')
if prefix and not os.path.isabs(prefix):
import glob
entries = glob.glob(str(PYPY_EXTERNAL_DIR.join(prefix + '*')))
if entries:
# Get last version
prefix = sorted(entries)[-1]
else:
continue
include_dir = os.path.join(prefix, include_dir)
library_dir = os.path.join(prefix, library_dir)
eci_lib = ExternalCompilationInfo(
include_dirs=include_dir and [include_dir] or [],
library_dirs=library_dir and [library_dir] or [],
)
eci_lib = eci_lib.merge(eci)
# verify that this eci can be compiled
try:
verify_eci(eci_lib)
except CompilationError as e:
last_error = e
else:
_cache[key] = eci_lib
return eci_lib
# Nothing found
if last_error:
> raise last_error
E CompilationError: CompilationError(out="""
E """)
rtyper\tool\rffi_platform.py:846: CompilationError
______ ERROR at setup of TestMiniMarkGCMostCompact.test_framework_opaque ______
cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGCMostCompact'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator\c\test\test_newgc.py:84:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator\c\test\test_newgc.py:1637: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, rzlib
rlib\rzlib.py:27: in <module>
[dict(prefix='zlib-'),
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
name = 'zlib'
eci = <ExternalCompilationInfo (pre_include_bits=(), includes=('zlib.h',), include_d...libraries=('zlib1',), use_cpp_linker=False, platform=<MsvcPlatform cc=cl.exe>)>
configurations = [{'prefix': 'zlib-'}, {}], symbol = None, _cache = {}
def configure_external_library(name, eci, configurations,
symbol=None, _cache={}):
"""try to find the external library.
On Unix, this simply tests and returns the given eci.
On Windows, various configurations may be tried to compile the
given eci object. These configurations are a list of dicts,
containing:
- prefix: if an absolute path, will prefix each include and
library directories. If a relative path, the external
directory is searched for directories which names start
with the prefix. The last one in alphabetical order
chosen, and becomes the prefix.
- include_dir: prefix + include_dir is added to the include directories
- library_dir: prefix + library_dir is added to the library directories
"""
if sys.platform != 'win32':
configurations = []
key = (name, eci)
try:
return _cache[key]
except KeyError:
last_error = None
# Always try the default configuration
if {} not in configurations:
configurations.append({})
for configuration in configurations:
prefix = configuration.get('prefix', '')
include_dir = configuration.get('include_dir', '')
library_dir = configuration.get('library_dir', '')
if prefix and not os.path.isabs(prefix):
import glob
entries = glob.glob(str(PYPY_EXTERNAL_DIR.join(prefix + '*')))
if entries:
# Get last version
prefix = sorted(entries)[-1]
else:
continue
include_dir = os.path.join(prefix, include_dir)
library_dir = os.path.join(prefix, library_dir)
eci_lib = ExternalCompilationInfo(
include_dirs=include_dir and [include_dir] or [],
library_dirs=library_dir and [library_dir] or [],
)
eci_lib = eci_lib.merge(eci)
# verify that this eci can be compiled
try:
verify_eci(eci_lib)
except CompilationError as e:
last_error = e
else:
_cache[key] = eci_lib
return eci_lib
# Nothing found
if last_error:
> raise last_error
E CompilationError: CompilationError(out="""
E """)
rtyper\tool\rffi_platform.py:846: CompilationError
____ ERROR at setup of TestMiniMarkGCMostCompact.test_framework_finalizer _____
cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGCMostCompact'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator\c\test\test_newgc.py:84:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator\c\test\test_newgc.py:1637: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, rzlib
rlib\rzlib.py:27: in <module>
[dict(prefix='zlib-'),
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
name = 'zlib'
eci = <ExternalCompilationInfo (pre_include_bits=(), includes=('zlib.h',), include_d...libraries=('zlib1',), use_cpp_linker=False, platform=<MsvcPlatform cc=cl.exe>)>
configurations = [{'prefix': 'zlib-'}, {}], symbol = None, _cache = {}
def configure_external_library(name, eci, configurations,
symbol=None, _cache={}):
"""try to find the external library.
On Unix, this simply tests and returns the given eci.
On Windows, various configurations may be tried to compile the
given eci object. These configurations are a list of dicts,
containing:
- prefix: if an absolute path, will prefix each include and
library directories. If a relative path, the external
directory is searched for directories which names start
with the prefix. The last one in alphabetical order
chosen, and becomes the prefix.
- include_dir: prefix + include_dir is added to the include directories
- library_dir: prefix + library_dir is added to the library directories
"""
if sys.platform != 'win32':
configurations = []
key = (name, eci)
try:
return _cache[key]
except KeyError:
last_error = None
# Always try the default configuration
if {} not in configurations:
configurations.append({})
for configuration in configurations:
prefix = configuration.get('prefix', '')
include_dir = configuration.get('include_dir', '')
library_dir = configuration.get('library_dir', '')
if prefix and not os.path.isabs(prefix):
import glob
entries = glob.glob(str(PYPY_EXTERNAL_DIR.join(prefix + '*')))
if entries:
# Get last version
prefix = sorted(entries)[-1]
else:
continue
include_dir = os.path.join(prefix, include_dir)
library_dir = os.path.join(prefix, library_dir)
eci_lib = ExternalCompilationInfo(
include_dirs=include_dir and [include_dir] or [],
library_dirs=library_dir and [library_dir] or [],
)
eci_lib = eci_lib.merge(eci)
# verify that this eci can be compiled
try:
verify_eci(eci_lib)
except CompilationError as e:
last_error = e
else:
_cache[key] = eci_lib
return eci_lib
# Nothing found
if last_error:
> raise last_error
E CompilationError: CompilationError(out="""
E """)
rtyper\tool\rffi_platform.py:846: CompilationError
________ ERROR at setup of TestMiniMarkGCMostCompact.test_del_catches _________
cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGCMostCompact'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator\c\test\test_newgc.py:84:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator\c\test\test_newgc.py:1637: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, rzlib
rlib\rzlib.py:27: in <module>
[dict(prefix='zlib-'),
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
name = 'zlib'
eci = <ExternalCompilationInfo (pre_include_bits=(), includes=('zlib.h',), include_d...libraries=('zlib1',), use_cpp_linker=False, platform=<MsvcPlatform cc=cl.exe>)>
configurations = [{'prefix': 'zlib-'}, {}], symbol = None, _cache = {}
def configure_external_library(name, eci, configurations,
symbol=None, _cache={}):
"""try to find the external library.
On Unix, this simply tests and returns the given eci.
On Windows, various configurations may be tried to compile the
given eci object. These configurations are a list of dicts,
containing:
- prefix: if an absolute path, will prefix each include and
library directories. If a relative path, the external
directory is searched for directories which names start
with the prefix. The last one in alphabetical order
chosen, and becomes the prefix.
- include_dir: prefix + include_dir is added to the include directories
- library_dir: prefix + library_dir is added to the library directories
"""
if sys.platform != 'win32':
configurations = []
key = (name, eci)
try:
return _cache[key]
except KeyError:
last_error = None
# Always try the default configuration
if {} not in configurations:
configurations.append({})
for configuration in configurations:
prefix = configuration.get('prefix', '')
include_dir = configuration.get('include_dir', '')
library_dir = configuration.get('library_dir', '')
if prefix and not os.path.isabs(prefix):
import glob
entries = glob.glob(str(PYPY_EXTERNAL_DIR.join(prefix + '*')))
if entries:
# Get last version
prefix = sorted(entries)[-1]
else:
continue
include_dir = os.path.join(prefix, include_dir)
library_dir = os.path.join(prefix, library_dir)
eci_lib = ExternalCompilationInfo(
include_dirs=include_dir and [include_dir] or [],
library_dirs=library_dir and [library_dir] or [],
)
eci_lib = eci_lib.merge(eci)
# verify that this eci can be compiled
try:
verify_eci(eci_lib)
except CompilationError as e:
last_error = e
else:
_cache[key] = eci_lib
return eci_lib
# Nothing found
if last_error:
> raise last_error
E CompilationError: CompilationError(out="""
E """)
rtyper\tool\rffi_platform.py:846: CompilationError
_________ ERROR at setup of TestMiniMarkGCMostCompact.test_del_raises _________
cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGCMostCompact'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator\c\test\test_newgc.py:84:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator\c\test\test_newgc.py:1637: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, rzlib
rlib\rzlib.py:27: in <module>
[dict(prefix='zlib-'),
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
name = 'zlib'
eci = <ExternalCompilationInfo (pre_include_bits=(), includes=('zlib.h',), include_d...libraries=('zlib1',), use_cpp_linker=False, platform=<MsvcPlatform cc=cl.exe>)>
configurations = [{'prefix': 'zlib-'}, {}], symbol = None, _cache = {}
def configure_external_library(name, eci, configurations,
symbol=None, _cache={}):
"""try to find the external library.
On Unix, this simply tests and returns the given eci.
On Windows, various configurations may be tried to compile the
given eci object. These configurations are a list of dicts,
containing:
- prefix: if an absolute path, will prefix each include and
library directories. If a relative path, the external
directory is searched for directories which names start
with the prefix. The last one in alphabetical order
chosen, and becomes the prefix.
- include_dir: prefix + include_dir is added to the include directories
- library_dir: prefix + library_dir is added to the library directories
"""
if sys.platform != 'win32':
configurations = []
key = (name, eci)
try:
return _cache[key]
except KeyError:
last_error = None
# Always try the default configuration
if {} not in configurations:
configurations.append({})
for configuration in configurations:
prefix = configuration.get('prefix', '')
include_dir = configuration.get('include_dir', '')
library_dir = configuration.get('library_dir', '')
if prefix and not os.path.isabs(prefix):
import glob
entries = glob.glob(str(PYPY_EXTERNAL_DIR.join(prefix + '*')))
if entries:
# Get last version
prefix = sorted(entries)[-1]
else:
continue
include_dir = os.path.join(prefix, include_dir)
library_dir = os.path.join(prefix, library_dir)
eci_lib = ExternalCompilationInfo(
include_dirs=include_dir and [include_dir] or [],
library_dirs=library_dir and [library_dir] or [],
)
eci_lib = eci_lib.merge(eci)
# verify that this eci can be compiled
try:
verify_eci(eci_lib)
except CompilationError as e:
last_error = e
else:
_cache[key] = eci_lib
return eci_lib
# Nothing found
if last_error:
> raise last_error
E CompilationError: CompilationError(out="""
E """)
rtyper\tool\rffi_platform.py:846: CompilationError
________ ERROR at setup of TestMiniMarkGCMostCompact.test_custom_trace ________
cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGCMostCompact'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator\c\test\test_newgc.py:84:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator\c\test\test_newgc.py:1637: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, rzlib
rlib\rzlib.py:27: in <module>
[dict(prefix='zlib-'),
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
name = 'zlib'
eci = <ExternalCompilationInfo (pre_include_bits=(), includes=('zlib.h',), include_d...libraries=('zlib1',), use_cpp_linker=False, platform=<MsvcPlatform cc=cl.exe>)>
configurations = [{'prefix': 'zlib-'}, {}], symbol = None, _cache = {}
def configure_external_library(name, eci, configurations,
symbol=None, _cache={}):
"""try to find the external library.
On Unix, this simply tests and returns the given eci.
On Windows, various configurations may be tried to compile the
given eci object. These configurations are a list of dicts,
containing:
- prefix: if an absolute path, will prefix each include and
library directories. If a relative path, the external
directory is searched for directories which names start
with the prefix. The last one in alphabetical order
chosen, and becomes the prefix.
- include_dir: prefix + include_dir is added to the include directories
- library_dir: prefix + library_dir is added to the library directories
"""
if sys.platform != 'win32':
configurations = []
key = (name, eci)
try:
return _cache[key]
except KeyError:
last_error = None
# Always try the default configuration
if {} not in configurations:
configurations.append({})
for configuration in configurations:
prefix = configuration.get('prefix', '')
include_dir = configuration.get('include_dir', '')
library_dir = configuration.get('library_dir', '')
if prefix and not os.path.isabs(prefix):
import glob
entries = glob.glob(str(PYPY_EXTERNAL_DIR.join(prefix + '*')))
if entries:
# Get last version
prefix = sorted(entries)[-1]
else:
continue
include_dir = os.path.join(prefix, include_dir)
library_dir = os.path.join(prefix, library_dir)
eci_lib = ExternalCompilationInfo(
include_dirs=include_dir and [include_dir] or [],
library_dirs=library_dir and [library_dir] or [],
)
eci_lib = eci_lib.merge(eci)
# verify that this eci can be compiled
try:
verify_eci(eci_lib)
except CompilationError as e:
last_error = e
else:
_cache[key] = eci_lib
return eci_lib
# Nothing found
if last_error:
> raise last_error
E CompilationError: CompilationError(out="""
E """)
rtyper\tool\rffi_platform.py:846: CompilationError
___ ERROR at setup of TestMiniMarkGCMostCompact.test_custom_light_finalizer ___
cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGCMostCompact'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator\c\test\test_newgc.py:84:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator\c\test\test_newgc.py:1637: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, rzlib
rlib\rzlib.py:27: in <module>
[dict(prefix='zlib-'),
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
name = 'zlib'
eci = <ExternalCompilationInfo (pre_include_bits=(), includes=('zlib.h',), include_d...libraries=('zlib1',), use_cpp_linker=False, platform=<MsvcPlatform cc=cl.exe>)>
configurations = [{'prefix': 'zlib-'}, {}], symbol = None, _cache = {}
def configure_external_library(name, eci, configurations,
symbol=None, _cache={}):
"""try to find the external library.
On Unix, this simply tests and returns the given eci.
On Windows, various configurations may be tried to compile the
given eci object. These configurations are a list of dicts,
containing:
- prefix: if an absolute path, will prefix each include and
library directories. If a relative path, the external
directory is searched for directories which names start
with the prefix. The last one in alphabetical order
chosen, and becomes the prefix.
- include_dir: prefix + include_dir is added to the include directories
- library_dir: prefix + library_dir is added to the library directories
"""
if sys.platform != 'win32':
configurations = []
key = (name, eci)
try:
return _cache[key]
except KeyError:
last_error = None
# Always try the default configuration
if {} not in configurations:
configurations.append({})
for configuration in configurations:
prefix = configuration.get('prefix', '')
include_dir = configuration.get('include_dir', '')
library_dir = configuration.get('library_dir', '')
if prefix and not os.path.isabs(prefix):
import glob
entries = glob.glob(str(PYPY_EXTERNAL_DIR.join(prefix + '*')))
if entries:
# Get last version
prefix = sorted(entries)[-1]
else:
continue
include_dir = os.path.join(prefix, include_dir)
library_dir = os.path.join(prefix, library_dir)
eci_lib = ExternalCompilationInfo(
include_dirs=include_dir and [include_dir] or [],
library_dirs=library_dir and [library_dir] or [],
)
eci_lib = eci_lib.merge(eci)
# verify that this eci can be compiled
try:
verify_eci(eci_lib)
except CompilationError as e:
last_error = e
else:
_cache[key] = eci_lib
return eci_lib
# Nothing found
if last_error:
> raise last_error
E CompilationError: CompilationError(out="""
E """)
rtyper\tool\rffi_platform.py:846: CompilationError
__________ ERROR at setup of TestMiniMarkGCMostCompact.test_weakref ___________
cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGCMostCompact'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator\c\test\test_newgc.py:84:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator\c\test\test_newgc.py:1637: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, rzlib
rlib\rzlib.py:27: in <module>
[dict(prefix='zlib-'),
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
name = 'zlib'
eci = <ExternalCompilationInfo (pre_include_bits=(), includes=('zlib.h',), include_d...libraries=('zlib1',), use_cpp_linker=False, platform=<MsvcPlatform cc=cl.exe>)>
configurations = [{'prefix': 'zlib-'}, {}], symbol = None, _cache = {}
def configure_external_library(name, eci, configurations,
symbol=None, _cache={}):
"""try to find the external library.
On Unix, this simply tests and returns the given eci.
On Windows, various configurations may be tried to compile the
given eci object. These configurations are a list of dicts,
containing:
- prefix: if an absolute path, will prefix each include and
library directories. If a relative path, the external
directory is searched for directories which names start
with the prefix. The last one in alphabetical order
chosen, and becomes the prefix.
- include_dir: prefix + include_dir is added to the include directories
- library_dir: prefix + library_dir is added to the library directories
"""
if sys.platform != 'win32':
configurations = []
key = (name, eci)
try:
return _cache[key]
except KeyError:
last_error = None
# Always try the default configuration
if {} not in configurations:
configurations.append({})
for configuration in configurations:
prefix = configuration.get('prefix', '')
include_dir = configuration.get('include_dir', '')
library_dir = configuration.get('library_dir', '')
if prefix and not os.path.isabs(prefix):
import glob
entries = glob.glob(str(PYPY_EXTERNAL_DIR.join(prefix + '*')))
if entries:
# Get last version
prefix = sorted(entries)[-1]
else:
continue
include_dir = os.path.join(prefix, include_dir)
library_dir = os.path.join(prefix, library_dir)
eci_lib = ExternalCompilationInfo(
include_dirs=include_dir and [include_dir] or [],
library_dirs=library_dir and [library_dir] or [],
)
eci_lib = eci_lib.merge(eci)
# verify that this eci can be compiled
try:
verify_eci(eci_lib)
except CompilationError as e:
last_error = e
else:
_cache[key] = eci_lib
return eci_lib
# Nothing found
if last_error:
> raise last_error
E CompilationError: CompilationError(out="""
E """)
rtyper\tool\rffi_platform.py:846: CompilationError
______ ERROR at setup of TestMiniMarkGCMostCompact.test_prebuilt_weakref ______
cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGCMostCompact'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator\c\test\test_newgc.py:84:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator\c\test\test_newgc.py:1637: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, rzlib
rlib\rzlib.py:27: in <module>
[dict(prefix='zlib-'),
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
name = 'zlib'
eci = <ExternalCompilationInfo (pre_include_bits=(), includes=('zlib.h',), include_d...libraries=('zlib1',), use_cpp_linker=False, platform=<MsvcPlatform cc=cl.exe>)>
configurations = [{'prefix': 'zlib-'}, {}], symbol = None, _cache = {}
def configure_external_library(name, eci, configurations,
symbol=None, _cache={}):
"""try to find the external library.
On Unix, this simply tests and returns the given eci.
On Windows, various configurations may be tried to compile the
given eci object. These configurations are a list of dicts,
containing:
- prefix: if an absolute path, will prefix each include and
library directories. If a relative path, the external
directory is searched for directories which names start
with the prefix. The last one in alphabetical order
chosen, and becomes the prefix.
- include_dir: prefix + include_dir is added to the include directories
- library_dir: prefix + library_dir is added to the library directories
"""
if sys.platform != 'win32':
configurations = []
key = (name, eci)
try:
return _cache[key]
except KeyError:
last_error = None
# Always try the default configuration
if {} not in configurations:
configurations.append({})
for configuration in configurations:
prefix = configuration.get('prefix', '')
include_dir = configuration.get('include_dir', '')
library_dir = configuration.get('library_dir', '')
if prefix and not os.path.isabs(prefix):
import glob
entries = glob.glob(str(PYPY_EXTERNAL_DIR.join(prefix + '*')))
if entries:
# Get last version
prefix = sorted(entries)[-1]
else:
continue
include_dir = os.path.join(prefix, include_dir)
library_dir = os.path.join(prefix, library_dir)
eci_lib = ExternalCompilationInfo(
include_dirs=include_dir and [include_dir] or [],
library_dirs=library_dir and [library_dir] or [],
)
eci_lib = eci_lib.merge(eci)
# verify that this eci can be compiled
try:
verify_eci(eci_lib)
except CompilationError as e:
last_error = e
else:
_cache[key] = eci_lib
return eci_lib
# Nothing found
if last_error:
> raise last_error
E CompilationError: CompilationError(out="""
E """)
rtyper\tool\rffi_platform.py:846: CompilationError
ERROR at setup of TestMiniMarkGCMostCompact.test_prebuilt_dicts_of_all_sizes _
cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGCMostCompact'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator\c\test\test_newgc.py:84:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator\c\test\test_newgc.py:1637: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, rzlib
rlib\rzlib.py:27: in <module>
[dict(prefix='zlib-'),
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
name = 'zlib'
eci = <ExternalCompilationInfo (pre_include_bits=(), includes=('zlib.h',), include_d...libraries=('zlib1',), use_cpp_linker=False, platform=<MsvcPlatform cc=cl.exe>)>
configurations = [{'prefix': 'zlib-'}, {}], symbol = None, _cache = {}
def configure_external_library(name, eci, configurations,
symbol=None, _cache={}):
"""try to find the external library.
On Unix, this simply tests and returns the given eci.
On Windows, various configurations may be tried to compile the
given eci object. These configurations are a list of dicts,
containing:
- prefix: if an absolute path, will prefix each include and
library directories. If a relative path, the external
directory is searched for directories which names start
with the prefix. The last one in alphabetical order
chosen, and becomes the prefix.
- include_dir: prefix + include_dir is added to the include directories
- library_dir: prefix + library_dir is added to the library directories
"""
if sys.platform != 'win32':
configurations = []
key = (name, eci)
try:
return _cache[key]
except KeyError:
last_error = None
# Always try the default configuration
if {} not in configurations:
configurations.append({})
for configuration in configurations:
prefix = configuration.get('prefix', '')
include_dir = configuration.get('include_dir', '')
library_dir = configuration.get('library_dir', '')
if prefix and not os.path.isabs(prefix):
import glob
entries = glob.glob(str(PYPY_EXTERNAL_DIR.join(prefix + '*')))
if entries:
# Get last version
prefix = sorted(entries)[-1]
else:
continue
include_dir = os.path.join(prefix, include_dir)
library_dir = os.path.join(prefix, library_dir)
eci_lib = ExternalCompilationInfo(
include_dirs=include_dir and [include_dir] or [],
library_dirs=library_dir and [library_dir] or [],
)
eci_lib = eci_lib.merge(eci)
# verify that this eci can be compiled
try:
verify_eci(eci_lib)
except CompilationError as e:
last_error = e
else:
_cache[key] = eci_lib
return eci_lib
# Nothing found
if last_error:
> raise last_error
E CompilationError: CompilationError(out="""
E """)
rtyper\tool\rffi_platform.py:846: CompilationError
____ ERROR at setup of TestMiniMarkGCMostCompact.test_framework_malloc_raw ____
cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGCMostCompact'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator\c\test\test_newgc.py:84:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator\c\test\test_newgc.py:1637: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, rzlib
rlib\rzlib.py:27: in <module>
[dict(prefix='zlib-'),
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
name = 'zlib'
eci = <ExternalCompilationInfo (pre_include_bits=(), includes=('zlib.h',), include_d...libraries=('zlib1',), use_cpp_linker=False, platform=<MsvcPlatform cc=cl.exe>)>
configurations = [{'prefix': 'zlib-'}, {}], symbol = None, _cache = {}
def configure_external_library(name, eci, configurations,
symbol=None, _cache={}):
"""try to find the external library.
On Unix, this simply tests and returns the given eci.
On Windows, various configurations may be tried to compile the
given eci object. These configurations are a list of dicts,
containing:
- prefix: if an absolute path, will prefix each include and
library directories. If a relative path, the external
directory is searched for directories which names start
with the prefix. The last one in alphabetical order
chosen, and becomes the prefix.
- include_dir: prefix + include_dir is added to the include directories
- library_dir: prefix + library_dir is added to the library directories
"""
if sys.platform != 'win32':
configurations = []
key = (name, eci)
try:
return _cache[key]
except KeyError:
last_error = None
# Always try the default configuration
if {} not in configurations:
configurations.append({})
for configuration in configurations:
prefix = configuration.get('prefix', '')
include_dir = configuration.get('include_dir', '')
library_dir = configuration.get('library_dir', '')
if prefix and not os.path.isabs(prefix):
import glob
entries = glob.glob(str(PYPY_EXTERNAL_DIR.join(prefix + '*')))
if entries:
# Get last version
prefix = sorted(entries)[-1]
else:
continue
include_dir = os.path.join(prefix, include_dir)
library_dir = os.path.join(prefix, library_dir)
eci_lib = ExternalCompilationInfo(
include_dirs=include_dir and [include_dir] or [],
library_dirs=library_dir and [library_dir] or [],
)
eci_lib = eci_lib.merge(eci)
# verify that this eci can be compiled
try:
verify_eci(eci_lib)
except CompilationError as e:
last_error = e
else:
_cache[key] = eci_lib
return eci_lib
# Nothing found
if last_error:
> raise last_error
E CompilationError: CompilationError(out="""
E """)
rtyper\tool\rffi_platform.py:846: CompilationError
ERROR at setup of TestMiniMarkGCMostCompact.test_framework_del_seeing_new_types
cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGCMostCompact'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator\c\test\test_newgc.py:84:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator\c\test\test_newgc.py:1637: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, rzlib
rlib\rzlib.py:27: in <module>
[dict(prefix='zlib-'),
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
name = 'zlib'
eci = <ExternalCompilationInfo (pre_include_bits=(), includes=('zlib.h',), include_d...libraries=('zlib1',), use_cpp_linker=False, platform=<MsvcPlatform cc=cl.exe>)>
configurations = [{'prefix': 'zlib-'}, {}], symbol = None, _cache = {}
def configure_external_library(name, eci, configurations,
symbol=None, _cache={}):
"""try to find the external library.
On Unix, this simply tests and returns the given eci.
On Windows, various configurations may be tried to compile the
given eci object. These configurations are a list of dicts,
containing:
- prefix: if an absolute path, will prefix each include and
library directories. If a relative path, the external
directory is searched for directories which names start
with the prefix. The last one in alphabetical order
chosen, and becomes the prefix.
- include_dir: prefix + include_dir is added to the include directories
- library_dir: prefix + library_dir is added to the library directories
"""
if sys.platform != 'win32':
configurations = []
key = (name, eci)
try:
return _cache[key]
except KeyError:
last_error = None
# Always try the default configuration
if {} not in configurations:
configurations.append({})
for configuration in configurations:
prefix = configuration.get('prefix', '')
include_dir = configuration.get('include_dir', '')
library_dir = configuration.get('library_dir', '')
if prefix and not os.path.isabs(prefix):
import glob
entries = glob.glob(str(PYPY_EXTERNAL_DIR.join(prefix + '*')))
if entries:
# Get last version
prefix = sorted(entries)[-1]
else:
continue
include_dir = os.path.join(prefix, include_dir)
library_dir = os.path.join(prefix, library_dir)
eci_lib = ExternalCompilationInfo(
include_dirs=include_dir and [include_dir] or [],
library_dirs=library_dir and [library_dir] or [],
)
eci_lib = eci_lib.merge(eci)
# verify that this eci can be compiled
try:
verify_eci(eci_lib)
except CompilationError as e:
last_error = e
else:
_cache[key] = eci_lib
return eci_lib
# Nothing found
if last_error:
> raise last_error
E CompilationError: CompilationError(out="""
E """)
rtyper\tool\rffi_platform.py:846: CompilationError
ERROR at setup of TestMiniMarkGCMostCompact.test_framework_late_filling_pointers
cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGCMostCompact'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator\c\test\test_newgc.py:84:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator\c\test\test_newgc.py:1637: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, rzlib
rlib\rzlib.py:27: in <module>
[dict(prefix='zlib-'),
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
name = 'zlib'
eci = <ExternalCompilationInfo (pre_include_bits=(), includes=('zlib.h',), include_d...libraries=('zlib1',), use_cpp_linker=False, platform=<MsvcPlatform cc=cl.exe>)>
configurations = [{'prefix': 'zlib-'}, {}], symbol = None, _cache = {}
def configure_external_library(name, eci, configurations,
symbol=None, _cache={}):
"""try to find the external library.
On Unix, this simply tests and returns the given eci.
On Windows, various configurations may be tried to compile the
given eci object. These configurations are a list of dicts,
containing:
- prefix: if an absolute path, will prefix each include and
library directories. If a relative path, the external
directory is searched for directories which names start
with the prefix. The last one in alphabetical order
chosen, and becomes the prefix.
- include_dir: prefix + include_dir is added to the include directories
- library_dir: prefix + library_dir is added to the library directories
"""
if sys.platform != 'win32':
configurations = []
key = (name, eci)
try:
return _cache[key]
except KeyError:
last_error = None
# Always try the default configuration
if {} not in configurations:
configurations.append({})
for configuration in configurations:
prefix = configuration.get('prefix', '')
include_dir = configuration.get('include_dir', '')
library_dir = configuration.get('library_dir', '')
if prefix and not os.path.isabs(prefix):
import glob
entries = glob.glob(str(PYPY_EXTERNAL_DIR.join(prefix + '*')))
if entries:
# Get last version
prefix = sorted(entries)[-1]
else:
continue
include_dir = os.path.join(prefix, include_dir)
library_dir = os.path.join(prefix, library_dir)
eci_lib = ExternalCompilationInfo(
include_dirs=include_dir and [include_dir] or [],
library_dirs=library_dir and [library_dir] or [],
)
eci_lib = eci_lib.merge(eci)
# verify that this eci can be compiled
try:
verify_eci(eci_lib)
except CompilationError as e:
last_error = e
else:
_cache[key] = eci_lib
return eci_lib
# Nothing found
if last_error:
> raise last_error
E CompilationError: CompilationError(out="""
E """)
rtyper\tool\rffi_platform.py:846: CompilationError
______ ERROR at setup of TestMiniMarkGCMostCompact.test_zero_raw_malloc _______
cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGCMostCompact'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator\c\test\test_newgc.py:84:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator\c\test\test_newgc.py:1637: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, rzlib
rlib\rzlib.py:27: in <module>
[dict(prefix='zlib-'),
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
name = 'zlib'
eci = <ExternalCompilationInfo (pre_include_bits=(), includes=('zlib.h',), include_d...libraries=('zlib1',), use_cpp_linker=False, platform=<MsvcPlatform cc=cl.exe>)>
configurations = [{'prefix': 'zlib-'}, {}], symbol = None, _cache = {}
def configure_external_library(name, eci, configurations,
symbol=None, _cache={}):
"""try to find the external library.
On Unix, this simply tests and returns the given eci.
On Windows, various configurations may be tried to compile the
given eci object. These configurations are a list of dicts,
containing:
- prefix: if an absolute path, will prefix each include and
library directories. If a relative path, the external
directory is searched for directories which names start
with the prefix. The last one in alphabetical order
chosen, and becomes the prefix.
- include_dir: prefix + include_dir is added to the include directories
- library_dir: prefix + library_dir is added to the library directories
"""
if sys.platform != 'win32':
configurations = []
key = (name, eci)
try:
return _cache[key]
except KeyError:
last_error = None
# Always try the default configuration
if {} not in configurations:
configurations.append({})
for configuration in configurations:
prefix = configuration.get('prefix', '')
include_dir = configuration.get('include_dir', '')
library_dir = configuration.get('library_dir', '')
if prefix and not os.path.isabs(prefix):
import glob
entries = glob.glob(str(PYPY_EXTERNAL_DIR.join(prefix + '*')))
if entries:
# Get last version
prefix = sorted(entries)[-1]
else:
continue
include_dir = os.path.join(prefix, include_dir)
library_dir = os.path.join(prefix, library_dir)
eci_lib = ExternalCompilationInfo(
include_dirs=include_dir and [include_dir] or [],
library_dirs=library_dir and [library_dir] or [],
)
eci_lib = eci_lib.merge(eci)
# verify that this eci can be compiled
try:
verify_eci(eci_lib)
except CompilationError as e:
last_error = e
else:
_cache[key] = eci_lib
return eci_lib
# Nothing found
if last_error:
> raise last_error
E CompilationError: CompilationError(out="""
E """)
rtyper\tool\rffi_platform.py:846: CompilationError
______ ERROR at setup of TestMiniMarkGCMostCompact.test_object_alignment ______
cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGCMostCompact'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator\c\test\test_newgc.py:84:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator\c\test\test_newgc.py:1637: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, rzlib
rlib\rzlib.py:27: in <module>
[dict(prefix='zlib-'),
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
name = 'zlib'
eci = <ExternalCompilationInfo (pre_include_bits=(), includes=('zlib.h',), include_d...libraries=('zlib1',), use_cpp_linker=False, platform=<MsvcPlatform cc=cl.exe>)>
configurations = [{'prefix': 'zlib-'}, {}], symbol = None, _cache = {}
def configure_external_library(name, eci, configurations,
symbol=None, _cache={}):
"""try to find the external library.
On Unix, this simply tests and returns the given eci.
On Windows, various configurations may be tried to compile the
given eci object. These configurations are a list of dicts,
containing:
- prefix: if an absolute path, will prefix each include and
library directories. If a relative path, the external
directory is searched for directories which names start
with the prefix. The last one in alphabetical order
chosen, and becomes the prefix.
- include_dir: prefix + include_dir is added to the include directories
- library_dir: prefix + library_dir is added to the library directories
"""
if sys.platform != 'win32':
configurations = []
key = (name, eci)
try:
return _cache[key]
except KeyError:
last_error = None
# Always try the default configuration
if {} not in configurations:
configurations.append({})
for configuration in configurations:
prefix = configuration.get('prefix', '')
include_dir = configuration.get('include_dir', '')
library_dir = configuration.get('library_dir', '')
if prefix and not os.path.isabs(prefix):
import glob
entries = glob.glob(str(PYPY_EXTERNAL_DIR.join(prefix + '*')))
if entries:
# Get last version
prefix = sorted(entries)[-1]
else:
continue
include_dir = os.path.join(prefix, include_dir)
library_dir = os.path.join(prefix, library_dir)
eci_lib = ExternalCompilationInfo(
include_dirs=include_dir and [include_dir] or [],
library_dirs=library_dir and [library_dir] or [],
)
eci_lib = eci_lib.merge(eci)
# verify that this eci can be compiled
try:
verify_eci(eci_lib)
except CompilationError as e:
last_error = e
else:
_cache[key] = eci_lib
return eci_lib
# Nothing found
if last_error:
> raise last_error
E CompilationError: CompilationError(out="""
E """)
rtyper\tool\rffi_platform.py:846: CompilationError
_________ ERROR at setup of TestMiniMarkGCMostCompact.test_void_list __________
cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGCMostCompact'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator\c\test\test_newgc.py:84:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator\c\test\test_newgc.py:1637: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, rzlib
rlib\rzlib.py:27: in <module>
[dict(prefix='zlib-'),
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
name = 'zlib'
eci = <ExternalCompilationInfo (pre_include_bits=(), includes=('zlib.h',), include_d...libraries=('zlib1',), use_cpp_linker=False, platform=<MsvcPlatform cc=cl.exe>)>
configurations = [{'prefix': 'zlib-'}, {}], symbol = None, _cache = {}
def configure_external_library(name, eci, configurations,
symbol=None, _cache={}):
"""try to find the external library.
On Unix, this simply tests and returns the given eci.
On Windows, various configurations may be tried to compile the
given eci object. These configurations are a list of dicts,
containing:
- prefix: if an absolute path, will prefix each include and
library directories. If a relative path, the external
directory is searched for directories which names start
with the prefix. The last one in alphabetical order
chosen, and becomes the prefix.
- include_dir: prefix + include_dir is added to the include directories
- library_dir: prefix + library_dir is added to the library directories
"""
if sys.platform != 'win32':
configurations = []
key = (name, eci)
try:
return _cache[key]
except KeyError:
last_error = None
# Always try the default configuration
if {} not in configurations:
configurations.append({})
for configuration in configurations:
prefix = configuration.get('prefix', '')
include_dir = configuration.get('include_dir', '')
library_dir = configuration.get('library_dir', '')
if prefix and not os.path.isabs(prefix):
import glob
entries = glob.glob(str(PYPY_EXTERNAL_DIR.join(prefix + '*')))
if entries:
# Get last version
prefix = sorted(entries)[-1]
else:
continue
include_dir = os.path.join(prefix, include_dir)
library_dir = os.path.join(prefix, library_dir)
eci_lib = ExternalCompilationInfo(
include_dirs=include_dir and [include_dir] or [],
library_dirs=library_dir and [library_dir] or [],
)
eci_lib = eci_lib.merge(eci)
# verify that this eci can be compiled
try:
verify_eci(eci_lib)
except CompilationError as e:
last_error = e
else:
_cache[key] = eci_lib
return eci_lib
# Nothing found
if last_error:
> raise last_error
E CompilationError: CompilationError(out="""
E """)
rtyper\tool\rffi_platform.py:846: CompilationError
_ ERROR at setup of TestMiniMarkGCMostCompact.test_open_read_write_seek_close _
cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGCMostCompact'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator\c\test\test_newgc.py:84:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator\c\test\test_newgc.py:1637: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, rzlib
rlib\rzlib.py:27: in <module>
[dict(prefix='zlib-'),
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
name = 'zlib'
eci = <ExternalCompilationInfo (pre_include_bits=(), includes=('zlib.h',), include_d...libraries=('zlib1',), use_cpp_linker=False, platform=<MsvcPlatform cc=cl.exe>)>
configurations = [{'prefix': 'zlib-'}, {}], symbol = None, _cache = {}
def configure_external_library(name, eci, configurations,
symbol=None, _cache={}):
"""try to find the external library.
On Unix, this simply tests and returns the given eci.
On Windows, various configurations may be tried to compile the
given eci object. These configurations are a list of dicts,
containing:
- prefix: if an absolute path, will prefix each include and
library directories. If a relative path, the external
directory is searched for directories which names start
with the prefix. The last one in alphabetical order
chosen, and becomes the prefix.
- include_dir: prefix + include_dir is added to the include directories
- library_dir: prefix + library_dir is added to the library directories
"""
if sys.platform != 'win32':
configurations = []
key = (name, eci)
try:
return _cache[key]
except KeyError:
last_error = None
# Always try the default configuration
if {} not in configurations:
configurations.append({})
for configuration in configurations:
prefix = configuration.get('prefix', '')
include_dir = configuration.get('include_dir', '')
library_dir = configuration.get('library_dir', '')
if prefix and not os.path.isabs(prefix):
import glob
entries = glob.glob(str(PYPY_EXTERNAL_DIR.join(prefix + '*')))
if entries:
# Get last version
prefix = sorted(entries)[-1]
else:
continue
include_dir = os.path.join(prefix, include_dir)
library_dir = os.path.join(prefix, library_dir)
eci_lib = ExternalCompilationInfo(
include_dirs=include_dir and [include_dir] or [],
library_dirs=library_dir and [library_dir] or [],
)
eci_lib = eci_lib.merge(eci)
# verify that this eci can be compiled
try:
verify_eci(eci_lib)
except CompilationError as e:
last_error = e
else:
_cache[key] = eci_lib
return eci_lib
# Nothing found
if last_error:
> raise last_error
E CompilationError: CompilationError(out="""
E """)
rtyper\tool\rffi_platform.py:846: CompilationError
___ ERROR at setup of TestMiniMarkGCMostCompact.test_callback_with_collect ____
cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGCMostCompact'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator\c\test\test_newgc.py:84:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator\c\test\test_newgc.py:1637: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, rzlib
rlib\rzlib.py:27: in <module>
[dict(prefix='zlib-'),
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
name = 'zlib'
eci = <ExternalCompilationInfo (pre_include_bits=(), includes=('zlib.h',), include_d...libraries=('zlib1',), use_cpp_linker=False, platform=<MsvcPlatform cc=cl.exe>)>
configurations = [{'prefix': 'zlib-'}, {}], symbol = None, _cache = {}
def configure_external_library(name, eci, configurations,
symbol=None, _cache={}):
"""try to find the external library.
On Unix, this simply tests and returns the given eci.
On Windows, various configurations may be tried to compile the
given eci object. These configurations are a list of dicts,
containing:
- prefix: if an absolute path, will prefix each include and
library directories. If a relative path, the external
directory is searched for directories which names start
with the prefix. The last one in alphabetical order
chosen, and becomes the prefix.
- include_dir: prefix + include_dir is added to the include directories
- library_dir: prefix + library_dir is added to the library directories
"""
if sys.platform != 'win32':
configurations = []
key = (name, eci)
try:
return _cache[key]
except KeyError:
last_error = None
# Always try the default configuration
if {} not in configurations:
configurations.append({})
for configuration in configurations:
prefix = configuration.get('prefix', '')
include_dir = configuration.get('include_dir', '')
library_dir = configuration.get('library_dir', '')
if prefix and not os.path.isabs(prefix):
import glob
entries = glob.glob(str(PYPY_EXTERNAL_DIR.join(prefix + '*')))
if entries:
# Get last version
prefix = sorted(entries)[-1]
else:
continue
include_dir = os.path.join(prefix, include_dir)
library_dir = os.path.join(prefix, library_dir)
eci_lib = ExternalCompilationInfo(
include_dirs=include_dir and [include_dir] or [],
library_dirs=library_dir and [library_dir] or [],
)
eci_lib = eci_lib.merge(eci)
# verify that this eci can be compiled
try:
verify_eci(eci_lib)
except CompilationError as e:
last_error = e
else:
_cache[key] = eci_lib
return eci_lib
# Nothing found
if last_error:
> raise last_error
E CompilationError: CompilationError(out="""
E """)
rtyper\tool\rffi_platform.py:846: CompilationError
__________ ERROR at setup of TestMiniMarkGCMostCompact.test_can_move __________
cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGCMostCompact'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator\c\test\test_newgc.py:84:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator\c\test\test_newgc.py:1637: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, rzlib
rlib\rzlib.py:27: in <module>
[dict(prefix='zlib-'),
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
name = 'zlib'
eci = <ExternalCompilationInfo (pre_include_bits=(), includes=('zlib.h',), include_d...libraries=('zlib1',), use_cpp_linker=False, platform=<MsvcPlatform cc=cl.exe>)>
configurations = [{'prefix': 'zlib-'}, {}], symbol = None, _cache = {}
def configure_external_library(name, eci, configurations,
symbol=None, _cache={}):
"""try to find the external library.
On Unix, this simply tests and returns the given eci.
On Windows, various configurations may be tried to compile the
given eci object. These configurations are a list of dicts,
containing:
- prefix: if an absolute path, will prefix each include and
library directories. If a relative path, the external
directory is searched for directories which names start
with the prefix. The last one in alphabetical order
chosen, and becomes the prefix.
- include_dir: prefix + include_dir is added to the include directories
- library_dir: prefix + library_dir is added to the library directories
"""
if sys.platform != 'win32':
configurations = []
key = (name, eci)
try:
return _cache[key]
except KeyError:
last_error = None
# Always try the default configuration
if {} not in configurations:
configurations.append({})
for configuration in configurations:
prefix = configuration.get('prefix', '')
include_dir = configuration.get('include_dir', '')
library_dir = configuration.get('library_dir', '')
if prefix and not os.path.isabs(prefix):
import glob
entries = glob.glob(str(PYPY_EXTERNAL_DIR.join(prefix + '*')))
if entries:
# Get last version
prefix = sorted(entries)[-1]
else:
continue
include_dir = os.path.join(prefix, include_dir)
library_dir = os.path.join(prefix, library_dir)
eci_lib = ExternalCompilationInfo(
include_dirs=include_dir and [include_dir] or [],
library_dirs=library_dir and [library_dir] or [],
)
eci_lib = eci_lib.merge(eci)
# verify that this eci can be compiled
try:
verify_eci(eci_lib)
except CompilationError as e:
last_error = e
else:
_cache[key] = eci_lib
return eci_lib
# Nothing found
if last_error:
> raise last_error
E CompilationError: CompilationError(out="""
E """)
rtyper\tool\rffi_platform.py:846: CompilationError
______ ERROR at setup of TestMiniMarkGCMostCompact.test_resizable_buffer ______
cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGCMostCompact'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator\c\test\test_newgc.py:84:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator\c\test\test_newgc.py:1637: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, rzlib
rlib\rzlib.py:27: in <module>
[dict(prefix='zlib-'),
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
name = 'zlib'
eci = <ExternalCompilationInfo (pre_include_bits=(), includes=('zlib.h',), include_d...libraries=('zlib1',), use_cpp_linker=False, platform=<MsvcPlatform cc=cl.exe>)>
configurations = [{'prefix': 'zlib-'}, {}], symbol = None, _cache = {}
def configure_external_library(name, eci, configurations,
symbol=None, _cache={}):
"""try to find the external library.
On Unix, this simply tests and returns the given eci.
On Windows, various configurations may be tried to compile the
given eci object. These configurations are a list of dicts,
containing:
- prefix: if an absolute path, will prefix each include and
library directories. If a relative path, the external
directory is searched for directories which names start
with the prefix. The last one in alphabetical order
chosen, and becomes the prefix.
- include_dir: prefix + include_dir is added to the include directories
- library_dir: prefix + library_dir is added to the library directories
"""
if sys.platform != 'win32':
configurations = []
key = (name, eci)
try:
return _cache[key]
except KeyError:
last_error = None
# Always try the default configuration
if {} not in configurations:
configurations.append({})
for configuration in configurations:
prefix = configuration.get('prefix', '')
include_dir = configuration.get('include_dir', '')
library_dir = configuration.get('library_dir', '')
if prefix and not os.path.isabs(prefix):
import glob
entries = glob.glob(str(PYPY_EXTERNAL_DIR.join(prefix + '*')))
if entries:
# Get last version
prefix = sorted(entries)[-1]
else:
continue
include_dir = os.path.join(prefix, include_dir)
library_dir = os.path.join(prefix, library_dir)
eci_lib = ExternalCompilationInfo(
include_dirs=include_dir and [include_dir] or [],
library_dirs=library_dir and [library_dir] or [],
)
eci_lib = eci_lib.merge(eci)
# verify that this eci can be compiled
try:
verify_eci(eci_lib)
except CompilationError as e:
last_error = e
else:
_cache[key] = eci_lib
return eci_lib
# Nothing found
if last_error:
> raise last_error
E CompilationError: CompilationError(out="""
E """)
rtyper\tool\rffi_platform.py:846: CompilationError
_____ ERROR at setup of TestMiniMarkGCMostCompact.test_hash_preservation ______
cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGCMostCompact'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator\c\test\test_newgc.py:84:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator\c\test\test_newgc.py:1637: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, rzlib
rlib\rzlib.py:27: in <module>
[dict(prefix='zlib-'),
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
name = 'zlib'
eci = <ExternalCompilationInfo (pre_include_bits=(), includes=('zlib.h',), include_d...libraries=('zlib1',), use_cpp_linker=False, platform=<MsvcPlatform cc=cl.exe>)>
configurations = [{'prefix': 'zlib-'}, {}], symbol = None, _cache = {}
def configure_external_library(name, eci, configurations,
symbol=None, _cache={}):
"""try to find the external library.
On Unix, this simply tests and returns the given eci.
On Windows, various configurations may be tried to compile the
given eci object. These configurations are a list of dicts,
containing:
- prefix: if an absolute path, will prefix each include and
library directories. If a relative path, the external
directory is searched for directories which names start
with the prefix. The last one in alphabetical order
chosen, and becomes the prefix.
- include_dir: prefix + include_dir is added to the include directories
- library_dir: prefix + library_dir is added to the library directories
"""
if sys.platform != 'win32':
configurations = []
key = (name, eci)
try:
return _cache[key]
except KeyError:
last_error = None
# Always try the default configuration
if {} not in configurations:
configurations.append({})
for configuration in configurations:
prefix = configuration.get('prefix', '')
include_dir = configuration.get('include_dir', '')
library_dir = configuration.get('library_dir', '')
if prefix and not os.path.isabs(prefix):
import glob
entries = glob.glob(str(PYPY_EXTERNAL_DIR.join(prefix + '*')))
if entries:
# Get last version
prefix = sorted(entries)[-1]
else:
continue
include_dir = os.path.join(prefix, include_dir)
library_dir = os.path.join(prefix, library_dir)
eci_lib = ExternalCompilationInfo(
include_dirs=include_dir and [include_dir] or [],
library_dirs=library_dir and [library_dir] or [],
)
eci_lib = eci_lib.merge(eci)
# verify that this eci can be compiled
try:
verify_eci(eci_lib)
except CompilationError as e:
last_error = e
else:
_cache[key] = eci_lib
return eci_lib
# Nothing found
if last_error:
> raise last_error
E CompilationError: CompilationError(out="""
E """)
rtyper\tool\rffi_platform.py:846: CompilationError
_______ ERROR at setup of TestMiniMarkGCMostCompact.test_hash_overflow ________
cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGCMostCompact'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator\c\test\test_newgc.py:84:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator\c\test\test_newgc.py:1637: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, rzlib
rlib\rzlib.py:27: in <module>
[dict(prefix='zlib-'),
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
name = 'zlib'
eci = <ExternalCompilationInfo (pre_include_bits=(), includes=('zlib.h',), include_d...libraries=('zlib1',), use_cpp_linker=False, platform=<MsvcPlatform cc=cl.exe>)>
configurations = [{'prefix': 'zlib-'}, {}], symbol = None, _cache = {}
def configure_external_library(name, eci, configurations,
symbol=None, _cache={}):
"""try to find the external library.
On Unix, this simply tests and returns the given eci.
On Windows, various configurations may be tried to compile the
given eci object. These configurations are a list of dicts,
containing:
- prefix: if an absolute path, will prefix each include and
library directories. If a relative path, the external
directory is searched for directories which names start
with the prefix. The last one in alphabetical order
chosen, and becomes the prefix.
- include_dir: prefix + include_dir is added to the include directories
- library_dir: prefix + library_dir is added to the library directories
"""
if sys.platform != 'win32':
configurations = []
key = (name, eci)
try:
return _cache[key]
except KeyError:
last_error = None
# Always try the default configuration
if {} not in configurations:
configurations.append({})
for configuration in configurations:
prefix = configuration.get('prefix', '')
include_dir = configuration.get('include_dir', '')
library_dir = configuration.get('library_dir', '')
if prefix and not os.path.isabs(prefix):
import glob
entries = glob.glob(str(PYPY_EXTERNAL_DIR.join(prefix + '*')))
if entries:
# Get last version
prefix = sorted(entries)[-1]
else:
continue
include_dir = os.path.join(prefix, include_dir)
library_dir = os.path.join(prefix, library_dir)
eci_lib = ExternalCompilationInfo(
include_dirs=include_dir and [include_dir] or [],
library_dirs=library_dir and [library_dir] or [],
)
eci_lib = eci_lib.merge(eci)
# verify that this eci can be compiled
try:
verify_eci(eci_lib)
except CompilationError as e:
last_error = e
else:
_cache[key] = eci_lib
return eci_lib
# Nothing found
if last_error:
> raise last_error
E CompilationError: CompilationError(out="""
E """)
rtyper\tool\rffi_platform.py:846: CompilationError
_______ ERROR at setup of TestMiniMarkGCMostCompact.test_hash_varsized ________
cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGCMostCompact'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator\c\test\test_newgc.py:84:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator\c\test\test_newgc.py:1637: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, rzlib
rlib\rzlib.py:27: in <module>
[dict(prefix='zlib-'),
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
name = 'zlib'
eci = <ExternalCompilationInfo (pre_include_bits=(), includes=('zlib.h',), include_d...libraries=('zlib1',), use_cpp_linker=False, platform=<MsvcPlatform cc=cl.exe>)>
configurations = [{'prefix': 'zlib-'}, {}], symbol = None, _cache = {}
def configure_external_library(name, eci, configurations,
symbol=None, _cache={}):
"""try to find the external library.
On Unix, this simply tests and returns the given eci.
On Windows, various configurations may be tried to compile the
given eci object. These configurations are a list of dicts,
containing:
- prefix: if an absolute path, will prefix each include and
library directories. If a relative path, the external
directory is searched for directories which names start
with the prefix. The last one in alphabetical order
chosen, and becomes the prefix.
- include_dir: prefix + include_dir is added to the include directories
- library_dir: prefix + library_dir is added to the library directories
"""
if sys.platform != 'win32':
configurations = []
key = (name, eci)
try:
return _cache[key]
except KeyError:
last_error = None
# Always try the default configuration
if {} not in configurations:
configurations.append({})
for configuration in configurations:
prefix = configuration.get('prefix', '')
include_dir = configuration.get('include_dir', '')
library_dir = configuration.get('library_dir', '')
if prefix and not os.path.isabs(prefix):
import glob
entries = glob.glob(str(PYPY_EXTERNAL_DIR.join(prefix + '*')))
if entries:
# Get last version
prefix = sorted(entries)[-1]
else:
continue
include_dir = os.path.join(prefix, include_dir)
library_dir = os.path.join(prefix, library_dir)
eci_lib = ExternalCompilationInfo(
include_dirs=include_dir and [include_dir] or [],
library_dirs=library_dir and [library_dir] or [],
)
eci_lib = eci_lib.merge(eci)
# verify that this eci can be compiled
try:
verify_eci(eci_lib)
except CompilationError as e:
last_error = e
else:
_cache[key] = eci_lib
return eci_lib
# Nothing found
if last_error:
> raise last_error
E CompilationError: CompilationError(out="""
E """)
rtyper\tool\rffi_platform.py:846: CompilationError
_ ERROR at setup of TestMiniMarkGCMostCompact.test_arraycopy_writebarrier_int _
cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGCMostCompact'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator\c\test\test_newgc.py:84:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator\c\test\test_newgc.py:1637: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, rzlib
rlib\rzlib.py:27: in <module>
[dict(prefix='zlib-'),
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
name = 'zlib'
eci = <ExternalCompilationInfo (pre_include_bits=(), includes=('zlib.h',), include_d...libraries=('zlib1',), use_cpp_linker=False, platform=<MsvcPlatform cc=cl.exe>)>
configurations = [{'prefix': 'zlib-'}, {}], symbol = None, _cache = {}
def configure_external_library(name, eci, configurations,
symbol=None, _cache={}):
"""try to find the external library.
On Unix, this simply tests and returns the given eci.
On Windows, various configurations may be tried to compile the
given eci object. These configurations are a list of dicts,
containing:
- prefix: if an absolute path, will prefix each include and
library directories. If a relative path, the external
directory is searched for directories which names start
with the prefix. The last one in alphabetical order
chosen, and becomes the prefix.
- include_dir: prefix + include_dir is added to the include directories
- library_dir: prefix + library_dir is added to the library directories
"""
if sys.platform != 'win32':
configurations = []
key = (name, eci)
try:
return _cache[key]
except KeyError:
last_error = None
# Always try the default configuration
if {} not in configurations:
configurations.append({})
for configuration in configurations:
prefix = configuration.get('prefix', '')
include_dir = configuration.get('include_dir', '')
library_dir = configuration.get('library_dir', '')
if prefix and not os.path.isabs(prefix):
import glob
entries = glob.glob(str(PYPY_EXTERNAL_DIR.join(prefix + '*')))
if entries:
# Get last version
prefix = sorted(entries)[-1]
else:
continue
include_dir = os.path.join(prefix, include_dir)
library_dir = os.path.join(prefix, library_dir)
eci_lib = ExternalCompilationInfo(
include_dirs=include_dir and [include_dir] or [],
library_dirs=library_dir and [library_dir] or [],
)
eci_lib = eci_lib.merge(eci)
# verify that this eci can be compiled
try:
verify_eci(eci_lib)
except CompilationError as e:
last_error = e
else:
_cache[key] = eci_lib
return eci_lib
# Nothing found
if last_error:
> raise last_error
E CompilationError: CompilationError(out="""
E """)
rtyper\tool\rffi_platform.py:846: CompilationError
_ ERROR at setup of TestMiniMarkGCMostCompact.test_arraycopy_writebarrier_ptr _
cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGCMostCompact'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator\c\test\test_newgc.py:84:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator\c\test\test_newgc.py:1637: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, rzlib
rlib\rzlib.py:27: in <module>
[dict(prefix='zlib-'),
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
name = 'zlib'
eci = <ExternalCompilationInfo (pre_include_bits=(), includes=('zlib.h',), include_d...libraries=('zlib1',), use_cpp_linker=False, platform=<MsvcPlatform cc=cl.exe>)>
configurations = [{'prefix': 'zlib-'}, {}], symbol = None, _cache = {}
def configure_external_library(name, eci, configurations,
symbol=None, _cache={}):
"""try to find the external library.
On Unix, this simply tests and returns the given eci.
On Windows, various configurations may be tried to compile the
given eci object. These configurations are a list of dicts,
containing:
- prefix: if an absolute path, will prefix each include and
library directories. If a relative path, the external
directory is searched for directories which names start
with the prefix. The last one in alphabetical order
chosen, and becomes the prefix.
- include_dir: prefix + include_dir is added to the include directories
- library_dir: prefix + library_dir is added to the library directories
"""
if sys.platform != 'win32':
configurations = []
key = (name, eci)
try:
return _cache[key]
except KeyError:
last_error = None
# Always try the default configuration
if {} not in configurations:
configurations.append({})
for configuration in configurations:
prefix = configuration.get('prefix', '')
include_dir = configuration.get('include_dir', '')
library_dir = configuration.get('library_dir', '')
if prefix and not os.path.isabs(prefix):
import glob
entries = glob.glob(str(PYPY_EXTERNAL_DIR.join(prefix + '*')))
if entries:
# Get last version
prefix = sorted(entries)[-1]
else:
continue
include_dir = os.path.join(prefix, include_dir)
library_dir = os.path.join(prefix, library_dir)
eci_lib = ExternalCompilationInfo(
include_dirs=include_dir and [include_dir] or [],
library_dirs=library_dir and [library_dir] or [],
)
eci_lib = eci_lib.merge(eci)
# verify that this eci can be compiled
try:
verify_eci(eci_lib)
except CompilationError as e:
last_error = e
else:
_cache[key] = eci_lib
return eci_lib
# Nothing found
if last_error:
> raise last_error
E CompilationError: CompilationError(out="""
E """)
rtyper\tool\rffi_platform.py:846: CompilationError
_______ ERROR at setup of TestMiniMarkGCMostCompact.test_get_rpy_roots ________
cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGCMostCompact'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator\c\test\test_newgc.py:84:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator\c\test\test_newgc.py:1637: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, rzlib
rlib\rzlib.py:27: in <module>
[dict(prefix='zlib-'),
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
name = 'zlib'
eci = <ExternalCompilationInfo (pre_include_bits=(), includes=('zlib.h',), include_d...libraries=('zlib1',), use_cpp_linker=False, platform=<MsvcPlatform cc=cl.exe>)>
configurations = [{'prefix': 'zlib-'}, {}], symbol = None, _cache = {}
def configure_external_library(name, eci, configurations,
symbol=None, _cache={}):
"""try to find the external library.
On Unix, this simply tests and returns the given eci.
On Windows, various configurations may be tried to compile the
given eci object. These configurations are a list of dicts,
containing:
- prefix: if an absolute path, will prefix each include and
library directories. If a relative path, the external
directory is searched for directories which names start
with the prefix. The last one in alphabetical order
chosen, and becomes the prefix.
- include_dir: prefix + include_dir is added to the include directories
- library_dir: prefix + library_dir is added to the library directories
"""
if sys.platform != 'win32':
configurations = []
key = (name, eci)
try:
return _cache[key]
except KeyError:
last_error = None
# Always try the default configuration
if {} not in configurations:
configurations.append({})
for configuration in configurations:
prefix = configuration.get('prefix', '')
include_dir = configuration.get('include_dir', '')
library_dir = configuration.get('library_dir', '')
if prefix and not os.path.isabs(prefix):
import glob
entries = glob.glob(str(PYPY_EXTERNAL_DIR.join(prefix + '*')))
if entries:
# Get last version
prefix = sorted(entries)[-1]
else:
continue
include_dir = os.path.join(prefix, include_dir)
library_dir = os.path.join(prefix, library_dir)
eci_lib = ExternalCompilationInfo(
include_dirs=include_dir and [include_dir] or [],
library_dirs=library_dir and [library_dir] or [],
)
eci_lib = eci_lib.merge(eci)
# verify that this eci can be compiled
try:
verify_eci(eci_lib)
except CompilationError as e:
last_error = e
else:
_cache[key] = eci_lib
return eci_lib
# Nothing found
if last_error:
> raise last_error
E CompilationError: CompilationError(out="""
E """)
rtyper\tool\rffi_platform.py:846: CompilationError
_____ ERROR at setup of TestMiniMarkGCMostCompact.test_get_rpy_referents ______
cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGCMostCompact'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator\c\test\test_newgc.py:84:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator\c\test\test_newgc.py:1637: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, rzlib
rlib\rzlib.py:27: in <module>
[dict(prefix='zlib-'),
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
name = 'zlib'
eci = <ExternalCompilationInfo (pre_include_bits=(), includes=('zlib.h',), include_d...libraries=('zlib1',), use_cpp_linker=False, platform=<MsvcPlatform cc=cl.exe>)>
configurations = [{'prefix': 'zlib-'}, {}], symbol = None, _cache = {}
def configure_external_library(name, eci, configurations,
symbol=None, _cache={}):
"""try to find the external library.
On Unix, this simply tests and returns the given eci.
On Windows, various configurations may be tried to compile the
given eci object. These configurations are a list of dicts,
containing:
- prefix: if an absolute path, will prefix each include and
library directories. If a relative path, the external
directory is searched for directories which names start
with the prefix. The last one in alphabetical order
chosen, and becomes the prefix.
- include_dir: prefix + include_dir is added to the include directories
- library_dir: prefix + library_dir is added to the library directories
"""
if sys.platform != 'win32':
configurations = []
key = (name, eci)
try:
return _cache[key]
except KeyError:
last_error = None
# Always try the default configuration
if {} not in configurations:
configurations.append({})
for configuration in configurations:
prefix = configuration.get('prefix', '')
include_dir = configuration.get('include_dir', '')
library_dir = configuration.get('library_dir', '')
if prefix and not os.path.isabs(prefix):
import glob
entries = glob.glob(str(PYPY_EXTERNAL_DIR.join(prefix + '*')))
if entries:
# Get last version
prefix = sorted(entries)[-1]
else:
continue
include_dir = os.path.join(prefix, include_dir)
library_dir = os.path.join(prefix, library_dir)
eci_lib = ExternalCompilationInfo(
include_dirs=include_dir and [include_dir] or [],
library_dirs=library_dir and [library_dir] or [],
)
eci_lib = eci_lib.merge(eci)
# verify that this eci can be compiled
try:
verify_eci(eci_lib)
except CompilationError as e:
last_error = e
else:
_cache[key] = eci_lib
return eci_lib
# Nothing found
if last_error:
> raise last_error
E CompilationError: CompilationError(out="""
E """)
rtyper\tool\rffi_platform.py:846: CompilationError
______ ERROR at setup of TestMiniMarkGCMostCompact.test_is_rpy_instance _______
cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGCMostCompact'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator\c\test\test_newgc.py:84:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator\c\test\test_newgc.py:1637: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, rzlib
rlib\rzlib.py:27: in <module>
[dict(prefix='zlib-'),
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
name = 'zlib'
eci = <ExternalCompilationInfo (pre_include_bits=(), includes=('zlib.h',), include_d...libraries=('zlib1',), use_cpp_linker=False, platform=<MsvcPlatform cc=cl.exe>)>
configurations = [{'prefix': 'zlib-'}, {}], symbol = None, _cache = {}
def configure_external_library(name, eci, configurations,
symbol=None, _cache={}):
"""try to find the external library.
On Unix, this simply tests and returns the given eci.
On Windows, various configurations may be tried to compile the
given eci object. These configurations are a list of dicts,
containing:
- prefix: if an absolute path, will prefix each include and
library directories. If a relative path, the external
directory is searched for directories which names start
with the prefix. The last one in alphabetical order
chosen, and becomes the prefix.
- include_dir: prefix + include_dir is added to the include directories
- library_dir: prefix + library_dir is added to the library directories
"""
if sys.platform != 'win32':
configurations = []
key = (name, eci)
try:
return _cache[key]
except KeyError:
last_error = None
# Always try the default configuration
if {} not in configurations:
configurations.append({})
for configuration in configurations:
prefix = configuration.get('prefix', '')
include_dir = configuration.get('include_dir', '')
library_dir = configuration.get('library_dir', '')
if prefix and not os.path.isabs(prefix):
import glob
entries = glob.glob(str(PYPY_EXTERNAL_DIR.join(prefix + '*')))
if entries:
# Get last version
prefix = sorted(entries)[-1]
else:
continue
include_dir = os.path.join(prefix, include_dir)
library_dir = os.path.join(prefix, library_dir)
eci_lib = ExternalCompilationInfo(
include_dirs=include_dir and [include_dir] or [],
library_dirs=library_dir and [library_dir] or [],
)
eci_lib = eci_lib.merge(eci)
# verify that this eci can be compiled
try:
verify_eci(eci_lib)
except CompilationError as e:
last_error = e
else:
_cache[key] = eci_lib
return eci_lib
# Nothing found
if last_error:
> raise last_error
E CompilationError: CompilationError(out="""
E """)
rtyper\tool\rffi_platform.py:846: CompilationError
_ ERROR at setup of TestMiniMarkGCMostCompact.test_try_cast_gcref_to_instance _
cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGCMostCompact'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator\c\test\test_newgc.py:84:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator\c\test\test_newgc.py:1637: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, rzlib
rlib\rzlib.py:27: in <module>
[dict(prefix='zlib-'),
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
name = 'zlib'
eci = <ExternalCompilationInfo (pre_include_bits=(), includes=('zlib.h',), include_d...libraries=('zlib1',), use_cpp_linker=False, platform=<MsvcPlatform cc=cl.exe>)>
configurations = [{'prefix': 'zlib-'}, {}], symbol = None, _cache = {}
def configure_external_library(name, eci, configurations,
symbol=None, _cache={}):
"""try to find the external library.
On Unix, this simply tests and returns the given eci.
On Windows, various configurations may be tried to compile the
given eci object. These configurations are a list of dicts,
containing:
- prefix: if an absolute path, will prefix each include and
library directories. If a relative path, the external
directory is searched for directories which names start
with the prefix. The last one in alphabetical order
chosen, and becomes the prefix.
- include_dir: prefix + include_dir is added to the include directories
- library_dir: prefix + library_dir is added to the library directories
"""
if sys.platform != 'win32':
configurations = []
key = (name, eci)
try:
return _cache[key]
except KeyError:
last_error = None
# Always try the default configuration
if {} not in configurations:
configurations.append({})
for configuration in configurations:
prefix = configuration.get('prefix', '')
include_dir = configuration.get('include_dir', '')
library_dir = configuration.get('library_dir', '')
if prefix and not os.path.isabs(prefix):
import glob
entries = glob.glob(str(PYPY_EXTERNAL_DIR.join(prefix + '*')))
if entries:
# Get last version
prefix = sorted(entries)[-1]
else:
continue
include_dir = os.path.join(prefix, include_dir)
library_dir = os.path.join(prefix, library_dir)
eci_lib = ExternalCompilationInfo(
include_dirs=include_dir and [include_dir] or [],
library_dirs=library_dir and [library_dir] or [],
)
eci_lib = eci_lib.merge(eci)
# verify that this eci can be compiled
try:
verify_eci(eci_lib)
except CompilationError as e:
last_error = e
else:
_cache[key] = eci_lib
return eci_lib
# Nothing found
if last_error:
> raise last_error
E CompilationError: CompilationError(out="""
E """)
rtyper\tool\rffi_platform.py:846: CompilationError
____ ERROR at setup of TestMiniMarkGCMostCompact.test_get_rpy_memory_usage ____
cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGCMostCompact'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator\c\test\test_newgc.py:84:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator\c\test\test_newgc.py:1637: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, rzlib
rlib\rzlib.py:27: in <module>
[dict(prefix='zlib-'),
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
name = 'zlib'
eci = <ExternalCompilationInfo (pre_include_bits=(), includes=('zlib.h',), include_d...libraries=('zlib1',), use_cpp_linker=False, platform=<MsvcPlatform cc=cl.exe>)>
configurations = [{'prefix': 'zlib-'}, {}], symbol = None, _cache = {}
def configure_external_library(name, eci, configurations,
symbol=None, _cache={}):
"""try to find the external library.
On Unix, this simply tests and returns the given eci.
On Windows, various configurations may be tried to compile the
given eci object. These configurations are a list of dicts,
containing:
- prefix: if an absolute path, will prefix each include and
library directories. If a relative path, the external
directory is searched for directories which names start
with the prefix. The last one in alphabetical order
chosen, and becomes the prefix.
- include_dir: prefix + include_dir is added to the include directories
- library_dir: prefix + library_dir is added to the library directories
"""
if sys.platform != 'win32':
configurations = []
key = (name, eci)
try:
return _cache[key]
except KeyError:
last_error = None
# Always try the default configuration
if {} not in configurations:
configurations.append({})
for configuration in configurations:
prefix = configuration.get('prefix', '')
include_dir = configuration.get('include_dir', '')
library_dir = configuration.get('library_dir', '')
if prefix and not os.path.isabs(prefix):
import glob
entries = glob.glob(str(PYPY_EXTERNAL_DIR.join(prefix + '*')))
if entries:
# Get last version
prefix = sorted(entries)[-1]
else:
continue
include_dir = os.path.join(prefix, include_dir)
library_dir = os.path.join(prefix, library_dir)
eci_lib = ExternalCompilationInfo(
include_dirs=include_dir and [include_dir] or [],
library_dirs=library_dir and [library_dir] or [],
)
eci_lib = eci_lib.merge(eci)
# verify that this eci can be compiled
try:
verify_eci(eci_lib)
except CompilationError as e:
last_error = e
else:
_cache[key] = eci_lib
return eci_lib
# Nothing found
if last_error:
> raise last_error
E CompilationError: CompilationError(out="""
E """)
rtyper\tool\rffi_platform.py:846: CompilationError
_____ ERROR at setup of TestMiniMarkGCMostCompact.test_get_rpy_type_index _____
cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGCMostCompact'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator\c\test\test_newgc.py:84:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator\c\test\test_newgc.py:1637: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, rzlib
rlib\rzlib.py:27: in <module>
[dict(prefix='zlib-'),
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
name = 'zlib'
eci = <ExternalCompilationInfo (pre_include_bits=(), includes=('zlib.h',), include_d...libraries=('zlib1',), use_cpp_linker=False, platform=<MsvcPlatform cc=cl.exe>)>
configurations = [{'prefix': 'zlib-'}, {}], symbol = None, _cache = {}
def configure_external_library(name, eci, configurations,
symbol=None, _cache={}):
"""try to find the external library.
On Unix, this simply tests and returns the given eci.
On Windows, various configurations may be tried to compile the
given eci object. These configurations are a list of dicts,
containing:
- prefix: if an absolute path, will prefix each include and
library directories. If a relative path, the external
directory is searched for directories which names start
with the prefix. The last one in alphabetical order
chosen, and becomes the prefix.
- include_dir: prefix + include_dir is added to the include directories
- library_dir: prefix + library_dir is added to the library directories
"""
if sys.platform != 'win32':
configurations = []
key = (name, eci)
try:
return _cache[key]
except KeyError:
last_error = None
# Always try the default configuration
if {} not in configurations:
configurations.append({})
for configuration in configurations:
prefix = configuration.get('prefix', '')
include_dir = configuration.get('include_dir', '')
library_dir = configuration.get('library_dir', '')
if prefix and not os.path.isabs(prefix):
import glob
entries = glob.glob(str(PYPY_EXTERNAL_DIR.join(prefix + '*')))
if entries:
# Get last version
prefix = sorted(entries)[-1]
else:
continue
include_dir = os.path.join(prefix, include_dir)
library_dir = os.path.join(prefix, library_dir)
eci_lib = ExternalCompilationInfo(
include_dirs=include_dir and [include_dir] or [],
library_dirs=library_dir and [library_dir] or [],
)
eci_lib = eci_lib.merge(eci)
# verify that this eci can be compiled
try:
verify_eci(eci_lib)
except CompilationError as e:
last_error = e
else:
_cache[key] = eci_lib
return eci_lib
# Nothing found
if last_error:
> raise last_error
E CompilationError: CompilationError(out="""
E """)
rtyper\tool\rffi_platform.py:846: CompilationError
_______ ERROR at setup of TestMiniMarkGCMostCompact.test_dump_rpy_heap ________
cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGCMostCompact'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator\c\test\test_newgc.py:84:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator\c\test\test_newgc.py:1637: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, rzlib
rlib\rzlib.py:27: in <module>
[dict(prefix='zlib-'),
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
name = 'zlib'
eci = <ExternalCompilationInfo (pre_include_bits=(), includes=('zlib.h',), include_d...libraries=('zlib1',), use_cpp_linker=False, platform=<MsvcPlatform cc=cl.exe>)>
configurations = [{'prefix': 'zlib-'}, {}], symbol = None, _cache = {}
def configure_external_library(name, eci, configurations,
symbol=None, _cache={}):
"""try to find the external library.
On Unix, this simply tests and returns the given eci.
On Windows, various configurations may be tried to compile the
given eci object. These configurations are a list of dicts,
containing:
- prefix: if an absolute path, will prefix each include and
library directories. If a relative path, the external
directory is searched for directories which names start
with the prefix. The last one in alphabetical order
chosen, and becomes the prefix.
- include_dir: prefix + include_dir is added to the include directories
- library_dir: prefix + library_dir is added to the library directories
"""
if sys.platform != 'win32':
configurations = []
key = (name, eci)
try:
return _cache[key]
except KeyError:
last_error = None
# Always try the default configuration
if {} not in configurations:
configurations.append({})
for configuration in configurations:
prefix = configuration.get('prefix', '')
include_dir = configuration.get('include_dir', '')
library_dir = configuration.get('library_dir', '')
if prefix and not os.path.isabs(prefix):
import glob
entries = glob.glob(str(PYPY_EXTERNAL_DIR.join(prefix + '*')))
if entries:
# Get last version
prefix = sorted(entries)[-1]
else:
continue
include_dir = os.path.join(prefix, include_dir)
library_dir = os.path.join(prefix, library_dir)
eci_lib = ExternalCompilationInfo(
include_dirs=include_dir and [include_dir] or [],
library_dirs=library_dir and [library_dir] or [],
)
eci_lib = eci_lib.merge(eci)
# verify that this eci can be compiled
try:
verify_eci(eci_lib)
except CompilationError as e:
last_error = e
else:
_cache[key] = eci_lib
return eci_lib
# Nothing found
if last_error:
> raise last_error
E CompilationError: CompilationError(out="""
E """)
rtyper\tool\rffi_platform.py:846: CompilationError
______ ERROR at setup of TestMiniMarkGCMostCompact.test_write_typeids_z _______
cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGCMostCompact'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator\c\test\test_newgc.py:84:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator\c\test\test_newgc.py:1637: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, rzlib
rlib\rzlib.py:27: in <module>
[dict(prefix='zlib-'),
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
name = 'zlib'
eci = <ExternalCompilationInfo (pre_include_bits=(), includes=('zlib.h',), include_d...libraries=('zlib1',), use_cpp_linker=False, platform=<MsvcPlatform cc=cl.exe>)>
configurations = [{'prefix': 'zlib-'}, {}], symbol = None, _cache = {}
def configure_external_library(name, eci, configurations,
symbol=None, _cache={}):
"""try to find the external library.
On Unix, this simply tests and returns the given eci.
On Windows, various configurations may be tried to compile the
given eci object. These configurations are a list of dicts,
containing:
- prefix: if an absolute path, will prefix each include and
library directories. If a relative path, the external
directory is searched for directories which names start
with the prefix. The last one in alphabetical order
chosen, and becomes the prefix.
- include_dir: prefix + include_dir is added to the include directories
- library_dir: prefix + library_dir is added to the library directories
"""
if sys.platform != 'win32':
configurations = []
key = (name, eci)
try:
return _cache[key]
except KeyError:
last_error = None
# Always try the default configuration
if {} not in configurations:
configurations.append({})
for configuration in configurations:
prefix = configuration.get('prefix', '')
include_dir = configuration.get('include_dir', '')
library_dir = configuration.get('library_dir', '')
if prefix and not os.path.isabs(prefix):
import glob
entries = glob.glob(str(PYPY_EXTERNAL_DIR.join(prefix + '*')))
if entries:
# Get last version
prefix = sorted(entries)[-1]
else:
continue
include_dir = os.path.join(prefix, include_dir)
library_dir = os.path.join(prefix, library_dir)
eci_lib = ExternalCompilationInfo(
include_dirs=include_dir and [include_dir] or [],
library_dirs=library_dir and [library_dir] or [],
)
eci_lib = eci_lib.merge(eci)
# verify that this eci can be compiled
try:
verify_eci(eci_lib)
except CompilationError as e:
last_error = e
else:
_cache[key] = eci_lib
return eci_lib
# Nothing found
if last_error:
> raise last_error
E CompilationError: CompilationError(out="""
E """)
rtyper\tool\rffi_platform.py:846: CompilationError
________ ERROR at setup of TestMiniMarkGCMostCompact.test_gcflag_extra ________
cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGCMostCompact'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator\c\test\test_newgc.py:84:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator\c\test\test_newgc.py:1637: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, rzlib
rlib\rzlib.py:27: in <module>
[dict(prefix='zlib-'),
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
name = 'zlib'
eci = <ExternalCompilationInfo (pre_include_bits=(), includes=('zlib.h',), include_d...libraries=('zlib1',), use_cpp_linker=False, platform=<MsvcPlatform cc=cl.exe>)>
configurations = [{'prefix': 'zlib-'}, {}], symbol = None, _cache = {}
def configure_external_library(name, eci, configurations,
symbol=None, _cache={}):
"""try to find the external library.
On Unix, this simply tests and returns the given eci.
On Windows, various configurations may be tried to compile the
given eci object. These configurations are a list of dicts,
containing:
- prefix: if an absolute path, will prefix each include and
library directories. If a relative path, the external
directory is searched for directories which names start
with the prefix. The last one in alphabetical order
chosen, and becomes the prefix.
- include_dir: prefix + include_dir is added to the include directories
- library_dir: prefix + library_dir is added to the library directories
"""
if sys.platform != 'win32':
configurations = []
key = (name, eci)
try:
return _cache[key]
except KeyError:
last_error = None
# Always try the default configuration
if {} not in configurations:
configurations.append({})
for configuration in configurations:
prefix = configuration.get('prefix', '')
include_dir = configuration.get('include_dir', '')
library_dir = configuration.get('library_dir', '')
if prefix and not os.path.isabs(prefix):
import glob
entries = glob.glob(str(PYPY_EXTERNAL_DIR.join(prefix + '*')))
if entries:
# Get last version
prefix = sorted(entries)[-1]
else:
continue
include_dir = os.path.join(prefix, include_dir)
library_dir = os.path.join(prefix, library_dir)
eci_lib = ExternalCompilationInfo(
include_dirs=include_dir and [include_dir] or [],
library_dirs=library_dir and [library_dir] or [],
)
eci_lib = eci_lib.merge(eci)
# verify that this eci can be compiled
try:
verify_eci(eci_lib)
except CompilationError as e:
last_error = e
else:
_cache[key] = eci_lib
return eci_lib
# Nothing found
if last_error:
> raise last_error
E CompilationError: CompilationError(out="""
E """)
rtyper\tool\rffi_platform.py:846: CompilationError
______ ERROR at setup of TestMiniMarkGCMostCompact.test_check_zero_works ______
cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGCMostCompact'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator\c\test\test_newgc.py:84:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator\c\test\test_newgc.py:1637: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, rzlib
rlib\rzlib.py:27: in <module>
[dict(prefix='zlib-'),
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
name = 'zlib'
eci = <ExternalCompilationInfo (pre_include_bits=(), includes=('zlib.h',), include_d...libraries=('zlib1',), use_cpp_linker=False, platform=<MsvcPlatform cc=cl.exe>)>
configurations = [{'prefix': 'zlib-'}, {}], symbol = None, _cache = {}
def configure_external_library(name, eci, configurations,
symbol=None, _cache={}):
"""try to find the external library.
On Unix, this simply tests and returns the given eci.
On Windows, various configurations may be tried to compile the
given eci object. These configurations are a list of dicts,
containing:
- prefix: if an absolute path, will prefix each include and
library directories. If a relative path, the external
directory is searched for directories which names start
with the prefix. The last one in alphabetical order
chosen, and becomes the prefix.
- include_dir: prefix + include_dir is added to the include directories
- library_dir: prefix + library_dir is added to the library directories
"""
if sys.platform != 'win32':
configurations = []
key = (name, eci)
try:
return _cache[key]
except KeyError:
last_error = None
# Always try the default configuration
if {} not in configurations:
configurations.append({})
for configuration in configurations:
prefix = configuration.get('prefix', '')
include_dir = configuration.get('include_dir', '')
library_dir = configuration.get('library_dir', '')
if prefix and not os.path.isabs(prefix):
import glob
entries = glob.glob(str(PYPY_EXTERNAL_DIR.join(prefix + '*')))
if entries:
# Get last version
prefix = sorted(entries)[-1]
else:
continue
include_dir = os.path.join(prefix, include_dir)
library_dir = os.path.join(prefix, library_dir)
eci_lib = ExternalCompilationInfo(
include_dirs=include_dir and [include_dir] or [],
library_dirs=library_dir and [library_dir] or [],
)
eci_lib = eci_lib.merge(eci)
# verify that this eci can be compiled
try:
verify_eci(eci_lib)
except CompilationError as e:
last_error = e
else:
_cache[key] = eci_lib
return eci_lib
# Nothing found
if last_error:
> raise last_error
E CompilationError: CompilationError(out="""
E """)
rtyper\tool\rffi_platform.py:846: CompilationError
__ ERROR at setup of TestMiniMarkGCMostCompact.test_long_chain_of_instances ___
cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGCMostCompact'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator\c\test\test_newgc.py:84:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator\c\test\test_newgc.py:1637: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, rzlib
rlib\rzlib.py:27: in <module>
[dict(prefix='zlib-'),
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
name = 'zlib'
eci = <ExternalCompilationInfo (pre_include_bits=(), includes=('zlib.h',), include_d...libraries=('zlib1',), use_cpp_linker=False, platform=<MsvcPlatform cc=cl.exe>)>
configurations = [{'prefix': 'zlib-'}, {}], symbol = None, _cache = {}
def configure_external_library(name, eci, configurations,
symbol=None, _cache={}):
"""try to find the external library.
On Unix, this simply tests and returns the given eci.
On Windows, various configurations may be tried to compile the
given eci object. These configurations are a list of dicts,
containing:
- prefix: if an absolute path, will prefix each include and
library directories. If a relative path, the external
directory is searched for directories which names start
with the prefix. The last one in alphabetical order
chosen, and becomes the prefix.
- include_dir: prefix + include_dir is added to the include directories
- library_dir: prefix + library_dir is added to the library directories
"""
if sys.platform != 'win32':
configurations = []
key = (name, eci)
try:
return _cache[key]
except KeyError:
last_error = None
# Always try the default configuration
if {} not in configurations:
configurations.append({})
for configuration in configurations:
prefix = configuration.get('prefix', '')
include_dir = configuration.get('include_dir', '')
library_dir = configuration.get('library_dir', '')
if prefix and not os.path.isabs(prefix):
import glob
entries = glob.glob(str(PYPY_EXTERNAL_DIR.join(prefix + '*')))
if entries:
# Get last version
prefix = sorted(entries)[-1]
else:
continue
include_dir = os.path.join(prefix, include_dir)
library_dir = os.path.join(prefix, library_dir)
eci_lib = ExternalCompilationInfo(
include_dirs=include_dir and [include_dir] or [],
library_dirs=library_dir and [library_dir] or [],
)
eci_lib = eci_lib.merge(eci)
# verify that this eci can be compiled
try:
verify_eci(eci_lib)
except CompilationError as e:
last_error = e
else:
_cache[key] = eci_lib
return eci_lib
# Nothing found
if last_error:
> raise last_error
E CompilationError: CompilationError(out="""
E """)
rtyper\tool\rffi_platform.py:846: CompilationError
__________ ERROR at setup of TestMiniMarkGCMostCompact.test_many_ids __________
cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGCMostCompact'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator\c\test\test_newgc.py:84:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator\c\test\test_newgc.py:1637: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, rzlib
rlib\rzlib.py:27: in <module>
[dict(prefix='zlib-'),
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
name = 'zlib'
eci = <ExternalCompilationInfo (pre_include_bits=(), includes=('zlib.h',), include_d...libraries=('zlib1',), use_cpp_linker=False, platform=<MsvcPlatform cc=cl.exe>)>
configurations = [{'prefix': 'zlib-'}, {}], symbol = None, _cache = {}
def configure_external_library(name, eci, configurations,
symbol=None, _cache={}):
"""try to find the external library.
On Unix, this simply tests and returns the given eci.
On Windows, various configurations may be tried to compile the
given eci object. These configurations are a list of dicts,
containing:
- prefix: if an absolute path, will prefix each include and
library directories. If a relative path, the external
directory is searched for directories which names start
with the prefix. The last one in alphabetical order
chosen, and becomes the prefix.
- include_dir: prefix + include_dir is added to the include directories
- library_dir: prefix + library_dir is added to the library directories
"""
if sys.platform != 'win32':
configurations = []
key = (name, eci)
try:
return _cache[key]
except KeyError:
last_error = None
# Always try the default configuration
if {} not in configurations:
configurations.append({})
for configuration in configurations:
prefix = configuration.get('prefix', '')
include_dir = configuration.get('include_dir', '')
library_dir = configuration.get('library_dir', '')
if prefix and not os.path.isabs(prefix):
import glob
entries = glob.glob(str(PYPY_EXTERNAL_DIR.join(prefix + '*')))
if entries:
# Get last version
prefix = sorted(entries)[-1]
else:
continue
include_dir = os.path.join(prefix, include_dir)
library_dir = os.path.join(prefix, library_dir)
eci_lib = ExternalCompilationInfo(
include_dirs=include_dir and [include_dir] or [],
library_dirs=library_dir and [library_dir] or [],
)
eci_lib = eci_lib.merge(eci)
# verify that this eci can be compiled
try:
verify_eci(eci_lib)
except CompilationError as e:
last_error = e
else:
_cache[key] = eci_lib
return eci_lib
# Nothing found
if last_error:
> raise last_error
E CompilationError: CompilationError(out="""
E """)
rtyper\tool\rffi_platform.py:846: CompilationError
____ ERROR at setup of TestMiniMarkGCMostCompact.test_gc_set_max_heap_size ____
cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGCMostCompact'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator\c\test\test_newgc.py:84:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator\c\test\test_newgc.py:1637: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, rzlib
rlib\rzlib.py:27: in <module>
[dict(prefix='zlib-'),
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
name = 'zlib'
eci = <ExternalCompilationInfo (pre_include_bits=(), includes=('zlib.h',), include_d...libraries=('zlib1',), use_cpp_linker=False, platform=<MsvcPlatform cc=cl.exe>)>
configurations = [{'prefix': 'zlib-'}, {}], symbol = None, _cache = {}
def configure_external_library(name, eci, configurations,
symbol=None, _cache={}):
"""try to find the external library.
On Unix, this simply tests and returns the given eci.
On Windows, various configurations may be tried to compile the
given eci object. These configurations are a list of dicts,
containing:
- prefix: if an absolute path, will prefix each include and
library directories. If a relative path, the external
directory is searched for directories which names start
with the prefix. The last one in alphabetical order
chosen, and becomes the prefix.
- include_dir: prefix + include_dir is added to the include directories
- library_dir: prefix + library_dir is added to the library directories
"""
if sys.platform != 'win32':
configurations = []
key = (name, eci)
try:
return _cache[key]
except KeyError:
last_error = None
# Always try the default configuration
if {} not in configurations:
configurations.append({})
for configuration in configurations:
prefix = configuration.get('prefix', '')
include_dir = configuration.get('include_dir', '')
library_dir = configuration.get('library_dir', '')
if prefix and not os.path.isabs(prefix):
import glob
entries = glob.glob(str(PYPY_EXTERNAL_DIR.join(prefix + '*')))
if entries:
# Get last version
prefix = sorted(entries)[-1]
else:
continue
include_dir = os.path.join(prefix, include_dir)
library_dir = os.path.join(prefix, library_dir)
eci_lib = ExternalCompilationInfo(
include_dirs=include_dir and [include_dir] or [],
library_dirs=library_dir and [library_dir] or [],
)
eci_lib = eci_lib.merge(eci)
# verify that this eci can be compiled
try:
verify_eci(eci_lib)
except CompilationError as e:
last_error = e
else:
_cache[key] = eci_lib
return eci_lib
# Nothing found
if last_error:
> raise last_error
E CompilationError: CompilationError(out="""
E """)
rtyper\tool\rffi_platform.py:846: CompilationError
_______ ERROR at setup of TestMiniMarkGCMostCompact.test_string_builder _______
cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGCMostCompact'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator\c\test\test_newgc.py:84:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator\c\test\test_newgc.py:1637: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, rzlib
rlib\rzlib.py:27: in <module>
[dict(prefix='zlib-'),
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
name = 'zlib'
eci = <ExternalCompilationInfo (pre_include_bits=(), includes=('zlib.h',), include_d...libraries=('zlib1',), use_cpp_linker=False, platform=<MsvcPlatform cc=cl.exe>)>
configurations = [{'prefix': 'zlib-'}, {}], symbol = None, _cache = {}
def configure_external_library(name, eci, configurations,
symbol=None, _cache={}):
"""try to find the external library.
On Unix, this simply tests and returns the given eci.
On Windows, various configurations may be tried to compile the
given eci object. These configurations are a list of dicts,
containing:
- prefix: if an absolute path, will prefix each include and
library directories. If a relative path, the external
directory is searched for directories which names start
with the prefix. The last one in alphabetical order
chosen, and becomes the prefix.
- include_dir: prefix + include_dir is added to the include directories
- library_dir: prefix + library_dir is added to the library directories
"""
if sys.platform != 'win32':
configurations = []
key = (name, eci)
try:
return _cache[key]
except KeyError:
last_error = None
# Always try the default configuration
if {} not in configurations:
configurations.append({})
for configuration in configurations:
prefix = configuration.get('prefix', '')
include_dir = configuration.get('include_dir', '')
library_dir = configuration.get('library_dir', '')
if prefix and not os.path.isabs(prefix):
import glob
entries = glob.glob(str(PYPY_EXTERNAL_DIR.join(prefix + '*')))
if entries:
# Get last version
prefix = sorted(entries)[-1]
else:
continue
include_dir = os.path.join(prefix, include_dir)
library_dir = os.path.join(prefix, library_dir)
eci_lib = ExternalCompilationInfo(
include_dirs=include_dir and [include_dir] or [],
library_dirs=library_dir and [library_dir] or [],
)
eci_lib = eci_lib.merge(eci)
# verify that this eci can be compiled
try:
verify_eci(eci_lib)
except CompilationError as e:
last_error = e
else:
_cache[key] = eci_lib
return eci_lib
# Nothing found
if last_error:
> raise last_error
E CompilationError: CompilationError(out="""
E """)
rtyper\tool\rffi_platform.py:846: CompilationError
ERROR at setup of TestMiniMarkGCMostCompact.test_string_builder_over_allocation
cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGCMostCompact'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator\c\test\test_newgc.py:84:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator\c\test\test_newgc.py:1637: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, rzlib
rlib\rzlib.py:27: in <module>
[dict(prefix='zlib-'),
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
name = 'zlib'
eci = <ExternalCompilationInfo (pre_include_bits=(), includes=('zlib.h',), include_d...libraries=('zlib1',), use_cpp_linker=False, platform=<MsvcPlatform cc=cl.exe>)>
configurations = [{'prefix': 'zlib-'}, {}], symbol = None, _cache = {}
def configure_external_library(name, eci, configurations,
symbol=None, _cache={}):
"""try to find the external library.
On Unix, this simply tests and returns the given eci.
On Windows, various configurations may be tried to compile the
given eci object. These configurations are a list of dicts,
containing:
- prefix: if an absolute path, will prefix each include and
library directories. If a relative path, the external
directory is searched for directories which names start
with the prefix. The last one in alphabetical order
chosen, and becomes the prefix.
- include_dir: prefix + include_dir is added to the include directories
- library_dir: prefix + library_dir is added to the library directories
"""
if sys.platform != 'win32':
configurations = []
key = (name, eci)
try:
return _cache[key]
except KeyError:
last_error = None
# Always try the default configuration
if {} not in configurations:
configurations.append({})
for configuration in configurations:
prefix = configuration.get('prefix', '')
include_dir = configuration.get('include_dir', '')
library_dir = configuration.get('library_dir', '')
if prefix and not os.path.isabs(prefix):
import glob
entries = glob.glob(str(PYPY_EXTERNAL_DIR.join(prefix + '*')))
if entries:
# Get last version
prefix = sorted(entries)[-1]
else:
continue
include_dir = os.path.join(prefix, include_dir)
library_dir = os.path.join(prefix, library_dir)
eci_lib = ExternalCompilationInfo(
include_dirs=include_dir and [include_dir] or [],
library_dirs=library_dir and [library_dir] or [],
)
eci_lib = eci_lib.merge(eci)
# verify that this eci can be compiled
try:
verify_eci(eci_lib)
except CompilationError as e:
last_error = e
else:
_cache[key] = eci_lib
return eci_lib
# Nothing found
if last_error:
> raise last_error
E CompilationError: CompilationError(out="""
E """)
rtyper\tool\rffi_platform.py:846: CompilationError
ERROR at setup of TestMiniMarkGCMostCompact.test_string_builder_multiple_builds
cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGCMostCompact'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator\c\test\test_newgc.py:84:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator\c\test\test_newgc.py:1637: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, rzlib
rlib\rzlib.py:27: in <module>
[dict(prefix='zlib-'),
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
name = 'zlib'
eci = <ExternalCompilationInfo (pre_include_bits=(), includes=('zlib.h',), include_d...libraries=('zlib1',), use_cpp_linker=False, platform=<MsvcPlatform cc=cl.exe>)>
configurations = [{'prefix': 'zlib-'}, {}], symbol = None, _cache = {}
def configure_external_library(name, eci, configurations,
symbol=None, _cache={}):
"""try to find the external library.
On Unix, this simply tests and returns the given eci.
On Windows, various configurations may be tried to compile the
given eci object. These configurations are a list of dicts,
containing:
- prefix: if an absolute path, will prefix each include and
library directories. If a relative path, the external
directory is searched for directories which names start
with the prefix. The last one in alphabetical order
chosen, and becomes the prefix.
- include_dir: prefix + include_dir is added to the include directories
- library_dir: prefix + library_dir is added to the library directories
"""
if sys.platform != 'win32':
configurations = []
key = (name, eci)
try:
return _cache[key]
except KeyError:
last_error = None
# Always try the default configuration
if {} not in configurations:
configurations.append({})
for configuration in configurations:
prefix = configuration.get('prefix', '')
include_dir = configuration.get('include_dir', '')
library_dir = configuration.get('library_dir', '')
if prefix and not os.path.isabs(prefix):
import glob
entries = glob.glob(str(PYPY_EXTERNAL_DIR.join(prefix + '*')))
if entries:
# Get last version
prefix = sorted(entries)[-1]
else:
continue
include_dir = os.path.join(prefix, include_dir)
library_dir = os.path.join(prefix, library_dir)
eci_lib = ExternalCompilationInfo(
include_dirs=include_dir and [include_dir] or [],
library_dirs=library_dir and [library_dir] or [],
)
eci_lib = eci_lib.merge(eci)
# verify that this eci can be compiled
try:
verify_eci(eci_lib)
except CompilationError as e:
last_error = e
else:
_cache[key] = eci_lib
return eci_lib
# Nothing found
if last_error:
> raise last_error
E CompilationError: CompilationError(out="""
E """)
rtyper\tool\rffi_platform.py:846: CompilationError
ERROR at setup of TestMiniMarkGCMostCompact.test_string_builder_multiple_builds_2
cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGCMostCompact'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator\c\test\test_newgc.py:84:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator\c\test\test_newgc.py:1637: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, rzlib
rlib\rzlib.py:27: in <module>
[dict(prefix='zlib-'),
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
name = 'zlib'
eci = <ExternalCompilationInfo (pre_include_bits=(), includes=('zlib.h',), include_d...libraries=('zlib1',), use_cpp_linker=False, platform=<MsvcPlatform cc=cl.exe>)>
configurations = [{'prefix': 'zlib-'}, {}], symbol = None, _cache = {}
def configure_external_library(name, eci, configurations,
symbol=None, _cache={}):
"""try to find the external library.
On Unix, this simply tests and returns the given eci.
On Windows, various configurations may be tried to compile the
given eci object. These configurations are a list of dicts,
containing:
- prefix: if an absolute path, will prefix each include and
library directories. If a relative path, the external
directory is searched for directories which names start
with the prefix. The last one in alphabetical order
chosen, and becomes the prefix.
- include_dir: prefix + include_dir is added to the include directories
- library_dir: prefix + library_dir is added to the library directories
"""
if sys.platform != 'win32':
configurations = []
key = (name, eci)
try:
return _cache[key]
except KeyError:
last_error = None
# Always try the default configuration
if {} not in configurations:
configurations.append({})
for configuration in configurations:
prefix = configuration.get('prefix', '')
include_dir = configuration.get('include_dir', '')
library_dir = configuration.get('library_dir', '')
if prefix and not os.path.isabs(prefix):
import glob
entries = glob.glob(str(PYPY_EXTERNAL_DIR.join(prefix + '*')))
if entries:
# Get last version
prefix = sorted(entries)[-1]
else:
continue
include_dir = os.path.join(prefix, include_dir)
library_dir = os.path.join(prefix, library_dir)
eci_lib = ExternalCompilationInfo(
include_dirs=include_dir and [include_dir] or [],
library_dirs=library_dir and [library_dir] or [],
)
eci_lib = eci_lib.merge(eci)
# verify that this eci can be compiled
try:
verify_eci(eci_lib)
except CompilationError as e:
last_error = e
else:
_cache[key] = eci_lib
return eci_lib
# Nothing found
if last_error:
> raise last_error
E CompilationError: CompilationError(out="""
E """)
rtyper\tool\rffi_platform.py:846: CompilationError
_____ ERROR at setup of TestMiniMarkGCMostCompact.test_nursery_hash_base ______
cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGCMostCompact'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator\c\test\test_newgc.py:84:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator\c\test\test_newgc.py:1637: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, rzlib
rlib\rzlib.py:27: in <module>
[dict(prefix='zlib-'),
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
name = 'zlib'
eci = <ExternalCompilationInfo (pre_include_bits=(), includes=('zlib.h',), include_d...libraries=('zlib1',), use_cpp_linker=False, platform=<MsvcPlatform cc=cl.exe>)>
configurations = [{'prefix': 'zlib-'}, {}], symbol = None, _cache = {}
def configure_external_library(name, eci, configurations,
symbol=None, _cache={}):
"""try to find the external library.
On Unix, this simply tests and returns the given eci.
On Windows, various configurations may be tried to compile the
given eci object. These configurations are a list of dicts,
containing:
- prefix: if an absolute path, will prefix each include and
library directories. If a relative path, the external
directory is searched for directories which names start
with the prefix. The last one in alphabetical order
chosen, and becomes the prefix.
- include_dir: prefix + include_dir is added to the include directories
- library_dir: prefix + library_dir is added to the library directories
"""
if sys.platform != 'win32':
configurations = []
key = (name, eci)
try:
return _cache[key]
except KeyError:
last_error = None
# Always try the default configuration
if {} not in configurations:
configurations.append({})
for configuration in configurations:
prefix = configuration.get('prefix', '')
include_dir = configuration.get('include_dir', '')
library_dir = configuration.get('library_dir', '')
if prefix and not os.path.isabs(prefix):
import glob
entries = glob.glob(str(PYPY_EXTERNAL_DIR.join(prefix + '*')))
if entries:
# Get last version
prefix = sorted(entries)[-1]
else:
continue
include_dir = os.path.join(prefix, include_dir)
library_dir = os.path.join(prefix, library_dir)
eci_lib = ExternalCompilationInfo(
include_dirs=include_dir and [include_dir] or [],
library_dirs=library_dir and [library_dir] or [],
)
eci_lib = eci_lib.merge(eci)
# verify that this eci can be compiled
try:
verify_eci(eci_lib)
except CompilationError as e:
last_error = e
else:
_cache[key] = eci_lib
return eci_lib
# Nothing found
if last_error:
> raise last_error
E CompilationError: CompilationError(out="""
E """)
rtyper\tool\rffi_platform.py:846: CompilationError
___ ERROR at setup of TestMiniMarkGCMostCompact.test_extra_item_after_alloc ___
cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGCMostCompact'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator\c\test\test_newgc.py:84:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator\c\test\test_newgc.py:1637: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, rzlib
rlib\rzlib.py:27: in <module>
[dict(prefix='zlib-'),
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
name = 'zlib'
eci = <ExternalCompilationInfo (pre_include_bits=(), includes=('zlib.h',), include_d...libraries=('zlib1',), use_cpp_linker=False, platform=<MsvcPlatform cc=cl.exe>)>
configurations = [{'prefix': 'zlib-'}, {}], symbol = None, _cache = {}
def configure_external_library(name, eci, configurations,
symbol=None, _cache={}):
"""try to find the external library.
On Unix, this simply tests and returns the given eci.
On Windows, various configurations may be tried to compile the
given eci object. These configurations are a list of dicts,
containing:
- prefix: if an absolute path, will prefix each include and
library directories. If a relative path, the external
directory is searched for directories which names start
with the prefix. The last one in alphabetical order
chosen, and becomes the prefix.
- include_dir: prefix + include_dir is added to the include directories
- library_dir: prefix + library_dir is added to the library directories
"""
if sys.platform != 'win32':
configurations = []
key = (name, eci)
try:
return _cache[key]
except KeyError:
last_error = None
# Always try the default configuration
if {} not in configurations:
configurations.append({})
for configuration in configurations:
prefix = configuration.get('prefix', '')
include_dir = configuration.get('include_dir', '')
library_dir = configuration.get('library_dir', '')
if prefix and not os.path.isabs(prefix):
import glob
entries = glob.glob(str(PYPY_EXTERNAL_DIR.join(prefix + '*')))
if entries:
# Get last version
prefix = sorted(entries)[-1]
else:
continue
include_dir = os.path.join(prefix, include_dir)
library_dir = os.path.join(prefix, library_dir)
eci_lib = ExternalCompilationInfo(
include_dirs=include_dir and [include_dir] or [],
library_dirs=library_dir and [library_dir] or [],
)
eci_lib = eci_lib.merge(eci)
# verify that this eci can be compiled
try:
verify_eci(eci_lib)
except CompilationError as e:
last_error = e
else:
_cache[key] = eci_lib
return eci_lib
# Nothing found
if last_error:
> raise last_error
E CompilationError: CompilationError(out="""
E """)
rtyper\tool\rffi_platform.py:846: CompilationError
__________ ERROR at setup of TestMiniMarkGCMostCompact.test_rerased ___________
cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGCMostCompact'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator\c\test\test_newgc.py:84:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator\c\test\test_newgc.py:1637: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, rzlib
rlib\rzlib.py:27: in <module>
[dict(prefix='zlib-'),
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
name = 'zlib'
eci = <ExternalCompilationInfo (pre_include_bits=(), includes=('zlib.h',), include_d...libraries=('zlib1',), use_cpp_linker=False, platform=<MsvcPlatform cc=cl.exe>)>
configurations = [{'prefix': 'zlib-'}, {}], symbol = None, _cache = {}
def configure_external_library(name, eci, configurations,
symbol=None, _cache={}):
"""try to find the external library.
On Unix, this simply tests and returns the given eci.
On Windows, various configurations may be tried to compile the
given eci object. These configurations are a list of dicts,
containing:
- prefix: if an absolute path, will prefix each include and
library directories. If a relative path, the external
directory is searched for directories which names start
with the prefix. The last one in alphabetical order
chosen, and becomes the prefix.
- include_dir: prefix + include_dir is added to the include directories
- library_dir: prefix + library_dir is added to the library directories
"""
if sys.platform != 'win32':
configurations = []
key = (name, eci)
try:
return _cache[key]
except KeyError:
last_error = None
# Always try the default configuration
if {} not in configurations:
configurations.append({})
for configuration in configurations:
prefix = configuration.get('prefix', '')
include_dir = configuration.get('include_dir', '')
library_dir = configuration.get('library_dir', '')
if prefix and not os.path.isabs(prefix):
import glob
entries = glob.glob(str(PYPY_EXTERNAL_DIR.join(prefix + '*')))
if entries:
# Get last version
prefix = sorted(entries)[-1]
else:
continue
include_dir = os.path.join(prefix, include_dir)
library_dir = os.path.join(prefix, library_dir)
eci_lib = ExternalCompilationInfo(
include_dirs=include_dir and [include_dir] or [],
library_dirs=library_dir and [library_dir] or [],
)
eci_lib = eci_lib.merge(eci)
# verify that this eci can be compiled
try:
verify_eci(eci_lib)
except CompilationError as e:
last_error = e
else:
_cache[key] = eci_lib
return eci_lib
# Nothing found
if last_error:
> raise last_error
E CompilationError: CompilationError(out="""
E """)
rtyper\tool\rffi_platform.py:846: CompilationError
_______ ERROR at setup of TestMiniMarkGCMostCompact.test_gc_heap_stats ________
cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGCMostCompact'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator\c\test\test_newgc.py:84:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator\c\test\test_newgc.py:1637: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, rzlib
rlib\rzlib.py:27: in <module>
[dict(prefix='zlib-'),
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
name = 'zlib'
eci = <ExternalCompilationInfo (pre_include_bits=(), includes=('zlib.h',), include_d...libraries=('zlib1',), use_cpp_linker=False, platform=<MsvcPlatform cc=cl.exe>)>
configurations = [{'prefix': 'zlib-'}, {}], symbol = None, _cache = {}
def configure_external_library(name, eci, configurations,
symbol=None, _cache={}):
"""try to find the external library.
On Unix, this simply tests and returns the given eci.
On Windows, various configurations may be tried to compile the
given eci object. These configurations are a list of dicts,
containing:
- prefix: if an absolute path, will prefix each include and
library directories. If a relative path, the external
directory is searched for directories which names start
with the prefix. The last one in alphabetical order
chosen, and becomes the prefix.
- include_dir: prefix + include_dir is added to the include directories
- library_dir: prefix + library_dir is added to the library directories
"""
if sys.platform != 'win32':
configurations = []
key = (name, eci)
try:
return _cache[key]
except KeyError:
last_error = None
# Always try the default configuration
if {} not in configurations:
configurations.append({})
for configuration in configurations:
prefix = configuration.get('prefix', '')
include_dir = configuration.get('include_dir', '')
library_dir = configuration.get('library_dir', '')
if prefix and not os.path.isabs(prefix):
import glob
entries = glob.glob(str(PYPY_EXTERNAL_DIR.join(prefix + '*')))
if entries:
# Get last version
prefix = sorted(entries)[-1]
else:
continue
include_dir = os.path.join(prefix, include_dir)
library_dir = os.path.join(prefix, library_dir)
eci_lib = ExternalCompilationInfo(
include_dirs=include_dir and [include_dir] or [],
library_dirs=library_dir and [library_dir] or [],
)
eci_lib = eci_lib.merge(eci)
# verify that this eci can be compiled
try:
verify_eci(eci_lib)
except CompilationError as e:
last_error = e
else:
_cache[key] = eci_lib
return eci_lib
# Nothing found
if last_error:
> raise last_error
E CompilationError: CompilationError(out="""
E """)
rtyper\tool\rffi_platform.py:846: CompilationError
____ ERROR at setup of TestMiniMarkGCMostCompact.test_nongc_attached_to_gc ____
cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGCMostCompact'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator\c\test\test_newgc.py:84:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator\c\test\test_newgc.py:1637: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, rzlib
rlib\rzlib.py:27: in <module>
[dict(prefix='zlib-'),
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
name = 'zlib'
eci = <ExternalCompilationInfo (pre_include_bits=(), includes=('zlib.h',), include_d...libraries=('zlib1',), use_cpp_linker=False, platform=<MsvcPlatform cc=cl.exe>)>
configurations = [{'prefix': 'zlib-'}, {}], symbol = None, _cache = {}
def configure_external_library(name, eci, configurations,
symbol=None, _cache={}):
"""try to find the external library.
On Unix, this simply tests and returns the given eci.
On Windows, various configurations may be tried to compile the
given eci object. These configurations are a list of dicts,
containing:
- prefix: if an absolute path, will prefix each include and
library directories. If a relative path, the external
directory is searched for directories which names start
with the prefix. The last one in alphabetical order
chosen, and becomes the prefix.
- include_dir: prefix + include_dir is added to the include directories
- library_dir: prefix + library_dir is added to the library directories
"""
if sys.platform != 'win32':
configurations = []
key = (name, eci)
try:
return _cache[key]
except KeyError:
last_error = None
# Always try the default configuration
if {} not in configurations:
configurations.append({})
for configuration in configurations:
prefix = configuration.get('prefix', '')
include_dir = configuration.get('include_dir', '')
library_dir = configuration.get('library_dir', '')
if prefix and not os.path.isabs(prefix):
import glob
entries = glob.glob(str(PYPY_EXTERNAL_DIR.join(prefix + '*')))
if entries:
# Get last version
prefix = sorted(entries)[-1]
else:
continue
include_dir = os.path.join(prefix, include_dir)
library_dir = os.path.join(prefix, library_dir)
eci_lib = ExternalCompilationInfo(
include_dirs=include_dir and [include_dir] or [],
library_dirs=library_dir and [library_dir] or [],
)
eci_lib = eci_lib.merge(eci)
# verify that this eci can be compiled
try:
verify_eci(eci_lib)
except CompilationError as e:
last_error = e
else:
_cache[key] = eci_lib
return eci_lib
# Nothing found
if last_error:
> raise last_error
E CompilationError: CompilationError(out="""
E """)
rtyper\tool\rffi_platform.py:846: CompilationError
ERROR at setup of TestMiniMarkGCMostCompact.test_nongc_opaque_attached_to_gc _
cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGCMostCompact'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator\c\test\test_newgc.py:84:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator\c\test\test_newgc.py:1637: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, rzlib
rlib\rzlib.py:27: in <module>
[dict(prefix='zlib-'),
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
name = 'zlib'
eci = <ExternalCompilationInfo (pre_include_bits=(), includes=('zlib.h',), include_d...libraries=('zlib1',), use_cpp_linker=False, platform=<MsvcPlatform cc=cl.exe>)>
configurations = [{'prefix': 'zlib-'}, {}], symbol = None, _cache = {}
def configure_external_library(name, eci, configurations,
symbol=None, _cache={}):
"""try to find the external library.
On Unix, this simply tests and returns the given eci.
On Windows, various configurations may be tried to compile the
given eci object. These configurations are a list of dicts,
containing:
- prefix: if an absolute path, will prefix each include and
library directories. If a relative path, the external
directory is searched for directories which names start
with the prefix. The last one in alphabetical order
chosen, and becomes the prefix.
- include_dir: prefix + include_dir is added to the include directories
- library_dir: prefix + library_dir is added to the library directories
"""
if sys.platform != 'win32':
configurations = []
key = (name, eci)
try:
return _cache[key]
except KeyError:
last_error = None
# Always try the default configuration
if {} not in configurations:
configurations.append({})
for configuration in configurations:
prefix = configuration.get('prefix', '')
include_dir = configuration.get('include_dir', '')
library_dir = configuration.get('library_dir', '')
if prefix and not os.path.isabs(prefix):
import glob
entries = glob.glob(str(PYPY_EXTERNAL_DIR.join(prefix + '*')))
if entries:
# Get last version
prefix = sorted(entries)[-1]
else:
continue
include_dir = os.path.join(prefix, include_dir)
library_dir = os.path.join(prefix, library_dir)
eci_lib = ExternalCompilationInfo(
include_dirs=include_dir and [include_dir] or [],
library_dirs=library_dir and [library_dir] or [],
)
eci_lib = eci_lib.merge(eci)
# verify that this eci can be compiled
try:
verify_eci(eci_lib)
except CompilationError as e:
last_error = e
else:
_cache[key] = eci_lib
return eci_lib
# Nothing found
if last_error:
> raise last_error
E CompilationError: CompilationError(out="""
E """)
rtyper\tool\rffi_platform.py:846: CompilationError
_______ ERROR at setup of TestMiniMarkGCMostCompact.test_limited_memory _______
cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGCMostCompact'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator\c\test\test_newgc.py:84:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator\c\test\test_newgc.py:1637: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, rzlib
rlib\rzlib.py:27: in <module>
[dict(prefix='zlib-'),
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
name = 'zlib'
eci = <ExternalCompilationInfo (pre_include_bits=(), includes=('zlib.h',), include_d...libraries=('zlib1',), use_cpp_linker=False, platform=<MsvcPlatform cc=cl.exe>)>
configurations = [{'prefix': 'zlib-'}, {}], symbol = None, _cache = {}
def configure_external_library(name, eci, configurations,
symbol=None, _cache={}):
"""try to find the external library.
On Unix, this simply tests and returns the given eci.
On Windows, various configurations may be tried to compile the
given eci object. These configurations are a list of dicts,
containing:
- prefix: if an absolute path, will prefix each include and
library directories. If a relative path, the external
directory is searched for directories which names start
with the prefix. The last one in alphabetical order
chosen, and becomes the prefix.
- include_dir: prefix + include_dir is added to the include directories
- library_dir: prefix + library_dir is added to the library directories
"""
if sys.platform != 'win32':
configurations = []
key = (name, eci)
try:
return _cache[key]
except KeyError:
last_error = None
# Always try the default configuration
if {} not in configurations:
configurations.append({})
for configuration in configurations:
prefix = configuration.get('prefix', '')
include_dir = configuration.get('include_dir', '')
library_dir = configuration.get('library_dir', '')
if prefix and not os.path.isabs(prefix):
import glob
entries = glob.glob(str(PYPY_EXTERNAL_DIR.join(prefix + '*')))
if entries:
# Get last version
prefix = sorted(entries)[-1]
else:
continue
include_dir = os.path.join(prefix, include_dir)
library_dir = os.path.join(prefix, library_dir)
eci_lib = ExternalCompilationInfo(
include_dirs=include_dir and [include_dir] or [],
library_dirs=library_dir and [library_dir] or [],
)
eci_lib = eci_lib.merge(eci)
# verify that this eci can be compiled
try:
verify_eci(eci_lib)
except CompilationError as e:
last_error = e
else:
_cache[key] = eci_lib
return eci_lib
# Nothing found
if last_error:
> raise last_error
E CompilationError: CompilationError(out="""
E """)
rtyper\tool\rffi_platform.py:846: CompilationError
___________ ERROR at setup of TestMiniMarkGCMostCompact.test_tagged ___________
cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGCMostCompact'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator\c\test\test_newgc.py:84:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator\c\test\test_newgc.py:1637: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, rzlib
rlib\rzlib.py:27: in <module>
[dict(prefix='zlib-'),
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
name = 'zlib'
eci = <ExternalCompilationInfo (pre_include_bits=(), includes=('zlib.h',), include_d...libraries=('zlib1',), use_cpp_linker=False, platform=<MsvcPlatform cc=cl.exe>)>
configurations = [{'prefix': 'zlib-'}, {}], symbol = None, _cache = {}
def configure_external_library(name, eci, configurations,
symbol=None, _cache={}):
"""try to find the external library.
On Unix, this simply tests and returns the given eci.
On Windows, various configurations may be tried to compile the
given eci object. These configurations are a list of dicts,
containing:
- prefix: if an absolute path, will prefix each include and
library directories. If a relative path, the external
directory is searched for directories which names start
with the prefix. The last one in alphabetical order
chosen, and becomes the prefix.
- include_dir: prefix + include_dir is added to the include directories
- library_dir: prefix + library_dir is added to the library directories
"""
if sys.platform != 'win32':
configurations = []
key = (name, eci)
try:
return _cache[key]
except KeyError:
last_error = None
# Always try the default configuration
if {} not in configurations:
configurations.append({})
for configuration in configurations:
prefix = configuration.get('prefix', '')
include_dir = configuration.get('include_dir', '')
library_dir = configuration.get('library_dir', '')
if prefix and not os.path.isabs(prefix):
import glob
entries = glob.glob(str(PYPY_EXTERNAL_DIR.join(prefix + '*')))
if entries:
# Get last version
prefix = sorted(entries)[-1]
else:
continue
include_dir = os.path.join(prefix, include_dir)
library_dir = os.path.join(prefix, library_dir)
eci_lib = ExternalCompilationInfo(
include_dirs=include_dir and [include_dir] or [],
library_dirs=library_dir and [library_dir] or [],
)
eci_lib = eci_lib.merge(eci)
# verify that this eci can be compiled
try:
verify_eci(eci_lib)
except CompilationError as e:
last_error = e
else:
_cache[key] = eci_lib
return eci_lib
# Nothing found
if last_error:
> raise last_error
E CompilationError: CompilationError(out="""
E """)
rtyper\tool\rffi_platform.py:846: CompilationError
___________ ERROR at setup of TestMiniMarkGCMostCompact.test_erased ___________
cls = <class 'rpython.translator.c.test.test_newgc.TestMiniMarkGCMostCompact'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator\c\test\test_newgc.py:84:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator\c\test\test_newgc.py:1637: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, rzlib
rlib\rzlib.py:27: in <module>
[dict(prefix='zlib-'),
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
name = 'zlib'
eci = <ExternalCompilationInfo (pre_include_bits=(), includes=('zlib.h',), include_d...libraries=('zlib1',), use_cpp_linker=False, platform=<MsvcPlatform cc=cl.exe>)>
configurations = [{'prefix': 'zlib-'}, {}], symbol = None, _cache = {}
def configure_external_library(name, eci, configurations,
symbol=None, _cache={}):
"""try to find the external library.
On Unix, this simply tests and returns the given eci.
On Windows, various configurations may be tried to compile the
given eci object. These configurations are a list of dicts,
containing:
- prefix: if an absolute path, will prefix each include and
library directories. If a relative path, the external
directory is searched for directories which names start
with the prefix. The last one in alphabetical order
chosen, and becomes the prefix.
- include_dir: prefix + include_dir is added to the include directories
- library_dir: prefix + library_dir is added to the library directories
"""
if sys.platform != 'win32':
configurations = []
key = (name, eci)
try:
return _cache[key]
except KeyError:
last_error = None
# Always try the default configuration
if {} not in configurations:
configurations.append({})
for configuration in configurations:
prefix = configuration.get('prefix', '')
include_dir = configuration.get('include_dir', '')
library_dir = configuration.get('library_dir', '')
if prefix and not os.path.isabs(prefix):
import glob
entries = glob.glob(str(PYPY_EXTERNAL_DIR.join(prefix + '*')))
if entries:
# Get last version
prefix = sorted(entries)[-1]
else:
continue
include_dir = os.path.join(prefix, include_dir)
library_dir = os.path.join(prefix, library_dir)
eci_lib = ExternalCompilationInfo(
include_dirs=include_dir and [include_dir] or [],
library_dirs=library_dir and [library_dir] or [],
)
eci_lib = eci_lib.merge(eci)
# verify that this eci can be compiled
try:
verify_eci(eci_lib)
except CompilationError as e:
last_error = e
else:
_cache[key] = eci_lib
return eci_lib
# Nothing found
if last_error:
> raise last_error
E CompilationError: CompilationError(out="""
E """)
rtyper\tool\rffi_platform.py:846: CompilationError
_ ERROR at setup of TestIncrementalMiniMarkGCMostCompact.test_finalizer_order _
cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGCMostCompact'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator\c\test\test_newgc.py:84:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator\c\test\test_newgc.py:1637: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, rzlib
rlib\rzlib.py:27: in <module>
[dict(prefix='zlib-'),
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
name = 'zlib'
eci = <ExternalCompilationInfo (pre_include_bits=(), includes=('zlib.h',), include_d...libraries=('zlib1',), use_cpp_linker=False, platform=<MsvcPlatform cc=cl.exe>)>
configurations = [{'prefix': 'zlib-'}, {}], symbol = None, _cache = {}
def configure_external_library(name, eci, configurations,
symbol=None, _cache={}):
"""try to find the external library.
On Unix, this simply tests and returns the given eci.
On Windows, various configurations may be tried to compile the
given eci object. These configurations are a list of dicts,
containing:
- prefix: if an absolute path, will prefix each include and
library directories. If a relative path, the external
directory is searched for directories which names start
with the prefix. The last one in alphabetical order
chosen, and becomes the prefix.
- include_dir: prefix + include_dir is added to the include directories
- library_dir: prefix + library_dir is added to the library directories
"""
if sys.platform != 'win32':
configurations = []
key = (name, eci)
try:
return _cache[key]
except KeyError:
last_error = None
# Always try the default configuration
if {} not in configurations:
configurations.append({})
for configuration in configurations:
prefix = configuration.get('prefix', '')
include_dir = configuration.get('include_dir', '')
library_dir = configuration.get('library_dir', '')
if prefix and not os.path.isabs(prefix):
import glob
entries = glob.glob(str(PYPY_EXTERNAL_DIR.join(prefix + '*')))
if entries:
# Get last version
prefix = sorted(entries)[-1]
else:
continue
include_dir = os.path.join(prefix, include_dir)
library_dir = os.path.join(prefix, library_dir)
eci_lib = ExternalCompilationInfo(
include_dirs=include_dir and [include_dir] or [],
library_dirs=library_dir and [library_dir] or [],
)
eci_lib = eci_lib.merge(eci)
# verify that this eci can be compiled
try:
verify_eci(eci_lib)
except CompilationError as e:
last_error = e
else:
_cache[key] = eci_lib
return eci_lib
# Nothing found
if last_error:
> raise last_error
E CompilationError: CompilationError(out="""
E """)
rtyper\tool\rffi_platform.py:846: CompilationError
ERROR at setup of TestIncrementalMiniMarkGCMostCompact.test_from_objwithfinalizer_to_youngobj
cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGCMostCompact'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator\c\test\test_newgc.py:84:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator\c\test\test_newgc.py:1637: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, rzlib
rlib\rzlib.py:27: in <module>
[dict(prefix='zlib-'),
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
name = 'zlib'
eci = <ExternalCompilationInfo (pre_include_bits=(), includes=('zlib.h',), include_d...libraries=('zlib1',), use_cpp_linker=False, platform=<MsvcPlatform cc=cl.exe>)>
configurations = [{'prefix': 'zlib-'}, {}], symbol = None, _cache = {}
def configure_external_library(name, eci, configurations,
symbol=None, _cache={}):
"""try to find the external library.
On Unix, this simply tests and returns the given eci.
On Windows, various configurations may be tried to compile the
given eci object. These configurations are a list of dicts,
containing:
- prefix: if an absolute path, will prefix each include and
library directories. If a relative path, the external
directory is searched for directories which names start
with the prefix. The last one in alphabetical order
chosen, and becomes the prefix.
- include_dir: prefix + include_dir is added to the include directories
- library_dir: prefix + library_dir is added to the library directories
"""
if sys.platform != 'win32':
configurations = []
key = (name, eci)
try:
return _cache[key]
except KeyError:
last_error = None
# Always try the default configuration
if {} not in configurations:
configurations.append({})
for configuration in configurations:
prefix = configuration.get('prefix', '')
include_dir = configuration.get('include_dir', '')
library_dir = configuration.get('library_dir', '')
if prefix and not os.path.isabs(prefix):
import glob
entries = glob.glob(str(PYPY_EXTERNAL_DIR.join(prefix + '*')))
if entries:
# Get last version
prefix = sorted(entries)[-1]
else:
continue
include_dir = os.path.join(prefix, include_dir)
library_dir = os.path.join(prefix, library_dir)
eci_lib = ExternalCompilationInfo(
include_dirs=include_dir and [include_dir] or [],
library_dirs=library_dir and [library_dir] or [],
)
eci_lib = eci_lib.merge(eci)
# verify that this eci can be compiled
try:
verify_eci(eci_lib)
except CompilationError as e:
last_error = e
else:
_cache[key] = eci_lib
return eci_lib
# Nothing found
if last_error:
> raise last_error
E CompilationError: CompilationError(out="""
E """)
rtyper\tool\rffi_platform.py:846: CompilationError
__ ERROR at setup of TestIncrementalMiniMarkGCMostCompact.test_empty_collect __
cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGCMostCompact'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator\c\test\test_newgc.py:84:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator\c\test\test_newgc.py:1637: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, rzlib
rlib\rzlib.py:27: in <module>
[dict(prefix='zlib-'),
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
name = 'zlib'
eci = <ExternalCompilationInfo (pre_include_bits=(), includes=('zlib.h',), include_d...libraries=('zlib1',), use_cpp_linker=False, platform=<MsvcPlatform cc=cl.exe>)>
configurations = [{'prefix': 'zlib-'}, {}], symbol = None, _cache = {}
def configure_external_library(name, eci, configurations,
symbol=None, _cache={}):
"""try to find the external library.
On Unix, this simply tests and returns the given eci.
On Windows, various configurations may be tried to compile the
given eci object. These configurations are a list of dicts,
containing:
- prefix: if an absolute path, will prefix each include and
library directories. If a relative path, the external
directory is searched for directories which names start
with the prefix. The last one in alphabetical order
chosen, and becomes the prefix.
- include_dir: prefix + include_dir is added to the include directories
- library_dir: prefix + library_dir is added to the library directories
"""
if sys.platform != 'win32':
configurations = []
key = (name, eci)
try:
return _cache[key]
except KeyError:
last_error = None
# Always try the default configuration
if {} not in configurations:
configurations.append({})
for configuration in configurations:
prefix = configuration.get('prefix', '')
include_dir = configuration.get('include_dir', '')
library_dir = configuration.get('library_dir', '')
if prefix and not os.path.isabs(prefix):
import glob
entries = glob.glob(str(PYPY_EXTERNAL_DIR.join(prefix + '*')))
if entries:
# Get last version
prefix = sorted(entries)[-1]
else:
continue
include_dir = os.path.join(prefix, include_dir)
library_dir = os.path.join(prefix, library_dir)
eci_lib = ExternalCompilationInfo(
include_dirs=include_dir and [include_dir] or [],
library_dirs=library_dir and [library_dir] or [],
)
eci_lib = eci_lib.merge(eci)
# verify that this eci can be compiled
try:
verify_eci(eci_lib)
except CompilationError as e:
last_error = e
else:
_cache[key] = eci_lib
return eci_lib
# Nothing found
if last_error:
> raise last_error
E CompilationError: CompilationError(out="""
E """)
rtyper\tool\rffi_platform.py:846: CompilationError
ERROR at setup of TestIncrementalMiniMarkGCMostCompact.test_framework_simple _
cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGCMostCompact'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator\c\test\test_newgc.py:84:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator\c\test\test_newgc.py:1637: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, rzlib
rlib\rzlib.py:27: in <module>
[dict(prefix='zlib-'),
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
name = 'zlib'
eci = <ExternalCompilationInfo (pre_include_bits=(), includes=('zlib.h',), include_d...libraries=('zlib1',), use_cpp_linker=False, platform=<MsvcPlatform cc=cl.exe>)>
configurations = [{'prefix': 'zlib-'}, {}], symbol = None, _cache = {}
def configure_external_library(name, eci, configurations,
symbol=None, _cache={}):
"""try to find the external library.
On Unix, this simply tests and returns the given eci.
On Windows, various configurations may be tried to compile the
given eci object. These configurations are a list of dicts,
containing:
- prefix: if an absolute path, will prefix each include and
library directories. If a relative path, the external
directory is searched for directories which names start
with the prefix. The last one in alphabetical order
chosen, and becomes the prefix.
- include_dir: prefix + include_dir is added to the include directories
- library_dir: prefix + library_dir is added to the library directories
"""
if sys.platform != 'win32':
configurations = []
key = (name, eci)
try:
return _cache[key]
except KeyError:
last_error = None
# Always try the default configuration
if {} not in configurations:
configurations.append({})
for configuration in configurations:
prefix = configuration.get('prefix', '')
include_dir = configuration.get('include_dir', '')
library_dir = configuration.get('library_dir', '')
if prefix and not os.path.isabs(prefix):
import glob
entries = glob.glob(str(PYPY_EXTERNAL_DIR.join(prefix + '*')))
if entries:
# Get last version
prefix = sorted(entries)[-1]
else:
continue
include_dir = os.path.join(prefix, include_dir)
library_dir = os.path.join(prefix, library_dir)
eci_lib = ExternalCompilationInfo(
include_dirs=include_dir and [include_dir] or [],
library_dirs=library_dir and [library_dir] or [],
)
eci_lib = eci_lib.merge(eci)
# verify that this eci can be compiled
try:
verify_eci(eci_lib)
except CompilationError as e:
last_error = e
else:
_cache[key] = eci_lib
return eci_lib
# Nothing found
if last_error:
> raise last_error
E CompilationError: CompilationError(out="""
E """)
rtyper\tool\rffi_platform.py:846: CompilationError
ERROR at setup of TestIncrementalMiniMarkGCMostCompact.test_framework_safe_pushpop
cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGCMostCompact'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator\c\test\test_newgc.py:84:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator\c\test\test_newgc.py:1637: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, rzlib
rlib\rzlib.py:27: in <module>
[dict(prefix='zlib-'),
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
name = 'zlib'
eci = <ExternalCompilationInfo (pre_include_bits=(), includes=('zlib.h',), include_d...libraries=('zlib1',), use_cpp_linker=False, platform=<MsvcPlatform cc=cl.exe>)>
configurations = [{'prefix': 'zlib-'}, {}], symbol = None, _cache = {}
def configure_external_library(name, eci, configurations,
symbol=None, _cache={}):
"""try to find the external library.
On Unix, this simply tests and returns the given eci.
On Windows, various configurations may be tried to compile the
given eci object. These configurations are a list of dicts,
containing:
- prefix: if an absolute path, will prefix each include and
library directories. If a relative path, the external
directory is searched for directories which names start
with the prefix. The last one in alphabetical order
chosen, and becomes the prefix.
- include_dir: prefix + include_dir is added to the include directories
- library_dir: prefix + library_dir is added to the library directories
"""
if sys.platform != 'win32':
configurations = []
key = (name, eci)
try:
return _cache[key]
except KeyError:
last_error = None
# Always try the default configuration
if {} not in configurations:
configurations.append({})
for configuration in configurations:
prefix = configuration.get('prefix', '')
include_dir = configuration.get('include_dir', '')
library_dir = configuration.get('library_dir', '')
if prefix and not os.path.isabs(prefix):
import glob
entries = glob.glob(str(PYPY_EXTERNAL_DIR.join(prefix + '*')))
if entries:
# Get last version
prefix = sorted(entries)[-1]
else:
continue
include_dir = os.path.join(prefix, include_dir)
library_dir = os.path.join(prefix, library_dir)
eci_lib = ExternalCompilationInfo(
include_dirs=include_dir and [include_dir] or [],
library_dirs=library_dir and [library_dir] or [],
)
eci_lib = eci_lib.merge(eci)
# verify that this eci can be compiled
try:
verify_eci(eci_lib)
except CompilationError as e:
last_error = e
else:
_cache[key] = eci_lib
return eci_lib
# Nothing found
if last_error:
> raise last_error
E CompilationError: CompilationError(out="""
E """)
rtyper\tool\rffi_platform.py:846: CompilationError
ERROR at setup of TestIncrementalMiniMarkGCMostCompact.test_framework_protect_getfield
cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGCMostCompact'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator\c\test\test_newgc.py:84:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator\c\test\test_newgc.py:1637: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, rzlib
rlib\rzlib.py:27: in <module>
[dict(prefix='zlib-'),
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
name = 'zlib'
eci = <ExternalCompilationInfo (pre_include_bits=(), includes=('zlib.h',), include_d...libraries=('zlib1',), use_cpp_linker=False, platform=<MsvcPlatform cc=cl.exe>)>
configurations = [{'prefix': 'zlib-'}, {}], symbol = None, _cache = {}
def configure_external_library(name, eci, configurations,
symbol=None, _cache={}):
"""try to find the external library.
On Unix, this simply tests and returns the given eci.
On Windows, various configurations may be tried to compile the
given eci object. These configurations are a list of dicts,
containing:
- prefix: if an absolute path, will prefix each include and
library directories. If a relative path, the external
directory is searched for directories which names start
with the prefix. The last one in alphabetical order
chosen, and becomes the prefix.
- include_dir: prefix + include_dir is added to the include directories
- library_dir: prefix + library_dir is added to the library directories
"""
if sys.platform != 'win32':
configurations = []
key = (name, eci)
try:
return _cache[key]
except KeyError:
last_error = None
# Always try the default configuration
if {} not in configurations:
configurations.append({})
for configuration in configurations:
prefix = configuration.get('prefix', '')
include_dir = configuration.get('include_dir', '')
library_dir = configuration.get('library_dir', '')
if prefix and not os.path.isabs(prefix):
import glob
entries = glob.glob(str(PYPY_EXTERNAL_DIR.join(prefix + '*')))
if entries:
# Get last version
prefix = sorted(entries)[-1]
else:
continue
include_dir = os.path.join(prefix, include_dir)
library_dir = os.path.join(prefix, library_dir)
eci_lib = ExternalCompilationInfo(
include_dirs=include_dir and [include_dir] or [],
library_dirs=library_dir and [library_dir] or [],
)
eci_lib = eci_lib.merge(eci)
# verify that this eci can be compiled
try:
verify_eci(eci_lib)
except CompilationError as e:
last_error = e
else:
_cache[key] = eci_lib
return eci_lib
# Nothing found
if last_error:
> raise last_error
E CompilationError: CompilationError(out="""
E """)
rtyper\tool\rffi_platform.py:846: CompilationError
ERROR at setup of TestIncrementalMiniMarkGCMostCompact.test_framework_varsized
cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGCMostCompact'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator\c\test\test_newgc.py:84:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator\c\test\test_newgc.py:1637: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, rzlib
rlib\rzlib.py:27: in <module>
[dict(prefix='zlib-'),
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
name = 'zlib'
eci = <ExternalCompilationInfo (pre_include_bits=(), includes=('zlib.h',), include_d...libraries=('zlib1',), use_cpp_linker=False, platform=<MsvcPlatform cc=cl.exe>)>
configurations = [{'prefix': 'zlib-'}, {}], symbol = None, _cache = {}
def configure_external_library(name, eci, configurations,
symbol=None, _cache={}):
"""try to find the external library.
On Unix, this simply tests and returns the given eci.
On Windows, various configurations may be tried to compile the
given eci object. These configurations are a list of dicts,
containing:
- prefix: if an absolute path, will prefix each include and
library directories. If a relative path, the external
directory is searched for directories which names start
with the prefix. The last one in alphabetical order
chosen, and becomes the prefix.
- include_dir: prefix + include_dir is added to the include directories
- library_dir: prefix + library_dir is added to the library directories
"""
if sys.platform != 'win32':
configurations = []
key = (name, eci)
try:
return _cache[key]
except KeyError:
last_error = None
# Always try the default configuration
if {} not in configurations:
configurations.append({})
for configuration in configurations:
prefix = configuration.get('prefix', '')
include_dir = configuration.get('include_dir', '')
library_dir = configuration.get('library_dir', '')
if prefix and not os.path.isabs(prefix):
import glob
entries = glob.glob(str(PYPY_EXTERNAL_DIR.join(prefix + '*')))
if entries:
# Get last version
prefix = sorted(entries)[-1]
else:
continue
include_dir = os.path.join(prefix, include_dir)
library_dir = os.path.join(prefix, library_dir)
eci_lib = ExternalCompilationInfo(
include_dirs=include_dir and [include_dir] or [],
library_dirs=library_dir and [library_dir] or [],
)
eci_lib = eci_lib.merge(eci)
# verify that this eci can be compiled
try:
verify_eci(eci_lib)
except CompilationError as e:
last_error = e
else:
_cache[key] = eci_lib
return eci_lib
# Nothing found
if last_error:
> raise last_error
E CompilationError: CompilationError(out="""
E """)
rtyper\tool\rffi_platform.py:846: CompilationError
ERROR at setup of TestIncrementalMiniMarkGCMostCompact.test_framework_using_lists
cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGCMostCompact'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator\c\test\test_newgc.py:84:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator\c\test\test_newgc.py:1637: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, rzlib
rlib\rzlib.py:27: in <module>
[dict(prefix='zlib-'),
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
name = 'zlib'
eci = <ExternalCompilationInfo (pre_include_bits=(), includes=('zlib.h',), include_d...libraries=('zlib1',), use_cpp_linker=False, platform=<MsvcPlatform cc=cl.exe>)>
configurations = [{'prefix': 'zlib-'}, {}], symbol = None, _cache = {}
def configure_external_library(name, eci, configurations,
symbol=None, _cache={}):
"""try to find the external library.
On Unix, this simply tests and returns the given eci.
On Windows, various configurations may be tried to compile the
given eci object. These configurations are a list of dicts,
containing:
- prefix: if an absolute path, will prefix each include and
library directories. If a relative path, the external
directory is searched for directories which names start
with the prefix. The last one in alphabetical order
chosen, and becomes the prefix.
- include_dir: prefix + include_dir is added to the include directories
- library_dir: prefix + library_dir is added to the library directories
"""
if sys.platform != 'win32':
configurations = []
key = (name, eci)
try:
return _cache[key]
except KeyError:
last_error = None
# Always try the default configuration
if {} not in configurations:
configurations.append({})
for configuration in configurations:
prefix = configuration.get('prefix', '')
include_dir = configuration.get('include_dir', '')
library_dir = configuration.get('library_dir', '')
if prefix and not os.path.isabs(prefix):
import glob
entries = glob.glob(str(PYPY_EXTERNAL_DIR.join(prefix + '*')))
if entries:
# Get last version
prefix = sorted(entries)[-1]
else:
continue
include_dir = os.path.join(prefix, include_dir)
library_dir = os.path.join(prefix, library_dir)
eci_lib = ExternalCompilationInfo(
include_dirs=include_dir and [include_dir] or [],
library_dirs=library_dir and [library_dir] or [],
)
eci_lib = eci_lib.merge(eci)
# verify that this eci can be compiled
try:
verify_eci(eci_lib)
except CompilationError as e:
last_error = e
else:
_cache[key] = eci_lib
return eci_lib
# Nothing found
if last_error:
> raise last_error
E CompilationError: CompilationError(out="""
E """)
rtyper\tool\rffi_platform.py:846: CompilationError
ERROR at setup of TestIncrementalMiniMarkGCMostCompact.test_framework_static_roots
cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGCMostCompact'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator\c\test\test_newgc.py:84:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator\c\test\test_newgc.py:1637: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, rzlib
rlib\rzlib.py:27: in <module>
[dict(prefix='zlib-'),
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
name = 'zlib'
eci = <ExternalCompilationInfo (pre_include_bits=(), includes=('zlib.h',), include_d...libraries=('zlib1',), use_cpp_linker=False, platform=<MsvcPlatform cc=cl.exe>)>
configurations = [{'prefix': 'zlib-'}, {}], symbol = None, _cache = {}
def configure_external_library(name, eci, configurations,
symbol=None, _cache={}):
"""try to find the external library.
On Unix, this simply tests and returns the given eci.
On Windows, various configurations may be tried to compile the
given eci object. These configurations are a list of dicts,
containing:
- prefix: if an absolute path, will prefix each include and
library directories. If a relative path, the external
directory is searched for directories which names start
with the prefix. The last one in alphabetical order
chosen, and becomes the prefix.
- include_dir: prefix + include_dir is added to the include directories
- library_dir: prefix + library_dir is added to the library directories
"""
if sys.platform != 'win32':
configurations = []
key = (name, eci)
try:
return _cache[key]
except KeyError:
last_error = None
# Always try the default configuration
if {} not in configurations:
configurations.append({})
for configuration in configurations:
prefix = configuration.get('prefix', '')
include_dir = configuration.get('include_dir', '')
library_dir = configuration.get('library_dir', '')
if prefix and not os.path.isabs(prefix):
import glob
entries = glob.glob(str(PYPY_EXTERNAL_DIR.join(prefix + '*')))
if entries:
# Get last version
prefix = sorted(entries)[-1]
else:
continue
include_dir = os.path.join(prefix, include_dir)
library_dir = os.path.join(prefix, library_dir)
eci_lib = ExternalCompilationInfo(
include_dirs=include_dir and [include_dir] or [],
library_dirs=library_dir and [library_dir] or [],
)
eci_lib = eci_lib.merge(eci)
# verify that this eci can be compiled
try:
verify_eci(eci_lib)
except CompilationError as e:
last_error = e
else:
_cache[key] = eci_lib
return eci_lib
# Nothing found
if last_error:
> raise last_error
E CompilationError: CompilationError(out="""
E """)
rtyper\tool\rffi_platform.py:846: CompilationError
ERROR at setup of TestIncrementalMiniMarkGCMostCompact.test_framework_nongc_static_root
cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGCMostCompact'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator\c\test\test_newgc.py:84:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator\c\test\test_newgc.py:1637: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, rzlib
rlib\rzlib.py:27: in <module>
[dict(prefix='zlib-'),
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
name = 'zlib'
eci = <ExternalCompilationInfo (pre_include_bits=(), includes=('zlib.h',), include_d...libraries=('zlib1',), use_cpp_linker=False, platform=<MsvcPlatform cc=cl.exe>)>
configurations = [{'prefix': 'zlib-'}, {}], symbol = None, _cache = {}
def configure_external_library(name, eci, configurations,
symbol=None, _cache={}):
"""try to find the external library.
On Unix, this simply tests and returns the given eci.
On Windows, various configurations may be tried to compile the
given eci object. These configurations are a list of dicts,
containing:
- prefix: if an absolute path, will prefix each include and
library directories. If a relative path, the external
directory is searched for directories which names start
with the prefix. The last one in alphabetical order
chosen, and becomes the prefix.
- include_dir: prefix + include_dir is added to the include directories
- library_dir: prefix + library_dir is added to the library directories
"""
if sys.platform != 'win32':
configurations = []
key = (name, eci)
try:
return _cache[key]
except KeyError:
last_error = None
# Always try the default configuration
if {} not in configurations:
configurations.append({})
for configuration in configurations:
prefix = configuration.get('prefix', '')
include_dir = configuration.get('include_dir', '')
library_dir = configuration.get('library_dir', '')
if prefix and not os.path.isabs(prefix):
import glob
entries = glob.glob(str(PYPY_EXTERNAL_DIR.join(prefix + '*')))
if entries:
# Get last version
prefix = sorted(entries)[-1]
else:
continue
include_dir = os.path.join(prefix, include_dir)
library_dir = os.path.join(prefix, library_dir)
eci_lib = ExternalCompilationInfo(
include_dirs=include_dir and [include_dir] or [],
library_dirs=library_dir and [library_dir] or [],
)
eci_lib = eci_lib.merge(eci)
# verify that this eci can be compiled
try:
verify_eci(eci_lib)
except CompilationError as e:
last_error = e
else:
_cache[key] = eci_lib
return eci_lib
# Nothing found
if last_error:
> raise last_error
E CompilationError: CompilationError(out="""
E """)
rtyper\tool\rffi_platform.py:846: CompilationError
ERROR at setup of TestIncrementalMiniMarkGCMostCompact.test_framework_void_array
cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGCMostCompact'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator\c\test\test_newgc.py:84:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator\c\test\test_newgc.py:1637: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, rzlib
rlib\rzlib.py:27: in <module>
[dict(prefix='zlib-'),
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
name = 'zlib'
eci = <ExternalCompilationInfo (pre_include_bits=(), includes=('zlib.h',), include_d...libraries=('zlib1',), use_cpp_linker=False, platform=<MsvcPlatform cc=cl.exe>)>
configurations = [{'prefix': 'zlib-'}, {}], symbol = None, _cache = {}
def configure_external_library(name, eci, configurations,
symbol=None, _cache={}):
"""try to find the external library.
On Unix, this simply tests and returns the given eci.
On Windows, various configurations may be tried to compile the
given eci object. These configurations are a list of dicts,
containing:
- prefix: if an absolute path, will prefix each include and
library directories. If a relative path, the external
directory is searched for directories which names start
with the prefix. The last one in alphabetical order
chosen, and becomes the prefix.
- include_dir: prefix + include_dir is added to the include directories
- library_dir: prefix + library_dir is added to the library directories
"""
if sys.platform != 'win32':
configurations = []
key = (name, eci)
try:
return _cache[key]
except KeyError:
last_error = None
# Always try the default configuration
if {} not in configurations:
configurations.append({})
for configuration in configurations:
prefix = configuration.get('prefix', '')
include_dir = configuration.get('include_dir', '')
library_dir = configuration.get('library_dir', '')
if prefix and not os.path.isabs(prefix):
import glob
entries = glob.glob(str(PYPY_EXTERNAL_DIR.join(prefix + '*')))
if entries:
# Get last version
prefix = sorted(entries)[-1]
else:
continue
include_dir = os.path.join(prefix, include_dir)
library_dir = os.path.join(prefix, library_dir)
eci_lib = ExternalCompilationInfo(
include_dirs=include_dir and [include_dir] or [],
library_dirs=library_dir and [library_dir] or [],
)
eci_lib = eci_lib.merge(eci)
# verify that this eci can be compiled
try:
verify_eci(eci_lib)
except CompilationError as e:
last_error = e
else:
_cache[key] = eci_lib
return eci_lib
# Nothing found
if last_error:
> raise last_error
E CompilationError: CompilationError(out="""
E """)
rtyper\tool\rffi_platform.py:846: CompilationError
ERROR at setup of TestIncrementalMiniMarkGCMostCompact.test_framework_malloc_failure
cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGCMostCompact'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator\c\test\test_newgc.py:84:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator\c\test\test_newgc.py:1637: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, rzlib
rlib\rzlib.py:27: in <module>
[dict(prefix='zlib-'),
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
name = 'zlib'
eci = <ExternalCompilationInfo (pre_include_bits=(), includes=('zlib.h',), include_d...libraries=('zlib1',), use_cpp_linker=False, platform=<MsvcPlatform cc=cl.exe>)>
configurations = [{'prefix': 'zlib-'}, {}], symbol = None, _cache = {}
def configure_external_library(name, eci, configurations,
symbol=None, _cache={}):
"""try to find the external library.
On Unix, this simply tests and returns the given eci.
On Windows, various configurations may be tried to compile the
given eci object. These configurations are a list of dicts,
containing:
- prefix: if an absolute path, will prefix each include and
library directories. If a relative path, the external
directory is searched for directories which names start
with the prefix. The last one in alphabetical order
chosen, and becomes the prefix.
- include_dir: prefix + include_dir is added to the include directories
- library_dir: prefix + library_dir is added to the library directories
"""
if sys.platform != 'win32':
configurations = []
key = (name, eci)
try:
return _cache[key]
except KeyError:
last_error = None
# Always try the default configuration
if {} not in configurations:
configurations.append({})
for configuration in configurations:
prefix = configuration.get('prefix', '')
include_dir = configuration.get('include_dir', '')
library_dir = configuration.get('library_dir', '')
if prefix and not os.path.isabs(prefix):
import glob
entries = glob.glob(str(PYPY_EXTERNAL_DIR.join(prefix + '*')))
if entries:
# Get last version
prefix = sorted(entries)[-1]
else:
continue
include_dir = os.path.join(prefix, include_dir)
library_dir = os.path.join(prefix, library_dir)
eci_lib = ExternalCompilationInfo(
include_dirs=include_dir and [include_dir] or [],
library_dirs=library_dir and [library_dir] or [],
)
eci_lib = eci_lib.merge(eci)
# verify that this eci can be compiled
try:
verify_eci(eci_lib)
except CompilationError as e:
last_error = e
else:
_cache[key] = eci_lib
return eci_lib
# Nothing found
if last_error:
> raise last_error
E CompilationError: CompilationError(out="""
E """)
rtyper\tool\rffi_platform.py:846: CompilationError
ERROR at setup of TestIncrementalMiniMarkGCMostCompact.test_framework_array_of_void
cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGCMostCompact'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator\c\test\test_newgc.py:84:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator\c\test\test_newgc.py:1637: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, rzlib
rlib\rzlib.py:27: in <module>
[dict(prefix='zlib-'),
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
name = 'zlib'
eci = <ExternalCompilationInfo (pre_include_bits=(), includes=('zlib.h',), include_d...libraries=('zlib1',), use_cpp_linker=False, platform=<MsvcPlatform cc=cl.exe>)>
configurations = [{'prefix': 'zlib-'}, {}], symbol = None, _cache = {}
def configure_external_library(name, eci, configurations,
symbol=None, _cache={}):
"""try to find the external library.
On Unix, this simply tests and returns the given eci.
On Windows, various configurations may be tried to compile the
given eci object. These configurations are a list of dicts,
containing:
- prefix: if an absolute path, will prefix each include and
library directories. If a relative path, the external
directory is searched for directories which names start
with the prefix. The last one in alphabetical order
chosen, and becomes the prefix.
- include_dir: prefix + include_dir is added to the include directories
- library_dir: prefix + library_dir is added to the library directories
"""
if sys.platform != 'win32':
configurations = []
key = (name, eci)
try:
return _cache[key]
except KeyError:
last_error = None
# Always try the default configuration
if {} not in configurations:
configurations.append({})
for configuration in configurations:
prefix = configuration.get('prefix', '')
include_dir = configuration.get('include_dir', '')
library_dir = configuration.get('library_dir', '')
if prefix and not os.path.isabs(prefix):
import glob
entries = glob.glob(str(PYPY_EXTERNAL_DIR.join(prefix + '*')))
if entries:
# Get last version
prefix = sorted(entries)[-1]
else:
continue
include_dir = os.path.join(prefix, include_dir)
library_dir = os.path.join(prefix, library_dir)
eci_lib = ExternalCompilationInfo(
include_dirs=include_dir and [include_dir] or [],
library_dirs=library_dir and [library_dir] or [],
)
eci_lib = eci_lib.merge(eci)
# verify that this eci can be compiled
try:
verify_eci(eci_lib)
except CompilationError as e:
last_error = e
else:
_cache[key] = eci_lib
return eci_lib
# Nothing found
if last_error:
> raise last_error
E CompilationError: CompilationError(out="""
E """)
rtyper\tool\rffi_platform.py:846: CompilationError
ERROR at setup of TestIncrementalMiniMarkGCMostCompact.test_framework_opaque _
cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGCMostCompact'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator\c\test\test_newgc.py:84:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator\c\test\test_newgc.py:1637: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, rzlib
rlib\rzlib.py:27: in <module>
[dict(prefix='zlib-'),
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
name = 'zlib'
eci = <ExternalCompilationInfo (pre_include_bits=(), includes=('zlib.h',), include_d...libraries=('zlib1',), use_cpp_linker=False, platform=<MsvcPlatform cc=cl.exe>)>
configurations = [{'prefix': 'zlib-'}, {}], symbol = None, _cache = {}
def configure_external_library(name, eci, configurations,
symbol=None, _cache={}):
"""try to find the external library.
On Unix, this simply tests and returns the given eci.
On Windows, various configurations may be tried to compile the
given eci object. These configurations are a list of dicts,
containing:
- prefix: if an absolute path, will prefix each include and
library directories. If a relative path, the external
directory is searched for directories which names start
with the prefix. The last one in alphabetical order
chosen, and becomes the prefix.
- include_dir: prefix + include_dir is added to the include directories
- library_dir: prefix + library_dir is added to the library directories
"""
if sys.platform != 'win32':
configurations = []
key = (name, eci)
try:
return _cache[key]
except KeyError:
last_error = None
# Always try the default configuration
if {} not in configurations:
configurations.append({})
for configuration in configurations:
prefix = configuration.get('prefix', '')
include_dir = configuration.get('include_dir', '')
library_dir = configuration.get('library_dir', '')
if prefix and not os.path.isabs(prefix):
import glob
entries = glob.glob(str(PYPY_EXTERNAL_DIR.join(prefix + '*')))
if entries:
# Get last version
prefix = sorted(entries)[-1]
else:
continue
include_dir = os.path.join(prefix, include_dir)
library_dir = os.path.join(prefix, library_dir)
eci_lib = ExternalCompilationInfo(
include_dirs=include_dir and [include_dir] or [],
library_dirs=library_dir and [library_dir] or [],
)
eci_lib = eci_lib.merge(eci)
# verify that this eci can be compiled
try:
verify_eci(eci_lib)
except CompilationError as e:
last_error = e
else:
_cache[key] = eci_lib
return eci_lib
# Nothing found
if last_error:
> raise last_error
E CompilationError: CompilationError(out="""
E """)
rtyper\tool\rffi_platform.py:846: CompilationError
ERROR at setup of TestIncrementalMiniMarkGCMostCompact.test_framework_finalizer
cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGCMostCompact'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator\c\test\test_newgc.py:84:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator\c\test\test_newgc.py:1637: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, rzlib
rlib\rzlib.py:27: in <module>
[dict(prefix='zlib-'),
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
name = 'zlib'
eci = <ExternalCompilationInfo (pre_include_bits=(), includes=('zlib.h',), include_d...libraries=('zlib1',), use_cpp_linker=False, platform=<MsvcPlatform cc=cl.exe>)>
configurations = [{'prefix': 'zlib-'}, {}], symbol = None, _cache = {}
def configure_external_library(name, eci, configurations,
symbol=None, _cache={}):
"""try to find the external library.
On Unix, this simply tests and returns the given eci.
On Windows, various configurations may be tried to compile the
given eci object. These configurations are a list of dicts,
containing:
- prefix: if an absolute path, will prefix each include and
library directories. If a relative path, the external
directory is searched for directories which names start
with the prefix. The last one in alphabetical order
chosen, and becomes the prefix.
- include_dir: prefix + include_dir is added to the include directories
- library_dir: prefix + library_dir is added to the library directories
"""
if sys.platform != 'win32':
configurations = []
key = (name, eci)
try:
return _cache[key]
except KeyError:
last_error = None
# Always try the default configuration
if {} not in configurations:
configurations.append({})
for configuration in configurations:
prefix = configuration.get('prefix', '')
include_dir = configuration.get('include_dir', '')
library_dir = configuration.get('library_dir', '')
if prefix and not os.path.isabs(prefix):
import glob
entries = glob.glob(str(PYPY_EXTERNAL_DIR.join(prefix + '*')))
if entries:
# Get last version
prefix = sorted(entries)[-1]
else:
continue
include_dir = os.path.join(prefix, include_dir)
library_dir = os.path.join(prefix, library_dir)
eci_lib = ExternalCompilationInfo(
include_dirs=include_dir and [include_dir] or [],
library_dirs=library_dir and [library_dir] or [],
)
eci_lib = eci_lib.merge(eci)
# verify that this eci can be compiled
try:
verify_eci(eci_lib)
except CompilationError as e:
last_error = e
else:
_cache[key] = eci_lib
return eci_lib
# Nothing found
if last_error:
> raise last_error
E CompilationError: CompilationError(out="""
E """)
rtyper\tool\rffi_platform.py:846: CompilationError
___ ERROR at setup of TestIncrementalMiniMarkGCMostCompact.test_del_catches ___
cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGCMostCompact'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator\c\test\test_newgc.py:84:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator\c\test\test_newgc.py:1637: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, rzlib
rlib\rzlib.py:27: in <module>
[dict(prefix='zlib-'),
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
name = 'zlib'
eci = <ExternalCompilationInfo (pre_include_bits=(), includes=('zlib.h',), include_d...libraries=('zlib1',), use_cpp_linker=False, platform=<MsvcPlatform cc=cl.exe>)>
configurations = [{'prefix': 'zlib-'}, {}], symbol = None, _cache = {}
def configure_external_library(name, eci, configurations,
symbol=None, _cache={}):
"""try to find the external library.
On Unix, this simply tests and returns the given eci.
On Windows, various configurations may be tried to compile the
given eci object. These configurations are a list of dicts,
containing:
- prefix: if an absolute path, will prefix each include and
library directories. If a relative path, the external
directory is searched for directories which names start
with the prefix. The last one in alphabetical order
chosen, and becomes the prefix.
- include_dir: prefix + include_dir is added to the include directories
- library_dir: prefix + library_dir is added to the library directories
"""
if sys.platform != 'win32':
configurations = []
key = (name, eci)
try:
return _cache[key]
except KeyError:
last_error = None
# Always try the default configuration
if {} not in configurations:
configurations.append({})
for configuration in configurations:
prefix = configuration.get('prefix', '')
include_dir = configuration.get('include_dir', '')
library_dir = configuration.get('library_dir', '')
if prefix and not os.path.isabs(prefix):
import glob
entries = glob.glob(str(PYPY_EXTERNAL_DIR.join(prefix + '*')))
if entries:
# Get last version
prefix = sorted(entries)[-1]
else:
continue
include_dir = os.path.join(prefix, include_dir)
library_dir = os.path.join(prefix, library_dir)
eci_lib = ExternalCompilationInfo(
include_dirs=include_dir and [include_dir] or [],
library_dirs=library_dir and [library_dir] or [],
)
eci_lib = eci_lib.merge(eci)
# verify that this eci can be compiled
try:
verify_eci(eci_lib)
except CompilationError as e:
last_error = e
else:
_cache[key] = eci_lib
return eci_lib
# Nothing found
if last_error:
> raise last_error
E CompilationError: CompilationError(out="""
E """)
rtyper\tool\rffi_platform.py:846: CompilationError
___ ERROR at setup of TestIncrementalMiniMarkGCMostCompact.test_del_raises ____
cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGCMostCompact'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator\c\test\test_newgc.py:84:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator\c\test\test_newgc.py:1637: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, rzlib
rlib\rzlib.py:27: in <module>
[dict(prefix='zlib-'),
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
name = 'zlib'
eci = <ExternalCompilationInfo (pre_include_bits=(), includes=('zlib.h',), include_d...libraries=('zlib1',), use_cpp_linker=False, platform=<MsvcPlatform cc=cl.exe>)>
configurations = [{'prefix': 'zlib-'}, {}], symbol = None, _cache = {}
def configure_external_library(name, eci, configurations,
symbol=None, _cache={}):
"""try to find the external library.
On Unix, this simply tests and returns the given eci.
On Windows, various configurations may be tried to compile the
given eci object. These configurations are a list of dicts,
containing:
- prefix: if an absolute path, will prefix each include and
library directories. If a relative path, the external
directory is searched for directories which names start
with the prefix. The last one in alphabetical order
chosen, and becomes the prefix.
- include_dir: prefix + include_dir is added to the include directories
- library_dir: prefix + library_dir is added to the library directories
"""
if sys.platform != 'win32':
configurations = []
key = (name, eci)
try:
return _cache[key]
except KeyError:
last_error = None
# Always try the default configuration
if {} not in configurations:
configurations.append({})
for configuration in configurations:
prefix = configuration.get('prefix', '')
include_dir = configuration.get('include_dir', '')
library_dir = configuration.get('library_dir', '')
if prefix and not os.path.isabs(prefix):
import glob
entries = glob.glob(str(PYPY_EXTERNAL_DIR.join(prefix + '*')))
if entries:
# Get last version
prefix = sorted(entries)[-1]
else:
continue
include_dir = os.path.join(prefix, include_dir)
library_dir = os.path.join(prefix, library_dir)
eci_lib = ExternalCompilationInfo(
include_dirs=include_dir and [include_dir] or [],
library_dirs=library_dir and [library_dir] or [],
)
eci_lib = eci_lib.merge(eci)
# verify that this eci can be compiled
try:
verify_eci(eci_lib)
except CompilationError as e:
last_error = e
else:
_cache[key] = eci_lib
return eci_lib
# Nothing found
if last_error:
> raise last_error
E CompilationError: CompilationError(out="""
E """)
rtyper\tool\rffi_platform.py:846: CompilationError
__ ERROR at setup of TestIncrementalMiniMarkGCMostCompact.test_custom_trace ___
cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGCMostCompact'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator\c\test\test_newgc.py:84:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator\c\test\test_newgc.py:1637: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, rzlib
rlib\rzlib.py:27: in <module>
[dict(prefix='zlib-'),
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
name = 'zlib'
eci = <ExternalCompilationInfo (pre_include_bits=(), includes=('zlib.h',), include_d...libraries=('zlib1',), use_cpp_linker=False, platform=<MsvcPlatform cc=cl.exe>)>
configurations = [{'prefix': 'zlib-'}, {}], symbol = None, _cache = {}
def configure_external_library(name, eci, configurations,
symbol=None, _cache={}):
"""try to find the external library.
On Unix, this simply tests and returns the given eci.
On Windows, various configurations may be tried to compile the
given eci object. These configurations are a list of dicts,
containing:
- prefix: if an absolute path, will prefix each include and
library directories. If a relative path, the external
directory is searched for directories which names start
with the prefix. The last one in alphabetical order
chosen, and becomes the prefix.
- include_dir: prefix + include_dir is added to the include directories
- library_dir: prefix + library_dir is added to the library directories
"""
if sys.platform != 'win32':
configurations = []
key = (name, eci)
try:
return _cache[key]
except KeyError:
last_error = None
# Always try the default configuration
if {} not in configurations:
configurations.append({})
for configuration in configurations:
prefix = configuration.get('prefix', '')
include_dir = configuration.get('include_dir', '')
library_dir = configuration.get('library_dir', '')
if prefix and not os.path.isabs(prefix):
import glob
entries = glob.glob(str(PYPY_EXTERNAL_DIR.join(prefix + '*')))
if entries:
# Get last version
prefix = sorted(entries)[-1]
else:
continue
include_dir = os.path.join(prefix, include_dir)
library_dir = os.path.join(prefix, library_dir)
eci_lib = ExternalCompilationInfo(
include_dirs=include_dir and [include_dir] or [],
library_dirs=library_dir and [library_dir] or [],
)
eci_lib = eci_lib.merge(eci)
# verify that this eci can be compiled
try:
verify_eci(eci_lib)
except CompilationError as e:
last_error = e
else:
_cache[key] = eci_lib
return eci_lib
# Nothing found
if last_error:
> raise last_error
E CompilationError: CompilationError(out="""
E """)
rtyper\tool\rffi_platform.py:846: CompilationError
ERROR at setup of TestIncrementalMiniMarkGCMostCompact.test_custom_light_finalizer
cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGCMostCompact'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator\c\test\test_newgc.py:84:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator\c\test\test_newgc.py:1637: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, rzlib
rlib\rzlib.py:27: in <module>
[dict(prefix='zlib-'),
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
name = 'zlib'
eci = <ExternalCompilationInfo (pre_include_bits=(), includes=('zlib.h',), include_d...libraries=('zlib1',), use_cpp_linker=False, platform=<MsvcPlatform cc=cl.exe>)>
configurations = [{'prefix': 'zlib-'}, {}], symbol = None, _cache = {}
def configure_external_library(name, eci, configurations,
symbol=None, _cache={}):
"""try to find the external library.
On Unix, this simply tests and returns the given eci.
On Windows, various configurations may be tried to compile the
given eci object. These configurations are a list of dicts,
containing:
- prefix: if an absolute path, will prefix each include and
library directories. If a relative path, the external
directory is searched for directories which names start
with the prefix. The last one in alphabetical order
chosen, and becomes the prefix.
- include_dir: prefix + include_dir is added to the include directories
- library_dir: prefix + library_dir is added to the library directories
"""
if sys.platform != 'win32':
configurations = []
key = (name, eci)
try:
return _cache[key]
except KeyError:
last_error = None
# Always try the default configuration
if {} not in configurations:
configurations.append({})
for configuration in configurations:
prefix = configuration.get('prefix', '')
include_dir = configuration.get('include_dir', '')
library_dir = configuration.get('library_dir', '')
if prefix and not os.path.isabs(prefix):
import glob
entries = glob.glob(str(PYPY_EXTERNAL_DIR.join(prefix + '*')))
if entries:
# Get last version
prefix = sorted(entries)[-1]
else:
continue
include_dir = os.path.join(prefix, include_dir)
library_dir = os.path.join(prefix, library_dir)
eci_lib = ExternalCompilationInfo(
include_dirs=include_dir and [include_dir] or [],
library_dirs=library_dir and [library_dir] or [],
)
eci_lib = eci_lib.merge(eci)
# verify that this eci can be compiled
try:
verify_eci(eci_lib)
except CompilationError as e:
last_error = e
else:
_cache[key] = eci_lib
return eci_lib
# Nothing found
if last_error:
> raise last_error
E CompilationError: CompilationError(out="""
E """)
rtyper\tool\rffi_platform.py:846: CompilationError
_____ ERROR at setup of TestIncrementalMiniMarkGCMostCompact.test_weakref _____
cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGCMostCompact'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator\c\test\test_newgc.py:84:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator\c\test\test_newgc.py:1637: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, rzlib
rlib\rzlib.py:27: in <module>
[dict(prefix='zlib-'),
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
name = 'zlib'
eci = <ExternalCompilationInfo (pre_include_bits=(), includes=('zlib.h',), include_d...libraries=('zlib1',), use_cpp_linker=False, platform=<MsvcPlatform cc=cl.exe>)>
configurations = [{'prefix': 'zlib-'}, {}], symbol = None, _cache = {}
def configure_external_library(name, eci, configurations,
symbol=None, _cache={}):
"""try to find the external library.
On Unix, this simply tests and returns the given eci.
On Windows, various configurations may be tried to compile the
given eci object. These configurations are a list of dicts,
containing:
- prefix: if an absolute path, will prefix each include and
library directories. If a relative path, the external
directory is searched for directories which names start
with the prefix. The last one in alphabetical order
chosen, and becomes the prefix.
- include_dir: prefix + include_dir is added to the include directories
- library_dir: prefix + library_dir is added to the library directories
"""
if sys.platform != 'win32':
configurations = []
key = (name, eci)
try:
return _cache[key]
except KeyError:
last_error = None
# Always try the default configuration
if {} not in configurations:
configurations.append({})
for configuration in configurations:
prefix = configuration.get('prefix', '')
include_dir = configuration.get('include_dir', '')
library_dir = configuration.get('library_dir', '')
if prefix and not os.path.isabs(prefix):
import glob
entries = glob.glob(str(PYPY_EXTERNAL_DIR.join(prefix + '*')))
if entries:
# Get last version
prefix = sorted(entries)[-1]
else:
continue
include_dir = os.path.join(prefix, include_dir)
library_dir = os.path.join(prefix, library_dir)
eci_lib = ExternalCompilationInfo(
include_dirs=include_dir and [include_dir] or [],
library_dirs=library_dir and [library_dir] or [],
)
eci_lib = eci_lib.merge(eci)
# verify that this eci can be compiled
try:
verify_eci(eci_lib)
except CompilationError as e:
last_error = e
else:
_cache[key] = eci_lib
return eci_lib
# Nothing found
if last_error:
> raise last_error
E CompilationError: CompilationError(out="""
E """)
rtyper\tool\rffi_platform.py:846: CompilationError
ERROR at setup of TestIncrementalMiniMarkGCMostCompact.test_prebuilt_weakref _
cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGCMostCompact'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator\c\test\test_newgc.py:84:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator\c\test\test_newgc.py:1637: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, rzlib
rlib\rzlib.py:27: in <module>
[dict(prefix='zlib-'),
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
name = 'zlib'
eci = <ExternalCompilationInfo (pre_include_bits=(), includes=('zlib.h',), include_d...libraries=('zlib1',), use_cpp_linker=False, platform=<MsvcPlatform cc=cl.exe>)>
configurations = [{'prefix': 'zlib-'}, {}], symbol = None, _cache = {}
def configure_external_library(name, eci, configurations,
symbol=None, _cache={}):
"""try to find the external library.
On Unix, this simply tests and returns the given eci.
On Windows, various configurations may be tried to compile the
given eci object. These configurations are a list of dicts,
containing:
- prefix: if an absolute path, will prefix each include and
library directories. If a relative path, the external
directory is searched for directories which names start
with the prefix. The last one in alphabetical order
chosen, and becomes the prefix.
- include_dir: prefix + include_dir is added to the include directories
- library_dir: prefix + library_dir is added to the library directories
"""
if sys.platform != 'win32':
configurations = []
key = (name, eci)
try:
return _cache[key]
except KeyError:
last_error = None
# Always try the default configuration
if {} not in configurations:
configurations.append({})
for configuration in configurations:
prefix = configuration.get('prefix', '')
include_dir = configuration.get('include_dir', '')
library_dir = configuration.get('library_dir', '')
if prefix and not os.path.isabs(prefix):
import glob
entries = glob.glob(str(PYPY_EXTERNAL_DIR.join(prefix + '*')))
if entries:
# Get last version
prefix = sorted(entries)[-1]
else:
continue
include_dir = os.path.join(prefix, include_dir)
library_dir = os.path.join(prefix, library_dir)
eci_lib = ExternalCompilationInfo(
include_dirs=include_dir and [include_dir] or [],
library_dirs=library_dir and [library_dir] or [],
)
eci_lib = eci_lib.merge(eci)
# verify that this eci can be compiled
try:
verify_eci(eci_lib)
except CompilationError as e:
last_error = e
else:
_cache[key] = eci_lib
return eci_lib
# Nothing found
if last_error:
> raise last_error
E CompilationError: CompilationError(out="""
E """)
rtyper\tool\rffi_platform.py:846: CompilationError
ERROR at setup of TestIncrementalMiniMarkGCMostCompact.test_prebuilt_dicts_of_all_sizes
cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGCMostCompact'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator\c\test\test_newgc.py:84:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator\c\test\test_newgc.py:1637: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, rzlib
rlib\rzlib.py:27: in <module>
[dict(prefix='zlib-'),
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
name = 'zlib'
eci = <ExternalCompilationInfo (pre_include_bits=(), includes=('zlib.h',), include_d...libraries=('zlib1',), use_cpp_linker=False, platform=<MsvcPlatform cc=cl.exe>)>
configurations = [{'prefix': 'zlib-'}, {}], symbol = None, _cache = {}
def configure_external_library(name, eci, configurations,
symbol=None, _cache={}):
"""try to find the external library.
On Unix, this simply tests and returns the given eci.
On Windows, various configurations may be tried to compile the
given eci object. These configurations are a list of dicts,
containing:
- prefix: if an absolute path, will prefix each include and
library directories. If a relative path, the external
directory is searched for directories which names start
with the prefix. The last one in alphabetical order
chosen, and becomes the prefix.
- include_dir: prefix + include_dir is added to the include directories
- library_dir: prefix + library_dir is added to the library directories
"""
if sys.platform != 'win32':
configurations = []
key = (name, eci)
try:
return _cache[key]
except KeyError:
last_error = None
# Always try the default configuration
if {} not in configurations:
configurations.append({})
for configuration in configurations:
prefix = configuration.get('prefix', '')
include_dir = configuration.get('include_dir', '')
library_dir = configuration.get('library_dir', '')
if prefix and not os.path.isabs(prefix):
import glob
entries = glob.glob(str(PYPY_EXTERNAL_DIR.join(prefix + '*')))
if entries:
# Get last version
prefix = sorted(entries)[-1]
else:
continue
include_dir = os.path.join(prefix, include_dir)
library_dir = os.path.join(prefix, library_dir)
eci_lib = ExternalCompilationInfo(
include_dirs=include_dir and [include_dir] or [],
library_dirs=library_dir and [library_dir] or [],
)
eci_lib = eci_lib.merge(eci)
# verify that this eci can be compiled
try:
verify_eci(eci_lib)
except CompilationError as e:
last_error = e
else:
_cache[key] = eci_lib
return eci_lib
# Nothing found
if last_error:
> raise last_error
E CompilationError: CompilationError(out="""
E """)
rtyper\tool\rffi_platform.py:846: CompilationError
ERROR at setup of TestIncrementalMiniMarkGCMostCompact.test_framework_malloc_raw
cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGCMostCompact'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator\c\test\test_newgc.py:84:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator\c\test\test_newgc.py:1637: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, rzlib
rlib\rzlib.py:27: in <module>
[dict(prefix='zlib-'),
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
name = 'zlib'
eci = <ExternalCompilationInfo (pre_include_bits=(), includes=('zlib.h',), include_d...libraries=('zlib1',), use_cpp_linker=False, platform=<MsvcPlatform cc=cl.exe>)>
configurations = [{'prefix': 'zlib-'}, {}], symbol = None, _cache = {}
def configure_external_library(name, eci, configurations,
symbol=None, _cache={}):
"""try to find the external library.
On Unix, this simply tests and returns the given eci.
On Windows, various configurations may be tried to compile the
given eci object. These configurations are a list of dicts,
containing:
- prefix: if an absolute path, will prefix each include and
library directories. If a relative path, the external
directory is searched for directories which names start
with the prefix. The last one in alphabetical order
chosen, and becomes the prefix.
- include_dir: prefix + include_dir is added to the include directories
- library_dir: prefix + library_dir is added to the library directories
"""
if sys.platform != 'win32':
configurations = []
key = (name, eci)
try:
return _cache[key]
except KeyError:
last_error = None
# Always try the default configuration
if {} not in configurations:
configurations.append({})
for configuration in configurations:
prefix = configuration.get('prefix', '')
include_dir = configuration.get('include_dir', '')
library_dir = configuration.get('library_dir', '')
if prefix and not os.path.isabs(prefix):
import glob
entries = glob.glob(str(PYPY_EXTERNAL_DIR.join(prefix + '*')))
if entries:
# Get last version
prefix = sorted(entries)[-1]
else:
continue
include_dir = os.path.join(prefix, include_dir)
library_dir = os.path.join(prefix, library_dir)
eci_lib = ExternalCompilationInfo(
include_dirs=include_dir and [include_dir] or [],
library_dirs=library_dir and [library_dir] or [],
)
eci_lib = eci_lib.merge(eci)
# verify that this eci can be compiled
try:
verify_eci(eci_lib)
except CompilationError as e:
last_error = e
else:
_cache[key] = eci_lib
return eci_lib
# Nothing found
if last_error:
> raise last_error
E CompilationError: CompilationError(out="""
E """)
rtyper\tool\rffi_platform.py:846: CompilationError
ERROR at setup of TestIncrementalMiniMarkGCMostCompact.test_framework_del_seeing_new_types
cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGCMostCompact'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator\c\test\test_newgc.py:84:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator\c\test\test_newgc.py:1637: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, rzlib
rlib\rzlib.py:27: in <module>
[dict(prefix='zlib-'),
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
name = 'zlib'
eci = <ExternalCompilationInfo (pre_include_bits=(), includes=('zlib.h',), include_d...libraries=('zlib1',), use_cpp_linker=False, platform=<MsvcPlatform cc=cl.exe>)>
configurations = [{'prefix': 'zlib-'}, {}], symbol = None, _cache = {}
def configure_external_library(name, eci, configurations,
symbol=None, _cache={}):
"""try to find the external library.
On Unix, this simply tests and returns the given eci.
On Windows, various configurations may be tried to compile the
given eci object. These configurations are a list of dicts,
containing:
- prefix: if an absolute path, will prefix each include and
library directories. If a relative path, the external
directory is searched for directories which names start
with the prefix. The last one in alphabetical order
chosen, and becomes the prefix.
- include_dir: prefix + include_dir is added to the include directories
- library_dir: prefix + library_dir is added to the library directories
"""
if sys.platform != 'win32':
configurations = []
key = (name, eci)
try:
return _cache[key]
except KeyError:
last_error = None
# Always try the default configuration
if {} not in configurations:
configurations.append({})
for configuration in configurations:
prefix = configuration.get('prefix', '')
include_dir = configuration.get('include_dir', '')
library_dir = configuration.get('library_dir', '')
if prefix and not os.path.isabs(prefix):
import glob
entries = glob.glob(str(PYPY_EXTERNAL_DIR.join(prefix + '*')))
if entries:
# Get last version
prefix = sorted(entries)[-1]
else:
continue
include_dir = os.path.join(prefix, include_dir)
library_dir = os.path.join(prefix, library_dir)
eci_lib = ExternalCompilationInfo(
include_dirs=include_dir and [include_dir] or [],
library_dirs=library_dir and [library_dir] or [],
)
eci_lib = eci_lib.merge(eci)
# verify that this eci can be compiled
try:
verify_eci(eci_lib)
except CompilationError as e:
last_error = e
else:
_cache[key] = eci_lib
return eci_lib
# Nothing found
if last_error:
> raise last_error
E CompilationError: CompilationError(out="""
E """)
rtyper\tool\rffi_platform.py:846: CompilationError
ERROR at setup of TestIncrementalMiniMarkGCMostCompact.test_framework_late_filling_pointers
cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGCMostCompact'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator\c\test\test_newgc.py:84:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator\c\test\test_newgc.py:1637: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, rzlib
rlib\rzlib.py:27: in <module>
[dict(prefix='zlib-'),
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
name = 'zlib'
eci = <ExternalCompilationInfo (pre_include_bits=(), includes=('zlib.h',), include_d...libraries=('zlib1',), use_cpp_linker=False, platform=<MsvcPlatform cc=cl.exe>)>
configurations = [{'prefix': 'zlib-'}, {}], symbol = None, _cache = {}
def configure_external_library(name, eci, configurations,
symbol=None, _cache={}):
"""try to find the external library.
On Unix, this simply tests and returns the given eci.
On Windows, various configurations may be tried to compile the
given eci object. These configurations are a list of dicts,
containing:
- prefix: if an absolute path, will prefix each include and
library directories. If a relative path, the external
directory is searched for directories which names start
with the prefix. The last one in alphabetical order
chosen, and becomes the prefix.
- include_dir: prefix + include_dir is added to the include directories
- library_dir: prefix + library_dir is added to the library directories
"""
if sys.platform != 'win32':
configurations = []
key = (name, eci)
try:
return _cache[key]
except KeyError:
last_error = None
# Always try the default configuration
if {} not in configurations:
configurations.append({})
for configuration in configurations:
prefix = configuration.get('prefix', '')
include_dir = configuration.get('include_dir', '')
library_dir = configuration.get('library_dir', '')
if prefix and not os.path.isabs(prefix):
import glob
entries = glob.glob(str(PYPY_EXTERNAL_DIR.join(prefix + '*')))
if entries:
# Get last version
prefix = sorted(entries)[-1]
else:
continue
include_dir = os.path.join(prefix, include_dir)
library_dir = os.path.join(prefix, library_dir)
eci_lib = ExternalCompilationInfo(
include_dirs=include_dir and [include_dir] or [],
library_dirs=library_dir and [library_dir] or [],
)
eci_lib = eci_lib.merge(eci)
# verify that this eci can be compiled
try:
verify_eci(eci_lib)
except CompilationError as e:
last_error = e
else:
_cache[key] = eci_lib
return eci_lib
# Nothing found
if last_error:
> raise last_error
E CompilationError: CompilationError(out="""
E """)
rtyper\tool\rffi_platform.py:846: CompilationError
_ ERROR at setup of TestIncrementalMiniMarkGCMostCompact.test_zero_raw_malloc _
cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGCMostCompact'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator\c\test\test_newgc.py:84:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator\c\test\test_newgc.py:1637: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, rzlib
rlib\rzlib.py:27: in <module>
[dict(prefix='zlib-'),
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
name = 'zlib'
eci = <ExternalCompilationInfo (pre_include_bits=(), includes=('zlib.h',), include_d...libraries=('zlib1',), use_cpp_linker=False, platform=<MsvcPlatform cc=cl.exe>)>
configurations = [{'prefix': 'zlib-'}, {}], symbol = None, _cache = {}
def configure_external_library(name, eci, configurations,
symbol=None, _cache={}):
"""try to find the external library.
On Unix, this simply tests and returns the given eci.
On Windows, various configurations may be tried to compile the
given eci object. These configurations are a list of dicts,
containing:
- prefix: if an absolute path, will prefix each include and
library directories. If a relative path, the external
directory is searched for directories which names start
with the prefix. The last one in alphabetical order
chosen, and becomes the prefix.
- include_dir: prefix + include_dir is added to the include directories
- library_dir: prefix + library_dir is added to the library directories
"""
if sys.platform != 'win32':
configurations = []
key = (name, eci)
try:
return _cache[key]
except KeyError:
last_error = None
# Always try the default configuration
if {} not in configurations:
configurations.append({})
for configuration in configurations:
prefix = configuration.get('prefix', '')
include_dir = configuration.get('include_dir', '')
library_dir = configuration.get('library_dir', '')
if prefix and not os.path.isabs(prefix):
import glob
entries = glob.glob(str(PYPY_EXTERNAL_DIR.join(prefix + '*')))
if entries:
# Get last version
prefix = sorted(entries)[-1]
else:
continue
include_dir = os.path.join(prefix, include_dir)
library_dir = os.path.join(prefix, library_dir)
eci_lib = ExternalCompilationInfo(
include_dirs=include_dir and [include_dir] or [],
library_dirs=library_dir and [library_dir] or [],
)
eci_lib = eci_lib.merge(eci)
# verify that this eci can be compiled
try:
verify_eci(eci_lib)
except CompilationError as e:
last_error = e
else:
_cache[key] = eci_lib
return eci_lib
# Nothing found
if last_error:
> raise last_error
E CompilationError: CompilationError(out="""
E """)
rtyper\tool\rffi_platform.py:846: CompilationError
ERROR at setup of TestIncrementalMiniMarkGCMostCompact.test_object_alignment _
cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGCMostCompact'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator\c\test\test_newgc.py:84:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator\c\test\test_newgc.py:1637: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, rzlib
rlib\rzlib.py:27: in <module>
[dict(prefix='zlib-'),
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
name = 'zlib'
eci = <ExternalCompilationInfo (pre_include_bits=(), includes=('zlib.h',), include_d...libraries=('zlib1',), use_cpp_linker=False, platform=<MsvcPlatform cc=cl.exe>)>
configurations = [{'prefix': 'zlib-'}, {}], symbol = None, _cache = {}
def configure_external_library(name, eci, configurations,
symbol=None, _cache={}):
"""try to find the external library.
On Unix, this simply tests and returns the given eci.
On Windows, various configurations may be tried to compile the
given eci object. These configurations are a list of dicts,
containing:
- prefix: if an absolute path, will prefix each include and
library directories. If a relative path, the external
directory is searched for directories which names start
with the prefix. The last one in alphabetical order
chosen, and becomes the prefix.
- include_dir: prefix + include_dir is added to the include directories
- library_dir: prefix + library_dir is added to the library directories
"""
if sys.platform != 'win32':
configurations = []
key = (name, eci)
try:
return _cache[key]
except KeyError:
last_error = None
# Always try the default configuration
if {} not in configurations:
configurations.append({})
for configuration in configurations:
prefix = configuration.get('prefix', '')
include_dir = configuration.get('include_dir', '')
library_dir = configuration.get('library_dir', '')
if prefix and not os.path.isabs(prefix):
import glob
entries = glob.glob(str(PYPY_EXTERNAL_DIR.join(prefix + '*')))
if entries:
# Get last version
prefix = sorted(entries)[-1]
else:
continue
include_dir = os.path.join(prefix, include_dir)
library_dir = os.path.join(prefix, library_dir)
eci_lib = ExternalCompilationInfo(
include_dirs=include_dir and [include_dir] or [],
library_dirs=library_dir and [library_dir] or [],
)
eci_lib = eci_lib.merge(eci)
# verify that this eci can be compiled
try:
verify_eci(eci_lib)
except CompilationError as e:
last_error = e
else:
_cache[key] = eci_lib
return eci_lib
# Nothing found
if last_error:
> raise last_error
E CompilationError: CompilationError(out="""
E """)
rtyper\tool\rffi_platform.py:846: CompilationError
____ ERROR at setup of TestIncrementalMiniMarkGCMostCompact.test_void_list ____
cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGCMostCompact'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator\c\test\test_newgc.py:84:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator\c\test\test_newgc.py:1637: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, rzlib
rlib\rzlib.py:27: in <module>
[dict(prefix='zlib-'),
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
name = 'zlib'
eci = <ExternalCompilationInfo (pre_include_bits=(), includes=('zlib.h',), include_d...libraries=('zlib1',), use_cpp_linker=False, platform=<MsvcPlatform cc=cl.exe>)>
configurations = [{'prefix': 'zlib-'}, {}], symbol = None, _cache = {}
def configure_external_library(name, eci, configurations,
symbol=None, _cache={}):
"""try to find the external library.
On Unix, this simply tests and returns the given eci.
On Windows, various configurations may be tried to compile the
given eci object. These configurations are a list of dicts,
containing:
- prefix: if an absolute path, will prefix each include and
library directories. If a relative path, the external
directory is searched for directories which names start
with the prefix. The last one in alphabetical order
chosen, and becomes the prefix.
- include_dir: prefix + include_dir is added to the include directories
- library_dir: prefix + library_dir is added to the library directories
"""
if sys.platform != 'win32':
configurations = []
key = (name, eci)
try:
return _cache[key]
except KeyError:
last_error = None
# Always try the default configuration
if {} not in configurations:
configurations.append({})
for configuration in configurations:
prefix = configuration.get('prefix', '')
include_dir = configuration.get('include_dir', '')
library_dir = configuration.get('library_dir', '')
if prefix and not os.path.isabs(prefix):
import glob
entries = glob.glob(str(PYPY_EXTERNAL_DIR.join(prefix + '*')))
if entries:
# Get last version
prefix = sorted(entries)[-1]
else:
continue
include_dir = os.path.join(prefix, include_dir)
library_dir = os.path.join(prefix, library_dir)
eci_lib = ExternalCompilationInfo(
include_dirs=include_dir and [include_dir] or [],
library_dirs=library_dir and [library_dir] or [],
)
eci_lib = eci_lib.merge(eci)
# verify that this eci can be compiled
try:
verify_eci(eci_lib)
except CompilationError as e:
last_error = e
else:
_cache[key] = eci_lib
return eci_lib
# Nothing found
if last_error:
> raise last_error
E CompilationError: CompilationError(out="""
E """)
rtyper\tool\rffi_platform.py:846: CompilationError
ERROR at setup of TestIncrementalMiniMarkGCMostCompact.test_open_read_write_seek_close
cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGCMostCompact'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator\c\test\test_newgc.py:84:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator\c\test\test_newgc.py:1637: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, rzlib
rlib\rzlib.py:27: in <module>
[dict(prefix='zlib-'),
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
name = 'zlib'
eci = <ExternalCompilationInfo (pre_include_bits=(), includes=('zlib.h',), include_d...libraries=('zlib1',), use_cpp_linker=False, platform=<MsvcPlatform cc=cl.exe>)>
configurations = [{'prefix': 'zlib-'}, {}], symbol = None, _cache = {}
def configure_external_library(name, eci, configurations,
symbol=None, _cache={}):
"""try to find the external library.
On Unix, this simply tests and returns the given eci.
On Windows, various configurations may be tried to compile the
given eci object. These configurations are a list of dicts,
containing:
- prefix: if an absolute path, will prefix each include and
library directories. If a relative path, the external
directory is searched for directories which names start
with the prefix. The last one in alphabetical order
chosen, and becomes the prefix.
- include_dir: prefix + include_dir is added to the include directories
- library_dir: prefix + library_dir is added to the library directories
"""
if sys.platform != 'win32':
configurations = []
key = (name, eci)
try:
return _cache[key]
except KeyError:
last_error = None
# Always try the default configuration
if {} not in configurations:
configurations.append({})
for configuration in configurations:
prefix = configuration.get('prefix', '')
include_dir = configuration.get('include_dir', '')
library_dir = configuration.get('library_dir', '')
if prefix and not os.path.isabs(prefix):
import glob
entries = glob.glob(str(PYPY_EXTERNAL_DIR.join(prefix + '*')))
if entries:
# Get last version
prefix = sorted(entries)[-1]
else:
continue
include_dir = os.path.join(prefix, include_dir)
library_dir = os.path.join(prefix, library_dir)
eci_lib = ExternalCompilationInfo(
include_dirs=include_dir and [include_dir] or [],
library_dirs=library_dir and [library_dir] or [],
)
eci_lib = eci_lib.merge(eci)
# verify that this eci can be compiled
try:
verify_eci(eci_lib)
except CompilationError as e:
last_error = e
else:
_cache[key] = eci_lib
return eci_lib
# Nothing found
if last_error:
> raise last_error
E CompilationError: CompilationError(out="""
E """)
rtyper\tool\rffi_platform.py:846: CompilationError
ERROR at setup of TestIncrementalMiniMarkGCMostCompact.test_callback_with_collect
cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGCMostCompact'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator\c\test\test_newgc.py:84:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator\c\test\test_newgc.py:1637: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, rzlib
rlib\rzlib.py:27: in <module>
[dict(prefix='zlib-'),
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
name = 'zlib'
eci = <ExternalCompilationInfo (pre_include_bits=(), includes=('zlib.h',), include_d...libraries=('zlib1',), use_cpp_linker=False, platform=<MsvcPlatform cc=cl.exe>)>
configurations = [{'prefix': 'zlib-'}, {}], symbol = None, _cache = {}
def configure_external_library(name, eci, configurations,
symbol=None, _cache={}):
"""try to find the external library.
On Unix, this simply tests and returns the given eci.
On Windows, various configurations may be tried to compile the
given eci object. These configurations are a list of dicts,
containing:
- prefix: if an absolute path, will prefix each include and
library directories. If a relative path, the external
directory is searched for directories which names start
with the prefix. The last one in alphabetical order
chosen, and becomes the prefix.
- include_dir: prefix + include_dir is added to the include directories
- library_dir: prefix + library_dir is added to the library directories
"""
if sys.platform != 'win32':
configurations = []
key = (name, eci)
try:
return _cache[key]
except KeyError:
last_error = None
# Always try the default configuration
if {} not in configurations:
configurations.append({})
for configuration in configurations:
prefix = configuration.get('prefix', '')
include_dir = configuration.get('include_dir', '')
library_dir = configuration.get('library_dir', '')
if prefix and not os.path.isabs(prefix):
import glob
entries = glob.glob(str(PYPY_EXTERNAL_DIR.join(prefix + '*')))
if entries:
# Get last version
prefix = sorted(entries)[-1]
else:
continue
include_dir = os.path.join(prefix, include_dir)
library_dir = os.path.join(prefix, library_dir)
eci_lib = ExternalCompilationInfo(
include_dirs=include_dir and [include_dir] or [],
library_dirs=library_dir and [library_dir] or [],
)
eci_lib = eci_lib.merge(eci)
# verify that this eci can be compiled
try:
verify_eci(eci_lib)
except CompilationError as e:
last_error = e
else:
_cache[key] = eci_lib
return eci_lib
# Nothing found
if last_error:
> raise last_error
E CompilationError: CompilationError(out="""
E """)
rtyper\tool\rffi_platform.py:846: CompilationError
____ ERROR at setup of TestIncrementalMiniMarkGCMostCompact.test_can_move _____
cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGCMostCompact'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator\c\test\test_newgc.py:84:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator\c\test\test_newgc.py:1637: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, rzlib
rlib\rzlib.py:27: in <module>
[dict(prefix='zlib-'),
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
name = 'zlib'
eci = <ExternalCompilationInfo (pre_include_bits=(), includes=('zlib.h',), include_d...libraries=('zlib1',), use_cpp_linker=False, platform=<MsvcPlatform cc=cl.exe>)>
configurations = [{'prefix': 'zlib-'}, {}], symbol = None, _cache = {}
def configure_external_library(name, eci, configurations,
symbol=None, _cache={}):
"""try to find the external library.
On Unix, this simply tests and returns the given eci.
On Windows, various configurations may be tried to compile the
given eci object. These configurations are a list of dicts,
containing:
- prefix: if an absolute path, will prefix each include and
library directories. If a relative path, the external
directory is searched for directories which names start
with the prefix. The last one in alphabetical order
chosen, and becomes the prefix.
- include_dir: prefix + include_dir is added to the include directories
- library_dir: prefix + library_dir is added to the library directories
"""
if sys.platform != 'win32':
configurations = []
key = (name, eci)
try:
return _cache[key]
except KeyError:
last_error = None
# Always try the default configuration
if {} not in configurations:
configurations.append({})
for configuration in configurations:
prefix = configuration.get('prefix', '')
include_dir = configuration.get('include_dir', '')
library_dir = configuration.get('library_dir', '')
if prefix and not os.path.isabs(prefix):
import glob
entries = glob.glob(str(PYPY_EXTERNAL_DIR.join(prefix + '*')))
if entries:
# Get last version
prefix = sorted(entries)[-1]
else:
continue
include_dir = os.path.join(prefix, include_dir)
library_dir = os.path.join(prefix, library_dir)
eci_lib = ExternalCompilationInfo(
include_dirs=include_dir and [include_dir] or [],
library_dirs=library_dir and [library_dir] or [],
)
eci_lib = eci_lib.merge(eci)
# verify that this eci can be compiled
try:
verify_eci(eci_lib)
except CompilationError as e:
last_error = e
else:
_cache[key] = eci_lib
return eci_lib
# Nothing found
if last_error:
> raise last_error
E CompilationError: CompilationError(out="""
E """)
rtyper\tool\rffi_platform.py:846: CompilationError
ERROR at setup of TestIncrementalMiniMarkGCMostCompact.test_resizable_buffer _
cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGCMostCompact'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator\c\test\test_newgc.py:84:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator\c\test\test_newgc.py:1637: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, rzlib
rlib\rzlib.py:27: in <module>
[dict(prefix='zlib-'),
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
name = 'zlib'
eci = <ExternalCompilationInfo (pre_include_bits=(), includes=('zlib.h',), include_d...libraries=('zlib1',), use_cpp_linker=False, platform=<MsvcPlatform cc=cl.exe>)>
configurations = [{'prefix': 'zlib-'}, {}], symbol = None, _cache = {}
def configure_external_library(name, eci, configurations,
symbol=None, _cache={}):
"""try to find the external library.
On Unix, this simply tests and returns the given eci.
On Windows, various configurations may be tried to compile the
given eci object. These configurations are a list of dicts,
containing:
- prefix: if an absolute path, will prefix each include and
library directories. If a relative path, the external
directory is searched for directories which names start
with the prefix. The last one in alphabetical order
chosen, and becomes the prefix.
- include_dir: prefix + include_dir is added to the include directories
- library_dir: prefix + library_dir is added to the library directories
"""
if sys.platform != 'win32':
configurations = []
key = (name, eci)
try:
return _cache[key]
except KeyError:
last_error = None
# Always try the default configuration
if {} not in configurations:
configurations.append({})
for configuration in configurations:
prefix = configuration.get('prefix', '')
include_dir = configuration.get('include_dir', '')
library_dir = configuration.get('library_dir', '')
if prefix and not os.path.isabs(prefix):
import glob
entries = glob.glob(str(PYPY_EXTERNAL_DIR.join(prefix + '*')))
if entries:
# Get last version
prefix = sorted(entries)[-1]
else:
continue
include_dir = os.path.join(prefix, include_dir)
library_dir = os.path.join(prefix, library_dir)
eci_lib = ExternalCompilationInfo(
include_dirs=include_dir and [include_dir] or [],
library_dirs=library_dir and [library_dir] or [],
)
eci_lib = eci_lib.merge(eci)
# verify that this eci can be compiled
try:
verify_eci(eci_lib)
except CompilationError as e:
last_error = e
else:
_cache[key] = eci_lib
return eci_lib
# Nothing found
if last_error:
> raise last_error
E CompilationError: CompilationError(out="""
E """)
rtyper\tool\rffi_platform.py:846: CompilationError
ERROR at setup of TestIncrementalMiniMarkGCMostCompact.test_hash_preservation
cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGCMostCompact'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator\c\test\test_newgc.py:84:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator\c\test\test_newgc.py:1637: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, rzlib
rlib\rzlib.py:27: in <module>
[dict(prefix='zlib-'),
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
name = 'zlib'
eci = <ExternalCompilationInfo (pre_include_bits=(), includes=('zlib.h',), include_d...libraries=('zlib1',), use_cpp_linker=False, platform=<MsvcPlatform cc=cl.exe>)>
configurations = [{'prefix': 'zlib-'}, {}], symbol = None, _cache = {}
def configure_external_library(name, eci, configurations,
symbol=None, _cache={}):
"""try to find the external library.
On Unix, this simply tests and returns the given eci.
On Windows, various configurations may be tried to compile the
given eci object. These configurations are a list of dicts,
containing:
- prefix: if an absolute path, will prefix each include and
library directories. If a relative path, the external
directory is searched for directories which names start
with the prefix. The last one in alphabetical order
chosen, and becomes the prefix.
- include_dir: prefix + include_dir is added to the include directories
- library_dir: prefix + library_dir is added to the library directories
"""
if sys.platform != 'win32':
configurations = []
key = (name, eci)
try:
return _cache[key]
except KeyError:
last_error = None
# Always try the default configuration
if {} not in configurations:
configurations.append({})
for configuration in configurations:
prefix = configuration.get('prefix', '')
include_dir = configuration.get('include_dir', '')
library_dir = configuration.get('library_dir', '')
if prefix and not os.path.isabs(prefix):
import glob
entries = glob.glob(str(PYPY_EXTERNAL_DIR.join(prefix + '*')))
if entries:
# Get last version
prefix = sorted(entries)[-1]
else:
continue
include_dir = os.path.join(prefix, include_dir)
library_dir = os.path.join(prefix, library_dir)
eci_lib = ExternalCompilationInfo(
include_dirs=include_dir and [include_dir] or [],
library_dirs=library_dir and [library_dir] or [],
)
eci_lib = eci_lib.merge(eci)
# verify that this eci can be compiled
try:
verify_eci(eci_lib)
except CompilationError as e:
last_error = e
else:
_cache[key] = eci_lib
return eci_lib
# Nothing found
if last_error:
> raise last_error
E CompilationError: CompilationError(out="""
E """)
rtyper\tool\rffi_platform.py:846: CompilationError
__ ERROR at setup of TestIncrementalMiniMarkGCMostCompact.test_hash_overflow __
cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGCMostCompact'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator\c\test\test_newgc.py:84:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator\c\test\test_newgc.py:1637: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, rzlib
rlib\rzlib.py:27: in <module>
[dict(prefix='zlib-'),
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
name = 'zlib'
eci = <ExternalCompilationInfo (pre_include_bits=(), includes=('zlib.h',), include_d...libraries=('zlib1',), use_cpp_linker=False, platform=<MsvcPlatform cc=cl.exe>)>
configurations = [{'prefix': 'zlib-'}, {}], symbol = None, _cache = {}
def configure_external_library(name, eci, configurations,
symbol=None, _cache={}):
"""try to find the external library.
On Unix, this simply tests and returns the given eci.
On Windows, various configurations may be tried to compile the
given eci object. These configurations are a list of dicts,
containing:
- prefix: if an absolute path, will prefix each include and
library directories. If a relative path, the external
directory is searched for directories which names start
with the prefix. The last one in alphabetical order
chosen, and becomes the prefix.
- include_dir: prefix + include_dir is added to the include directories
- library_dir: prefix + library_dir is added to the library directories
"""
if sys.platform != 'win32':
configurations = []
key = (name, eci)
try:
return _cache[key]
except KeyError:
last_error = None
# Always try the default configuration
if {} not in configurations:
configurations.append({})
for configuration in configurations:
prefix = configuration.get('prefix', '')
include_dir = configuration.get('include_dir', '')
library_dir = configuration.get('library_dir', '')
if prefix and not os.path.isabs(prefix):
import glob
entries = glob.glob(str(PYPY_EXTERNAL_DIR.join(prefix + '*')))
if entries:
# Get last version
prefix = sorted(entries)[-1]
else:
continue
include_dir = os.path.join(prefix, include_dir)
library_dir = os.path.join(prefix, library_dir)
eci_lib = ExternalCompilationInfo(
include_dirs=include_dir and [include_dir] or [],
library_dirs=library_dir and [library_dir] or [],
)
eci_lib = eci_lib.merge(eci)
# verify that this eci can be compiled
try:
verify_eci(eci_lib)
except CompilationError as e:
last_error = e
else:
_cache[key] = eci_lib
return eci_lib
# Nothing found
if last_error:
> raise last_error
E CompilationError: CompilationError(out="""
E """)
rtyper\tool\rffi_platform.py:846: CompilationError
__ ERROR at setup of TestIncrementalMiniMarkGCMostCompact.test_hash_varsized __
cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGCMostCompact'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator\c\test\test_newgc.py:84:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator\c\test\test_newgc.py:1637: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, rzlib
rlib\rzlib.py:27: in <module>
[dict(prefix='zlib-'),
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
name = 'zlib'
eci = <ExternalCompilationInfo (pre_include_bits=(), includes=('zlib.h',), include_d...libraries=('zlib1',), use_cpp_linker=False, platform=<MsvcPlatform cc=cl.exe>)>
configurations = [{'prefix': 'zlib-'}, {}], symbol = None, _cache = {}
def configure_external_library(name, eci, configurations,
symbol=None, _cache={}):
"""try to find the external library.
On Unix, this simply tests and returns the given eci.
On Windows, various configurations may be tried to compile the
given eci object. These configurations are a list of dicts,
containing:
- prefix: if an absolute path, will prefix each include and
library directories. If a relative path, the external
directory is searched for directories which names start
with the prefix. The last one in alphabetical order
chosen, and becomes the prefix.
- include_dir: prefix + include_dir is added to the include directories
- library_dir: prefix + library_dir is added to the library directories
"""
if sys.platform != 'win32':
configurations = []
key = (name, eci)
try:
return _cache[key]
except KeyError:
last_error = None
# Always try the default configuration
if {} not in configurations:
configurations.append({})
for configuration in configurations:
prefix = configuration.get('prefix', '')
include_dir = configuration.get('include_dir', '')
library_dir = configuration.get('library_dir', '')
if prefix and not os.path.isabs(prefix):
import glob
entries = glob.glob(str(PYPY_EXTERNAL_DIR.join(prefix + '*')))
if entries:
# Get last version
prefix = sorted(entries)[-1]
else:
continue
include_dir = os.path.join(prefix, include_dir)
library_dir = os.path.join(prefix, library_dir)
eci_lib = ExternalCompilationInfo(
include_dirs=include_dir and [include_dir] or [],
library_dirs=library_dir and [library_dir] or [],
)
eci_lib = eci_lib.merge(eci)
# verify that this eci can be compiled
try:
verify_eci(eci_lib)
except CompilationError as e:
last_error = e
else:
_cache[key] = eci_lib
return eci_lib
# Nothing found
if last_error:
> raise last_error
E CompilationError: CompilationError(out="""
E """)
rtyper\tool\rffi_platform.py:846: CompilationError
ERROR at setup of TestIncrementalMiniMarkGCMostCompact.test_arraycopy_writebarrier_int
cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGCMostCompact'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator\c\test\test_newgc.py:84:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator\c\test\test_newgc.py:1637: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, rzlib
rlib\rzlib.py:27: in <module>
[dict(prefix='zlib-'),
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
name = 'zlib'
eci = <ExternalCompilationInfo (pre_include_bits=(), includes=('zlib.h',), include_d...libraries=('zlib1',), use_cpp_linker=False, platform=<MsvcPlatform cc=cl.exe>)>
configurations = [{'prefix': 'zlib-'}, {}], symbol = None, _cache = {}
def configure_external_library(name, eci, configurations,
symbol=None, _cache={}):
"""try to find the external library.
On Unix, this simply tests and returns the given eci.
On Windows, various configurations may be tried to compile the
given eci object. These configurations are a list of dicts,
containing:
- prefix: if an absolute path, will prefix each include and
library directories. If a relative path, the external
directory is searched for directories which names start
with the prefix. The last one in alphabetical order
chosen, and becomes the prefix.
- include_dir: prefix + include_dir is added to the include directories
- library_dir: prefix + library_dir is added to the library directories
"""
if sys.platform != 'win32':
configurations = []
key = (name, eci)
try:
return _cache[key]
except KeyError:
last_error = None
# Always try the default configuration
if {} not in configurations:
configurations.append({})
for configuration in configurations:
prefix = configuration.get('prefix', '')
include_dir = configuration.get('include_dir', '')
library_dir = configuration.get('library_dir', '')
if prefix and not os.path.isabs(prefix):
import glob
entries = glob.glob(str(PYPY_EXTERNAL_DIR.join(prefix + '*')))
if entries:
# Get last version
prefix = sorted(entries)[-1]
else:
continue
include_dir = os.path.join(prefix, include_dir)
library_dir = os.path.join(prefix, library_dir)
eci_lib = ExternalCompilationInfo(
include_dirs=include_dir and [include_dir] or [],
library_dirs=library_dir and [library_dir] or [],
)
eci_lib = eci_lib.merge(eci)
# verify that this eci can be compiled
try:
verify_eci(eci_lib)
except CompilationError as e:
last_error = e
else:
_cache[key] = eci_lib
return eci_lib
# Nothing found
if last_error:
> raise last_error
E CompilationError: CompilationError(out="""
E """)
rtyper\tool\rffi_platform.py:846: CompilationError
ERROR at setup of TestIncrementalMiniMarkGCMostCompact.test_arraycopy_writebarrier_ptr
cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGCMostCompact'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator\c\test\test_newgc.py:84:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator\c\test\test_newgc.py:1637: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, rzlib
rlib\rzlib.py:27: in <module>
[dict(prefix='zlib-'),
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
name = 'zlib'
eci = <ExternalCompilationInfo (pre_include_bits=(), includes=('zlib.h',), include_d...libraries=('zlib1',), use_cpp_linker=False, platform=<MsvcPlatform cc=cl.exe>)>
configurations = [{'prefix': 'zlib-'}, {}], symbol = None, _cache = {}
def configure_external_library(name, eci, configurations,
symbol=None, _cache={}):
"""try to find the external library.
On Unix, this simply tests and returns the given eci.
On Windows, various configurations may be tried to compile the
given eci object. These configurations are a list of dicts,
containing:
- prefix: if an absolute path, will prefix each include and
library directories. If a relative path, the external
directory is searched for directories which names start
with the prefix. The last one in alphabetical order
chosen, and becomes the prefix.
- include_dir: prefix + include_dir is added to the include directories
- library_dir: prefix + library_dir is added to the library directories
"""
if sys.platform != 'win32':
configurations = []
key = (name, eci)
try:
return _cache[key]
except KeyError:
last_error = None
# Always try the default configuration
if {} not in configurations:
configurations.append({})
for configuration in configurations:
prefix = configuration.get('prefix', '')
include_dir = configuration.get('include_dir', '')
library_dir = configuration.get('library_dir', '')
if prefix and not os.path.isabs(prefix):
import glob
entries = glob.glob(str(PYPY_EXTERNAL_DIR.join(prefix + '*')))
if entries:
# Get last version
prefix = sorted(entries)[-1]
else:
continue
include_dir = os.path.join(prefix, include_dir)
library_dir = os.path.join(prefix, library_dir)
eci_lib = ExternalCompilationInfo(
include_dirs=include_dir and [include_dir] or [],
library_dirs=library_dir and [library_dir] or [],
)
eci_lib = eci_lib.merge(eci)
# verify that this eci can be compiled
try:
verify_eci(eci_lib)
except CompilationError as e:
last_error = e
else:
_cache[key] = eci_lib
return eci_lib
# Nothing found
if last_error:
> raise last_error
E CompilationError: CompilationError(out="""
E """)
rtyper\tool\rffi_platform.py:846: CompilationError
__ ERROR at setup of TestIncrementalMiniMarkGCMostCompact.test_get_rpy_roots __
cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGCMostCompact'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator\c\test\test_newgc.py:84:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator\c\test\test_newgc.py:1637: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, rzlib
rlib\rzlib.py:27: in <module>
[dict(prefix='zlib-'),
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
name = 'zlib'
eci = <ExternalCompilationInfo (pre_include_bits=(), includes=('zlib.h',), include_d...libraries=('zlib1',), use_cpp_linker=False, platform=<MsvcPlatform cc=cl.exe>)>
configurations = [{'prefix': 'zlib-'}, {}], symbol = None, _cache = {}
def configure_external_library(name, eci, configurations,
symbol=None, _cache={}):
"""try to find the external library.
On Unix, this simply tests and returns the given eci.
On Windows, various configurations may be tried to compile the
given eci object. These configurations are a list of dicts,
containing:
- prefix: if an absolute path, will prefix each include and
library directories. If a relative path, the external
directory is searched for directories which names start
with the prefix. The last one in alphabetical order
chosen, and becomes the prefix.
- include_dir: prefix + include_dir is added to the include directories
- library_dir: prefix + library_dir is added to the library directories
"""
if sys.platform != 'win32':
configurations = []
key = (name, eci)
try:
return _cache[key]
except KeyError:
last_error = None
# Always try the default configuration
if {} not in configurations:
configurations.append({})
for configuration in configurations:
prefix = configuration.get('prefix', '')
include_dir = configuration.get('include_dir', '')
library_dir = configuration.get('library_dir', '')
if prefix and not os.path.isabs(prefix):
import glob
entries = glob.glob(str(PYPY_EXTERNAL_DIR.join(prefix + '*')))
if entries:
# Get last version
prefix = sorted(entries)[-1]
else:
continue
include_dir = os.path.join(prefix, include_dir)
library_dir = os.path.join(prefix, library_dir)
eci_lib = ExternalCompilationInfo(
include_dirs=include_dir and [include_dir] or [],
library_dirs=library_dir and [library_dir] or [],
)
eci_lib = eci_lib.merge(eci)
# verify that this eci can be compiled
try:
verify_eci(eci_lib)
except CompilationError as e:
last_error = e
else:
_cache[key] = eci_lib
return eci_lib
# Nothing found
if last_error:
> raise last_error
E CompilationError: CompilationError(out="""
E """)
rtyper\tool\rffi_platform.py:846: CompilationError
ERROR at setup of TestIncrementalMiniMarkGCMostCompact.test_get_rpy_referents
cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGCMostCompact'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator\c\test\test_newgc.py:84:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator\c\test\test_newgc.py:1637: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, rzlib
rlib\rzlib.py:27: in <module>
[dict(prefix='zlib-'),
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
name = 'zlib'
eci = <ExternalCompilationInfo (pre_include_bits=(), includes=('zlib.h',), include_d...libraries=('zlib1',), use_cpp_linker=False, platform=<MsvcPlatform cc=cl.exe>)>
configurations = [{'prefix': 'zlib-'}, {}], symbol = None, _cache = {}
def configure_external_library(name, eci, configurations,
symbol=None, _cache={}):
"""try to find the external library.
On Unix, this simply tests and returns the given eci.
On Windows, various configurations may be tried to compile the
given eci object. These configurations are a list of dicts,
containing:
- prefix: if an absolute path, will prefix each include and
library directories. If a relative path, the external
directory is searched for directories which names start
with the prefix. The last one in alphabetical order
chosen, and becomes the prefix.
- include_dir: prefix + include_dir is added to the include directories
- library_dir: prefix + library_dir is added to the library directories
"""
if sys.platform != 'win32':
configurations = []
key = (name, eci)
try:
return _cache[key]
except KeyError:
last_error = None
# Always try the default configuration
if {} not in configurations:
configurations.append({})
for configuration in configurations:
prefix = configuration.get('prefix', '')
include_dir = configuration.get('include_dir', '')
library_dir = configuration.get('library_dir', '')
if prefix and not os.path.isabs(prefix):
import glob
entries = glob.glob(str(PYPY_EXTERNAL_DIR.join(prefix + '*')))
if entries:
# Get last version
prefix = sorted(entries)[-1]
else:
continue
include_dir = os.path.join(prefix, include_dir)
library_dir = os.path.join(prefix, library_dir)
eci_lib = ExternalCompilationInfo(
include_dirs=include_dir and [include_dir] or [],
library_dirs=library_dir and [library_dir] or [],
)
eci_lib = eci_lib.merge(eci)
# verify that this eci can be compiled
try:
verify_eci(eci_lib)
except CompilationError as e:
last_error = e
else:
_cache[key] = eci_lib
return eci_lib
# Nothing found
if last_error:
> raise last_error
E CompilationError: CompilationError(out="""
E """)
rtyper\tool\rffi_platform.py:846: CompilationError
_ ERROR at setup of TestIncrementalMiniMarkGCMostCompact.test_is_rpy_instance _
cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGCMostCompact'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator\c\test\test_newgc.py:84:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator\c\test\test_newgc.py:1637: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, rzlib
rlib\rzlib.py:27: in <module>
[dict(prefix='zlib-'),
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
name = 'zlib'
eci = <ExternalCompilationInfo (pre_include_bits=(), includes=('zlib.h',), include_d...libraries=('zlib1',), use_cpp_linker=False, platform=<MsvcPlatform cc=cl.exe>)>
configurations = [{'prefix': 'zlib-'}, {}], symbol = None, _cache = {}
def configure_external_library(name, eci, configurations,
symbol=None, _cache={}):
"""try to find the external library.
On Unix, this simply tests and returns the given eci.
On Windows, various configurations may be tried to compile the
given eci object. These configurations are a list of dicts,
containing:
- prefix: if an absolute path, will prefix each include and
library directories. If a relative path, the external
directory is searched for directories which names start
with the prefix. The last one in alphabetical order
chosen, and becomes the prefix.
- include_dir: prefix + include_dir is added to the include directories
- library_dir: prefix + library_dir is added to the library directories
"""
if sys.platform != 'win32':
configurations = []
key = (name, eci)
try:
return _cache[key]
except KeyError:
last_error = None
# Always try the default configuration
if {} not in configurations:
configurations.append({})
for configuration in configurations:
prefix = configuration.get('prefix', '')
include_dir = configuration.get('include_dir', '')
library_dir = configuration.get('library_dir', '')
if prefix and not os.path.isabs(prefix):
import glob
entries = glob.glob(str(PYPY_EXTERNAL_DIR.join(prefix + '*')))
if entries:
# Get last version
prefix = sorted(entries)[-1]
else:
continue
include_dir = os.path.join(prefix, include_dir)
library_dir = os.path.join(prefix, library_dir)
eci_lib = ExternalCompilationInfo(
include_dirs=include_dir and [include_dir] or [],
library_dirs=library_dir and [library_dir] or [],
)
eci_lib = eci_lib.merge(eci)
# verify that this eci can be compiled
try:
verify_eci(eci_lib)
except CompilationError as e:
last_error = e
else:
_cache[key] = eci_lib
return eci_lib
# Nothing found
if last_error:
> raise last_error
E CompilationError: CompilationError(out="""
E """)
rtyper\tool\rffi_platform.py:846: CompilationError
ERROR at setup of TestIncrementalMiniMarkGCMostCompact.test_try_cast_gcref_to_instance
cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGCMostCompact'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator\c\test\test_newgc.py:84:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator\c\test\test_newgc.py:1637: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, rzlib
rlib\rzlib.py:27: in <module>
[dict(prefix='zlib-'),
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
name = 'zlib'
eci = <ExternalCompilationInfo (pre_include_bits=(), includes=('zlib.h',), include_d...libraries=('zlib1',), use_cpp_linker=False, platform=<MsvcPlatform cc=cl.exe>)>
configurations = [{'prefix': 'zlib-'}, {}], symbol = None, _cache = {}
def configure_external_library(name, eci, configurations,
symbol=None, _cache={}):
"""try to find the external library.
On Unix, this simply tests and returns the given eci.
On Windows, various configurations may be tried to compile the
given eci object. These configurations are a list of dicts,
containing:
- prefix: if an absolute path, will prefix each include and
library directories. If a relative path, the external
directory is searched for directories which names start
with the prefix. The last one in alphabetical order
chosen, and becomes the prefix.
- include_dir: prefix + include_dir is added to the include directories
- library_dir: prefix + library_dir is added to the library directories
"""
if sys.platform != 'win32':
configurations = []
key = (name, eci)
try:
return _cache[key]
except KeyError:
last_error = None
# Always try the default configuration
if {} not in configurations:
configurations.append({})
for configuration in configurations:
prefix = configuration.get('prefix', '')
include_dir = configuration.get('include_dir', '')
library_dir = configuration.get('library_dir', '')
if prefix and not os.path.isabs(prefix):
import glob
entries = glob.glob(str(PYPY_EXTERNAL_DIR.join(prefix + '*')))
if entries:
# Get last version
prefix = sorted(entries)[-1]
else:
continue
include_dir = os.path.join(prefix, include_dir)
library_dir = os.path.join(prefix, library_dir)
eci_lib = ExternalCompilationInfo(
include_dirs=include_dir and [include_dir] or [],
library_dirs=library_dir and [library_dir] or [],
)
eci_lib = eci_lib.merge(eci)
# verify that this eci can be compiled
try:
verify_eci(eci_lib)
except CompilationError as e:
last_error = e
else:
_cache[key] = eci_lib
return eci_lib
# Nothing found
if last_error:
> raise last_error
E CompilationError: CompilationError(out="""
E """)
rtyper\tool\rffi_platform.py:846: CompilationError
ERROR at setup of TestIncrementalMiniMarkGCMostCompact.test_get_rpy_memory_usage
cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGCMostCompact'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator\c\test\test_newgc.py:84:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator\c\test\test_newgc.py:1637: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, rzlib
rlib\rzlib.py:27: in <module>
[dict(prefix='zlib-'),
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
name = 'zlib'
eci = <ExternalCompilationInfo (pre_include_bits=(), includes=('zlib.h',), include_d...libraries=('zlib1',), use_cpp_linker=False, platform=<MsvcPlatform cc=cl.exe>)>
configurations = [{'prefix': 'zlib-'}, {}], symbol = None, _cache = {}
def configure_external_library(name, eci, configurations,
symbol=None, _cache={}):
"""try to find the external library.
On Unix, this simply tests and returns the given eci.
On Windows, various configurations may be tried to compile the
given eci object. These configurations are a list of dicts,
containing:
- prefix: if an absolute path, will prefix each include and
library directories. If a relative path, the external
directory is searched for directories which names start
with the prefix. The last one in alphabetical order
chosen, and becomes the prefix.
- include_dir: prefix + include_dir is added to the include directories
- library_dir: prefix + library_dir is added to the library directories
"""
if sys.platform != 'win32':
configurations = []
key = (name, eci)
try:
return _cache[key]
except KeyError:
last_error = None
# Always try the default configuration
if {} not in configurations:
configurations.append({})
for configuration in configurations:
prefix = configuration.get('prefix', '')
include_dir = configuration.get('include_dir', '')
library_dir = configuration.get('library_dir', '')
if prefix and not os.path.isabs(prefix):
import glob
entries = glob.glob(str(PYPY_EXTERNAL_DIR.join(prefix + '*')))
if entries:
# Get last version
prefix = sorted(entries)[-1]
else:
continue
include_dir = os.path.join(prefix, include_dir)
library_dir = os.path.join(prefix, library_dir)
eci_lib = ExternalCompilationInfo(
include_dirs=include_dir and [include_dir] or [],
library_dirs=library_dir and [library_dir] or [],
)
eci_lib = eci_lib.merge(eci)
# verify that this eci can be compiled
try:
verify_eci(eci_lib)
except CompilationError as e:
last_error = e
else:
_cache[key] = eci_lib
return eci_lib
# Nothing found
if last_error:
> raise last_error
E CompilationError: CompilationError(out="""
E """)
rtyper\tool\rffi_platform.py:846: CompilationError
ERROR at setup of TestIncrementalMiniMarkGCMostCompact.test_get_rpy_type_index
cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGCMostCompact'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator\c\test\test_newgc.py:84:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator\c\test\test_newgc.py:1637: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, rzlib
rlib\rzlib.py:27: in <module>
[dict(prefix='zlib-'),
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
name = 'zlib'
eci = <ExternalCompilationInfo (pre_include_bits=(), includes=('zlib.h',), include_d...libraries=('zlib1',), use_cpp_linker=False, platform=<MsvcPlatform cc=cl.exe>)>
configurations = [{'prefix': 'zlib-'}, {}], symbol = None, _cache = {}
def configure_external_library(name, eci, configurations,
symbol=None, _cache={}):
"""try to find the external library.
On Unix, this simply tests and returns the given eci.
On Windows, various configurations may be tried to compile the
given eci object. These configurations are a list of dicts,
containing:
- prefix: if an absolute path, will prefix each include and
library directories. If a relative path, the external
directory is searched for directories which names start
with the prefix. The last one in alphabetical order
chosen, and becomes the prefix.
- include_dir: prefix + include_dir is added to the include directories
- library_dir: prefix + library_dir is added to the library directories
"""
if sys.platform != 'win32':
configurations = []
key = (name, eci)
try:
return _cache[key]
except KeyError:
last_error = None
# Always try the default configuration
if {} not in configurations:
configurations.append({})
for configuration in configurations:
prefix = configuration.get('prefix', '')
include_dir = configuration.get('include_dir', '')
library_dir = configuration.get('library_dir', '')
if prefix and not os.path.isabs(prefix):
import glob
entries = glob.glob(str(PYPY_EXTERNAL_DIR.join(prefix + '*')))
if entries:
# Get last version
prefix = sorted(entries)[-1]
else:
continue
include_dir = os.path.join(prefix, include_dir)
library_dir = os.path.join(prefix, library_dir)
eci_lib = ExternalCompilationInfo(
include_dirs=include_dir and [include_dir] or [],
library_dirs=library_dir and [library_dir] or [],
)
eci_lib = eci_lib.merge(eci)
# verify that this eci can be compiled
try:
verify_eci(eci_lib)
except CompilationError as e:
last_error = e
else:
_cache[key] = eci_lib
return eci_lib
# Nothing found
if last_error:
> raise last_error
E CompilationError: CompilationError(out="""
E """)
rtyper\tool\rffi_platform.py:846: CompilationError
__ ERROR at setup of TestIncrementalMiniMarkGCMostCompact.test_dump_rpy_heap __
cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGCMostCompact'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator\c\test\test_newgc.py:84:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator\c\test\test_newgc.py:1637: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, rzlib
rlib\rzlib.py:27: in <module>
[dict(prefix='zlib-'),
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
name = 'zlib'
eci = <ExternalCompilationInfo (pre_include_bits=(), includes=('zlib.h',), include_d...libraries=('zlib1',), use_cpp_linker=False, platform=<MsvcPlatform cc=cl.exe>)>
configurations = [{'prefix': 'zlib-'}, {}], symbol = None, _cache = {}
def configure_external_library(name, eci, configurations,
symbol=None, _cache={}):
"""try to find the external library.
On Unix, this simply tests and returns the given eci.
On Windows, various configurations may be tried to compile the
given eci object. These configurations are a list of dicts,
containing:
- prefix: if an absolute path, will prefix each include and
library directories. If a relative path, the external
directory is searched for directories which names start
with the prefix. The last one in alphabetical order
chosen, and becomes the prefix.
- include_dir: prefix + include_dir is added to the include directories
- library_dir: prefix + library_dir is added to the library directories
"""
if sys.platform != 'win32':
configurations = []
key = (name, eci)
try:
return _cache[key]
except KeyError:
last_error = None
# Always try the default configuration
if {} not in configurations:
configurations.append({})
for configuration in configurations:
prefix = configuration.get('prefix', '')
include_dir = configuration.get('include_dir', '')
library_dir = configuration.get('library_dir', '')
if prefix and not os.path.isabs(prefix):
import glob
entries = glob.glob(str(PYPY_EXTERNAL_DIR.join(prefix + '*')))
if entries:
# Get last version
prefix = sorted(entries)[-1]
else:
continue
include_dir = os.path.join(prefix, include_dir)
library_dir = os.path.join(prefix, library_dir)
eci_lib = ExternalCompilationInfo(
include_dirs=include_dir and [include_dir] or [],
library_dirs=library_dir and [library_dir] or [],
)
eci_lib = eci_lib.merge(eci)
# verify that this eci can be compiled
try:
verify_eci(eci_lib)
except CompilationError as e:
last_error = e
else:
_cache[key] = eci_lib
return eci_lib
# Nothing found
if last_error:
> raise last_error
E CompilationError: CompilationError(out="""
E """)
rtyper\tool\rffi_platform.py:846: CompilationError
_ ERROR at setup of TestIncrementalMiniMarkGCMostCompact.test_write_typeids_z _
cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGCMostCompact'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator\c\test\test_newgc.py:84:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator\c\test\test_newgc.py:1637: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, rzlib
rlib\rzlib.py:27: in <module>
[dict(prefix='zlib-'),
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
name = 'zlib'
eci = <ExternalCompilationInfo (pre_include_bits=(), includes=('zlib.h',), include_d...libraries=('zlib1',), use_cpp_linker=False, platform=<MsvcPlatform cc=cl.exe>)>
configurations = [{'prefix': 'zlib-'}, {}], symbol = None, _cache = {}
def configure_external_library(name, eci, configurations,
symbol=None, _cache={}):
"""try to find the external library.
On Unix, this simply tests and returns the given eci.
On Windows, various configurations may be tried to compile the
given eci object. These configurations are a list of dicts,
containing:
- prefix: if an absolute path, will prefix each include and
library directories. If a relative path, the external
directory is searched for directories which names start
with the prefix. The last one in alphabetical order
chosen, and becomes the prefix.
- include_dir: prefix + include_dir is added to the include directories
- library_dir: prefix + library_dir is added to the library directories
"""
if sys.platform != 'win32':
configurations = []
key = (name, eci)
try:
return _cache[key]
except KeyError:
last_error = None
# Always try the default configuration
if {} not in configurations:
configurations.append({})
for configuration in configurations:
prefix = configuration.get('prefix', '')
include_dir = configuration.get('include_dir', '')
library_dir = configuration.get('library_dir', '')
if prefix and not os.path.isabs(prefix):
import glob
entries = glob.glob(str(PYPY_EXTERNAL_DIR.join(prefix + '*')))
if entries:
# Get last version
prefix = sorted(entries)[-1]
else:
continue
include_dir = os.path.join(prefix, include_dir)
library_dir = os.path.join(prefix, library_dir)
eci_lib = ExternalCompilationInfo(
include_dirs=include_dir and [include_dir] or [],
library_dirs=library_dir and [library_dir] or [],
)
eci_lib = eci_lib.merge(eci)
# verify that this eci can be compiled
try:
verify_eci(eci_lib)
except CompilationError as e:
last_error = e
else:
_cache[key] = eci_lib
return eci_lib
# Nothing found
if last_error:
> raise last_error
E CompilationError: CompilationError(out="""
E """)
rtyper\tool\rffi_platform.py:846: CompilationError
__ ERROR at setup of TestIncrementalMiniMarkGCMostCompact.test_gcflag_extra ___
cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGCMostCompact'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator\c\test\test_newgc.py:84:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator\c\test\test_newgc.py:1637: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, rzlib
rlib\rzlib.py:27: in <module>
[dict(prefix='zlib-'),
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
name = 'zlib'
eci = <ExternalCompilationInfo (pre_include_bits=(), includes=('zlib.h',), include_d...libraries=('zlib1',), use_cpp_linker=False, platform=<MsvcPlatform cc=cl.exe>)>
configurations = [{'prefix': 'zlib-'}, {}], symbol = None, _cache = {}
def configure_external_library(name, eci, configurations,
symbol=None, _cache={}):
"""try to find the external library.
On Unix, this simply tests and returns the given eci.
On Windows, various configurations may be tried to compile the
given eci object. These configurations are a list of dicts,
containing:
- prefix: if an absolute path, will prefix each include and
library directories. If a relative path, the external
directory is searched for directories which names start
with the prefix. The last one in alphabetical order
chosen, and becomes the prefix.
- include_dir: prefix + include_dir is added to the include directories
- library_dir: prefix + library_dir is added to the library directories
"""
if sys.platform != 'win32':
configurations = []
key = (name, eci)
try:
return _cache[key]
except KeyError:
last_error = None
# Always try the default configuration
if {} not in configurations:
configurations.append({})
for configuration in configurations:
prefix = configuration.get('prefix', '')
include_dir = configuration.get('include_dir', '')
library_dir = configuration.get('library_dir', '')
if prefix and not os.path.isabs(prefix):
import glob
entries = glob.glob(str(PYPY_EXTERNAL_DIR.join(prefix + '*')))
if entries:
# Get last version
prefix = sorted(entries)[-1]
else:
continue
include_dir = os.path.join(prefix, include_dir)
library_dir = os.path.join(prefix, library_dir)
eci_lib = ExternalCompilationInfo(
include_dirs=include_dir and [include_dir] or [],
library_dirs=library_dir and [library_dir] or [],
)
eci_lib = eci_lib.merge(eci)
# verify that this eci can be compiled
try:
verify_eci(eci_lib)
except CompilationError as e:
last_error = e
else:
_cache[key] = eci_lib
return eci_lib
# Nothing found
if last_error:
> raise last_error
E CompilationError: CompilationError(out="""
E """)
rtyper\tool\rffi_platform.py:846: CompilationError
ERROR at setup of TestIncrementalMiniMarkGCMostCompact.test_check_zero_works _
cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGCMostCompact'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator\c\test\test_newgc.py:84:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator\c\test\test_newgc.py:1637: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, rzlib
rlib\rzlib.py:27: in <module>
[dict(prefix='zlib-'),
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
name = 'zlib'
eci = <ExternalCompilationInfo (pre_include_bits=(), includes=('zlib.h',), include_d...libraries=('zlib1',), use_cpp_linker=False, platform=<MsvcPlatform cc=cl.exe>)>
configurations = [{'prefix': 'zlib-'}, {}], symbol = None, _cache = {}
def configure_external_library(name, eci, configurations,
symbol=None, _cache={}):
"""try to find the external library.
On Unix, this simply tests and returns the given eci.
On Windows, various configurations may be tried to compile the
given eci object. These configurations are a list of dicts,
containing:
- prefix: if an absolute path, will prefix each include and
library directories. If a relative path, the external
directory is searched for directories which names start
with the prefix. The last one in alphabetical order
chosen, and becomes the prefix.
- include_dir: prefix + include_dir is added to the include directories
- library_dir: prefix + library_dir is added to the library directories
"""
if sys.platform != 'win32':
configurations = []
key = (name, eci)
try:
return _cache[key]
except KeyError:
last_error = None
# Always try the default configuration
if {} not in configurations:
configurations.append({})
for configuration in configurations:
prefix = configuration.get('prefix', '')
include_dir = configuration.get('include_dir', '')
library_dir = configuration.get('library_dir', '')
if prefix and not os.path.isabs(prefix):
import glob
entries = glob.glob(str(PYPY_EXTERNAL_DIR.join(prefix + '*')))
if entries:
# Get last version
prefix = sorted(entries)[-1]
else:
continue
include_dir = os.path.join(prefix, include_dir)
library_dir = os.path.join(prefix, library_dir)
eci_lib = ExternalCompilationInfo(
include_dirs=include_dir and [include_dir] or [],
library_dirs=library_dir and [library_dir] or [],
)
eci_lib = eci_lib.merge(eci)
# verify that this eci can be compiled
try:
verify_eci(eci_lib)
except CompilationError as e:
last_error = e
else:
_cache[key] = eci_lib
return eci_lib
# Nothing found
if last_error:
> raise last_error
E CompilationError: CompilationError(out="""
E """)
rtyper\tool\rffi_platform.py:846: CompilationError
ERROR at setup of TestIncrementalMiniMarkGCMostCompact.test_long_chain_of_instances
cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGCMostCompact'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator\c\test\test_newgc.py:84:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator\c\test\test_newgc.py:1637: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, rzlib
rlib\rzlib.py:27: in <module>
[dict(prefix='zlib-'),
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
name = 'zlib'
eci = <ExternalCompilationInfo (pre_include_bits=(), includes=('zlib.h',), include_d...libraries=('zlib1',), use_cpp_linker=False, platform=<MsvcPlatform cc=cl.exe>)>
configurations = [{'prefix': 'zlib-'}, {}], symbol = None, _cache = {}
def configure_external_library(name, eci, configurations,
symbol=None, _cache={}):
"""try to find the external library.
On Unix, this simply tests and returns the given eci.
On Windows, various configurations may be tried to compile the
given eci object. These configurations are a list of dicts,
containing:
- prefix: if an absolute path, will prefix each include and
library directories. If a relative path, the external
directory is searched for directories which names start
with the prefix. The last one in alphabetical order
chosen, and becomes the prefix.
- include_dir: prefix + include_dir is added to the include directories
- library_dir: prefix + library_dir is added to the library directories
"""
if sys.platform != 'win32':
configurations = []
key = (name, eci)
try:
return _cache[key]
except KeyError:
last_error = None
# Always try the default configuration
if {} not in configurations:
configurations.append({})
for configuration in configurations:
prefix = configuration.get('prefix', '')
include_dir = configuration.get('include_dir', '')
library_dir = configuration.get('library_dir', '')
if prefix and not os.path.isabs(prefix):
import glob
entries = glob.glob(str(PYPY_EXTERNAL_DIR.join(prefix + '*')))
if entries:
# Get last version
prefix = sorted(entries)[-1]
else:
continue
include_dir = os.path.join(prefix, include_dir)
library_dir = os.path.join(prefix, library_dir)
eci_lib = ExternalCompilationInfo(
include_dirs=include_dir and [include_dir] or [],
library_dirs=library_dir and [library_dir] or [],
)
eci_lib = eci_lib.merge(eci)
# verify that this eci can be compiled
try:
verify_eci(eci_lib)
except CompilationError as e:
last_error = e
else:
_cache[key] = eci_lib
return eci_lib
# Nothing found
if last_error:
> raise last_error
E CompilationError: CompilationError(out="""
E """)
rtyper\tool\rffi_platform.py:846: CompilationError
____ ERROR at setup of TestIncrementalMiniMarkGCMostCompact.test_many_ids _____
cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGCMostCompact'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator\c\test\test_newgc.py:84:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator\c\test\test_newgc.py:1637: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, rzlib
rlib\rzlib.py:27: in <module>
[dict(prefix='zlib-'),
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
name = 'zlib'
eci = <ExternalCompilationInfo (pre_include_bits=(), includes=('zlib.h',), include_d...libraries=('zlib1',), use_cpp_linker=False, platform=<MsvcPlatform cc=cl.exe>)>
configurations = [{'prefix': 'zlib-'}, {}], symbol = None, _cache = {}
def configure_external_library(name, eci, configurations,
symbol=None, _cache={}):
"""try to find the external library.
On Unix, this simply tests and returns the given eci.
On Windows, various configurations may be tried to compile the
given eci object. These configurations are a list of dicts,
containing:
- prefix: if an absolute path, will prefix each include and
library directories. If a relative path, the external
directory is searched for directories which names start
with the prefix. The last one in alphabetical order
chosen, and becomes the prefix.
- include_dir: prefix + include_dir is added to the include directories
- library_dir: prefix + library_dir is added to the library directories
"""
if sys.platform != 'win32':
configurations = []
key = (name, eci)
try:
return _cache[key]
except KeyError:
last_error = None
# Always try the default configuration
if {} not in configurations:
configurations.append({})
for configuration in configurations:
prefix = configuration.get('prefix', '')
include_dir = configuration.get('include_dir', '')
library_dir = configuration.get('library_dir', '')
if prefix and not os.path.isabs(prefix):
import glob
entries = glob.glob(str(PYPY_EXTERNAL_DIR.join(prefix + '*')))
if entries:
# Get last version
prefix = sorted(entries)[-1]
else:
continue
include_dir = os.path.join(prefix, include_dir)
library_dir = os.path.join(prefix, library_dir)
eci_lib = ExternalCompilationInfo(
include_dirs=include_dir and [include_dir] or [],
library_dirs=library_dir and [library_dir] or [],
)
eci_lib = eci_lib.merge(eci)
# verify that this eci can be compiled
try:
verify_eci(eci_lib)
except CompilationError as e:
last_error = e
else:
_cache[key] = eci_lib
return eci_lib
# Nothing found
if last_error:
> raise last_error
E CompilationError: CompilationError(out="""
E """)
rtyper\tool\rffi_platform.py:846: CompilationError
_ ERROR at setup of TestIncrementalMiniMarkGCMostCompact.test_string_builder __
cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGCMostCompact'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator\c\test\test_newgc.py:84:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator\c\test\test_newgc.py:1637: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, rzlib
rlib\rzlib.py:27: in <module>
[dict(prefix='zlib-'),
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
name = 'zlib'
eci = <ExternalCompilationInfo (pre_include_bits=(), includes=('zlib.h',), include_d...libraries=('zlib1',), use_cpp_linker=False, platform=<MsvcPlatform cc=cl.exe>)>
configurations = [{'prefix': 'zlib-'}, {}], symbol = None, _cache = {}
def configure_external_library(name, eci, configurations,
symbol=None, _cache={}):
"""try to find the external library.
On Unix, this simply tests and returns the given eci.
On Windows, various configurations may be tried to compile the
given eci object. These configurations are a list of dicts,
containing:
- prefix: if an absolute path, will prefix each include and
library directories. If a relative path, the external
directory is searched for directories which names start
with the prefix. The last one in alphabetical order
chosen, and becomes the prefix.
- include_dir: prefix + include_dir is added to the include directories
- library_dir: prefix + library_dir is added to the library directories
"""
if sys.platform != 'win32':
configurations = []
key = (name, eci)
try:
return _cache[key]
except KeyError:
last_error = None
# Always try the default configuration
if {} not in configurations:
configurations.append({})
for configuration in configurations:
prefix = configuration.get('prefix', '')
include_dir = configuration.get('include_dir', '')
library_dir = configuration.get('library_dir', '')
if prefix and not os.path.isabs(prefix):
import glob
entries = glob.glob(str(PYPY_EXTERNAL_DIR.join(prefix + '*')))
if entries:
# Get last version
prefix = sorted(entries)[-1]
else:
continue
include_dir = os.path.join(prefix, include_dir)
library_dir = os.path.join(prefix, library_dir)
eci_lib = ExternalCompilationInfo(
include_dirs=include_dir and [include_dir] or [],
library_dirs=library_dir and [library_dir] or [],
)
eci_lib = eci_lib.merge(eci)
# verify that this eci can be compiled
try:
verify_eci(eci_lib)
except CompilationError as e:
last_error = e
else:
_cache[key] = eci_lib
return eci_lib
# Nothing found
if last_error:
> raise last_error
E CompilationError: CompilationError(out="""
E """)
rtyper\tool\rffi_platform.py:846: CompilationError
ERROR at setup of TestIncrementalMiniMarkGCMostCompact.test_string_builder_over_allocation
cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGCMostCompact'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator\c\test\test_newgc.py:84:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator\c\test\test_newgc.py:1637: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, rzlib
rlib\rzlib.py:27: in <module>
[dict(prefix='zlib-'),
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
name = 'zlib'
eci = <ExternalCompilationInfo (pre_include_bits=(), includes=('zlib.h',), include_d...libraries=('zlib1',), use_cpp_linker=False, platform=<MsvcPlatform cc=cl.exe>)>
configurations = [{'prefix': 'zlib-'}, {}], symbol = None, _cache = {}
def configure_external_library(name, eci, configurations,
symbol=None, _cache={}):
"""try to find the external library.
On Unix, this simply tests and returns the given eci.
On Windows, various configurations may be tried to compile the
given eci object. These configurations are a list of dicts,
containing:
- prefix: if an absolute path, will prefix each include and
library directories. If a relative path, the external
directory is searched for directories which names start
with the prefix. The last one in alphabetical order
chosen, and becomes the prefix.
- include_dir: prefix + include_dir is added to the include directories
- library_dir: prefix + library_dir is added to the library directories
"""
if sys.platform != 'win32':
configurations = []
key = (name, eci)
try:
return _cache[key]
except KeyError:
last_error = None
# Always try the default configuration
if {} not in configurations:
configurations.append({})
for configuration in configurations:
prefix = configuration.get('prefix', '')
include_dir = configuration.get('include_dir', '')
library_dir = configuration.get('library_dir', '')
if prefix and not os.path.isabs(prefix):
import glob
entries = glob.glob(str(PYPY_EXTERNAL_DIR.join(prefix + '*')))
if entries:
# Get last version
prefix = sorted(entries)[-1]
else:
continue
include_dir = os.path.join(prefix, include_dir)
library_dir = os.path.join(prefix, library_dir)
eci_lib = ExternalCompilationInfo(
include_dirs=include_dir and [include_dir] or [],
library_dirs=library_dir and [library_dir] or [],
)
eci_lib = eci_lib.merge(eci)
# verify that this eci can be compiled
try:
verify_eci(eci_lib)
except CompilationError as e:
last_error = e
else:
_cache[key] = eci_lib
return eci_lib
# Nothing found
if last_error:
> raise last_error
E CompilationError: CompilationError(out="""
E """)
rtyper\tool\rffi_platform.py:846: CompilationError
ERROR at setup of TestIncrementalMiniMarkGCMostCompact.test_string_builder_multiple_builds
cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGCMostCompact'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator\c\test\test_newgc.py:84:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator\c\test\test_newgc.py:1637: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, rzlib
rlib\rzlib.py:27: in <module>
[dict(prefix='zlib-'),
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
name = 'zlib'
eci = <ExternalCompilationInfo (pre_include_bits=(), includes=('zlib.h',), include_d...libraries=('zlib1',), use_cpp_linker=False, platform=<MsvcPlatform cc=cl.exe>)>
configurations = [{'prefix': 'zlib-'}, {}], symbol = None, _cache = {}
def configure_external_library(name, eci, configurations,
symbol=None, _cache={}):
"""try to find the external library.
On Unix, this simply tests and returns the given eci.
On Windows, various configurations may be tried to compile the
given eci object. These configurations are a list of dicts,
containing:
- prefix: if an absolute path, will prefix each include and
library directories. If a relative path, the external
directory is searched for directories which names start
with the prefix. The last one in alphabetical order
chosen, and becomes the prefix.
- include_dir: prefix + include_dir is added to the include directories
- library_dir: prefix + library_dir is added to the library directories
"""
if sys.platform != 'win32':
configurations = []
key = (name, eci)
try:
return _cache[key]
except KeyError:
last_error = None
# Always try the default configuration
if {} not in configurations:
configurations.append({})
for configuration in configurations:
prefix = configuration.get('prefix', '')
include_dir = configuration.get('include_dir', '')
library_dir = configuration.get('library_dir', '')
if prefix and not os.path.isabs(prefix):
import glob
entries = glob.glob(str(PYPY_EXTERNAL_DIR.join(prefix + '*')))
if entries:
# Get last version
prefix = sorted(entries)[-1]
else:
continue
include_dir = os.path.join(prefix, include_dir)
library_dir = os.path.join(prefix, library_dir)
eci_lib = ExternalCompilationInfo(
include_dirs=include_dir and [include_dir] or [],
library_dirs=library_dir and [library_dir] or [],
)
eci_lib = eci_lib.merge(eci)
# verify that this eci can be compiled
try:
verify_eci(eci_lib)
except CompilationError as e:
last_error = e
else:
_cache[key] = eci_lib
return eci_lib
# Nothing found
if last_error:
> raise last_error
E CompilationError: CompilationError(out="""
E """)
rtyper\tool\rffi_platform.py:846: CompilationError
ERROR at setup of TestIncrementalMiniMarkGCMostCompact.test_string_builder_multiple_builds_2
cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGCMostCompact'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator\c\test\test_newgc.py:84:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator\c\test\test_newgc.py:1637: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, rzlib
rlib\rzlib.py:27: in <module>
[dict(prefix='zlib-'),
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
name = 'zlib'
eci = <ExternalCompilationInfo (pre_include_bits=(), includes=('zlib.h',), include_d...libraries=('zlib1',), use_cpp_linker=False, platform=<MsvcPlatform cc=cl.exe>)>
configurations = [{'prefix': 'zlib-'}, {}], symbol = None, _cache = {}
def configure_external_library(name, eci, configurations,
symbol=None, _cache={}):
"""try to find the external library.
On Unix, this simply tests and returns the given eci.
On Windows, various configurations may be tried to compile the
given eci object. These configurations are a list of dicts,
containing:
- prefix: if an absolute path, will prefix each include and
library directories. If a relative path, the external
directory is searched for directories which names start
with the prefix. The last one in alphabetical order
chosen, and becomes the prefix.
- include_dir: prefix + include_dir is added to the include directories
- library_dir: prefix + library_dir is added to the library directories
"""
if sys.platform != 'win32':
configurations = []
key = (name, eci)
try:
return _cache[key]
except KeyError:
last_error = None
# Always try the default configuration
if {} not in configurations:
configurations.append({})
for configuration in configurations:
prefix = configuration.get('prefix', '')
include_dir = configuration.get('include_dir', '')
library_dir = configuration.get('library_dir', '')
if prefix and not os.path.isabs(prefix):
import glob
entries = glob.glob(str(PYPY_EXTERNAL_DIR.join(prefix + '*')))
if entries:
# Get last version
prefix = sorted(entries)[-1]
else:
continue
include_dir = os.path.join(prefix, include_dir)
library_dir = os.path.join(prefix, library_dir)
eci_lib = ExternalCompilationInfo(
include_dirs=include_dir and [include_dir] or [],
library_dirs=library_dir and [library_dir] or [],
)
eci_lib = eci_lib.merge(eci)
# verify that this eci can be compiled
try:
verify_eci(eci_lib)
except CompilationError as e:
last_error = e
else:
_cache[key] = eci_lib
return eci_lib
# Nothing found
if last_error:
> raise last_error
E CompilationError: CompilationError(out="""
E """)
rtyper\tool\rffi_platform.py:846: CompilationError
ERROR at setup of TestIncrementalMiniMarkGCMostCompact.test_nursery_hash_base
cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGCMostCompact'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator\c\test\test_newgc.py:84:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator\c\test\test_newgc.py:1637: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, rzlib
rlib\rzlib.py:27: in <module>
[dict(prefix='zlib-'),
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
name = 'zlib'
eci = <ExternalCompilationInfo (pre_include_bits=(), includes=('zlib.h',), include_d...libraries=('zlib1',), use_cpp_linker=False, platform=<MsvcPlatform cc=cl.exe>)>
configurations = [{'prefix': 'zlib-'}, {}], symbol = None, _cache = {}
def configure_external_library(name, eci, configurations,
symbol=None, _cache={}):
"""try to find the external library.
On Unix, this simply tests and returns the given eci.
On Windows, various configurations may be tried to compile the
given eci object. These configurations are a list of dicts,
containing:
- prefix: if an absolute path, will prefix each include and
library directories. If a relative path, the external
directory is searched for directories which names start
with the prefix. The last one in alphabetical order
chosen, and becomes the prefix.
- include_dir: prefix + include_dir is added to the include directories
- library_dir: prefix + library_dir is added to the library directories
"""
if sys.platform != 'win32':
configurations = []
key = (name, eci)
try:
return _cache[key]
except KeyError:
last_error = None
# Always try the default configuration
if {} not in configurations:
configurations.append({})
for configuration in configurations:
prefix = configuration.get('prefix', '')
include_dir = configuration.get('include_dir', '')
library_dir = configuration.get('library_dir', '')
if prefix and not os.path.isabs(prefix):
import glob
entries = glob.glob(str(PYPY_EXTERNAL_DIR.join(prefix + '*')))
if entries:
# Get last version
prefix = sorted(entries)[-1]
else:
continue
include_dir = os.path.join(prefix, include_dir)
library_dir = os.path.join(prefix, library_dir)
eci_lib = ExternalCompilationInfo(
include_dirs=include_dir and [include_dir] or [],
library_dirs=library_dir and [library_dir] or [],
)
eci_lib = eci_lib.merge(eci)
# verify that this eci can be compiled
try:
verify_eci(eci_lib)
except CompilationError as e:
last_error = e
else:
_cache[key] = eci_lib
return eci_lib
# Nothing found
if last_error:
> raise last_error
E CompilationError: CompilationError(out="""
E """)
rtyper\tool\rffi_platform.py:846: CompilationError
ERROR at setup of TestIncrementalMiniMarkGCMostCompact.test_extra_item_after_alloc
cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGCMostCompact'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator\c\test\test_newgc.py:84:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator\c\test\test_newgc.py:1637: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, rzlib
rlib\rzlib.py:27: in <module>
[dict(prefix='zlib-'),
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
name = 'zlib'
eci = <ExternalCompilationInfo (pre_include_bits=(), includes=('zlib.h',), include_d...libraries=('zlib1',), use_cpp_linker=False, platform=<MsvcPlatform cc=cl.exe>)>
configurations = [{'prefix': 'zlib-'}, {}], symbol = None, _cache = {}
def configure_external_library(name, eci, configurations,
symbol=None, _cache={}):
"""try to find the external library.
On Unix, this simply tests and returns the given eci.
On Windows, various configurations may be tried to compile the
given eci object. These configurations are a list of dicts,
containing:
- prefix: if an absolute path, will prefix each include and
library directories. If a relative path, the external
directory is searched for directories which names start
with the prefix. The last one in alphabetical order
chosen, and becomes the prefix.
- include_dir: prefix + include_dir is added to the include directories
- library_dir: prefix + library_dir is added to the library directories
"""
if sys.platform != 'win32':
configurations = []
key = (name, eci)
try:
return _cache[key]
except KeyError:
last_error = None
# Always try the default configuration
if {} not in configurations:
configurations.append({})
for configuration in configurations:
prefix = configuration.get('prefix', '')
include_dir = configuration.get('include_dir', '')
library_dir = configuration.get('library_dir', '')
if prefix and not os.path.isabs(prefix):
import glob
entries = glob.glob(str(PYPY_EXTERNAL_DIR.join(prefix + '*')))
if entries:
# Get last version
prefix = sorted(entries)[-1]
else:
continue
include_dir = os.path.join(prefix, include_dir)
library_dir = os.path.join(prefix, library_dir)
eci_lib = ExternalCompilationInfo(
include_dirs=include_dir and [include_dir] or [],
library_dirs=library_dir and [library_dir] or [],
)
eci_lib = eci_lib.merge(eci)
# verify that this eci can be compiled
try:
verify_eci(eci_lib)
except CompilationError as e:
last_error = e
else:
_cache[key] = eci_lib
return eci_lib
# Nothing found
if last_error:
> raise last_error
E CompilationError: CompilationError(out="""
E """)
rtyper\tool\rffi_platform.py:846: CompilationError
_____ ERROR at setup of TestIncrementalMiniMarkGCMostCompact.test_rerased _____
cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGCMostCompact'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator\c\test\test_newgc.py:84:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator\c\test\test_newgc.py:1637: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, rzlib
rlib\rzlib.py:27: in <module>
[dict(prefix='zlib-'),
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
name = 'zlib'
eci = <ExternalCompilationInfo (pre_include_bits=(), includes=('zlib.h',), include_d...libraries=('zlib1',), use_cpp_linker=False, platform=<MsvcPlatform cc=cl.exe>)>
configurations = [{'prefix': 'zlib-'}, {}], symbol = None, _cache = {}
def configure_external_library(name, eci, configurations,
symbol=None, _cache={}):
"""try to find the external library.
On Unix, this simply tests and returns the given eci.
On Windows, various configurations may be tried to compile the
given eci object. These configurations are a list of dicts,
containing:
- prefix: if an absolute path, will prefix each include and
library directories. If a relative path, the external
directory is searched for directories which names start
with the prefix. The last one in alphabetical order
chosen, and becomes the prefix.
- include_dir: prefix + include_dir is added to the include directories
- library_dir: prefix + library_dir is added to the library directories
"""
if sys.platform != 'win32':
configurations = []
key = (name, eci)
try:
return _cache[key]
except KeyError:
last_error = None
# Always try the default configuration
if {} not in configurations:
configurations.append({})
for configuration in configurations:
prefix = configuration.get('prefix', '')
include_dir = configuration.get('include_dir', '')
library_dir = configuration.get('library_dir', '')
if prefix and not os.path.isabs(prefix):
import glob
entries = glob.glob(str(PYPY_EXTERNAL_DIR.join(prefix + '*')))
if entries:
# Get last version
prefix = sorted(entries)[-1]
else:
continue
include_dir = os.path.join(prefix, include_dir)
library_dir = os.path.join(prefix, library_dir)
eci_lib = ExternalCompilationInfo(
include_dirs=include_dir and [include_dir] or [],
library_dirs=library_dir and [library_dir] or [],
)
eci_lib = eci_lib.merge(eci)
# verify that this eci can be compiled
try:
verify_eci(eci_lib)
except CompilationError as e:
last_error = e
else:
_cache[key] = eci_lib
return eci_lib
# Nothing found
if last_error:
> raise last_error
E CompilationError: CompilationError(out="""
E """)
rtyper\tool\rffi_platform.py:846: CompilationError
__ ERROR at setup of TestIncrementalMiniMarkGCMostCompact.test_gc_heap_stats __
cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGCMostCompact'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator\c\test\test_newgc.py:84:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator\c\test\test_newgc.py:1637: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, rzlib
rlib\rzlib.py:27: in <module>
[dict(prefix='zlib-'),
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
name = 'zlib'
eci = <ExternalCompilationInfo (pre_include_bits=(), includes=('zlib.h',), include_d...libraries=('zlib1',), use_cpp_linker=False, platform=<MsvcPlatform cc=cl.exe>)>
configurations = [{'prefix': 'zlib-'}, {}], symbol = None, _cache = {}
def configure_external_library(name, eci, configurations,
symbol=None, _cache={}):
"""try to find the external library.
On Unix, this simply tests and returns the given eci.
On Windows, various configurations may be tried to compile the
given eci object. These configurations are a list of dicts,
containing:
- prefix: if an absolute path, will prefix each include and
library directories. If a relative path, the external
directory is searched for directories which names start
with the prefix. The last one in alphabetical order
chosen, and becomes the prefix.
- include_dir: prefix + include_dir is added to the include directories
- library_dir: prefix + library_dir is added to the library directories
"""
if sys.platform != 'win32':
configurations = []
key = (name, eci)
try:
return _cache[key]
except KeyError:
last_error = None
# Always try the default configuration
if {} not in configurations:
configurations.append({})
for configuration in configurations:
prefix = configuration.get('prefix', '')
include_dir = configuration.get('include_dir', '')
library_dir = configuration.get('library_dir', '')
if prefix and not os.path.isabs(prefix):
import glob
entries = glob.glob(str(PYPY_EXTERNAL_DIR.join(prefix + '*')))
if entries:
# Get last version
prefix = sorted(entries)[-1]
else:
continue
include_dir = os.path.join(prefix, include_dir)
library_dir = os.path.join(prefix, library_dir)
eci_lib = ExternalCompilationInfo(
include_dirs=include_dir and [include_dir] or [],
library_dirs=library_dir and [library_dir] or [],
)
eci_lib = eci_lib.merge(eci)
# verify that this eci can be compiled
try:
verify_eci(eci_lib)
except CompilationError as e:
last_error = e
else:
_cache[key] = eci_lib
return eci_lib
# Nothing found
if last_error:
> raise last_error
E CompilationError: CompilationError(out="""
E """)
rtyper\tool\rffi_platform.py:846: CompilationError
ERROR at setup of TestIncrementalMiniMarkGCMostCompact.test_nongc_attached_to_gc
cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGCMostCompact'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator\c\test\test_newgc.py:84:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator\c\test\test_newgc.py:1637: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, rzlib
rlib\rzlib.py:27: in <module>
[dict(prefix='zlib-'),
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
name = 'zlib'
eci = <ExternalCompilationInfo (pre_include_bits=(), includes=('zlib.h',), include_d...libraries=('zlib1',), use_cpp_linker=False, platform=<MsvcPlatform cc=cl.exe>)>
configurations = [{'prefix': 'zlib-'}, {}], symbol = None, _cache = {}
def configure_external_library(name, eci, configurations,
symbol=None, _cache={}):
"""try to find the external library.
On Unix, this simply tests and returns the given eci.
On Windows, various configurations may be tried to compile the
given eci object. These configurations are a list of dicts,
containing:
- prefix: if an absolute path, will prefix each include and
library directories. If a relative path, the external
directory is searched for directories which names start
with the prefix. The last one in alphabetical order
chosen, and becomes the prefix.
- include_dir: prefix + include_dir is added to the include directories
- library_dir: prefix + library_dir is added to the library directories
"""
if sys.platform != 'win32':
configurations = []
key = (name, eci)
try:
return _cache[key]
except KeyError:
last_error = None
# Always try the default configuration
if {} not in configurations:
configurations.append({})
for configuration in configurations:
prefix = configuration.get('prefix', '')
include_dir = configuration.get('include_dir', '')
library_dir = configuration.get('library_dir', '')
if prefix and not os.path.isabs(prefix):
import glob
entries = glob.glob(str(PYPY_EXTERNAL_DIR.join(prefix + '*')))
if entries:
# Get last version
prefix = sorted(entries)[-1]
else:
continue
include_dir = os.path.join(prefix, include_dir)
library_dir = os.path.join(prefix, library_dir)
eci_lib = ExternalCompilationInfo(
include_dirs=include_dir and [include_dir] or [],
library_dirs=library_dir and [library_dir] or [],
)
eci_lib = eci_lib.merge(eci)
# verify that this eci can be compiled
try:
verify_eci(eci_lib)
except CompilationError as e:
last_error = e
else:
_cache[key] = eci_lib
return eci_lib
# Nothing found
if last_error:
> raise last_error
E CompilationError: CompilationError(out="""
E """)
rtyper\tool\rffi_platform.py:846: CompilationError
ERROR at setup of TestIncrementalMiniMarkGCMostCompact.test_nongc_opaque_attached_to_gc
cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGCMostCompact'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator\c\test\test_newgc.py:84:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator\c\test\test_newgc.py:1637: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, rzlib
rlib\rzlib.py:27: in <module>
[dict(prefix='zlib-'),
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
name = 'zlib'
eci = <ExternalCompilationInfo (pre_include_bits=(), includes=('zlib.h',), include_d...libraries=('zlib1',), use_cpp_linker=False, platform=<MsvcPlatform cc=cl.exe>)>
configurations = [{'prefix': 'zlib-'}, {}], symbol = None, _cache = {}
def configure_external_library(name, eci, configurations,
symbol=None, _cache={}):
"""try to find the external library.
On Unix, this simply tests and returns the given eci.
On Windows, various configurations may be tried to compile the
given eci object. These configurations are a list of dicts,
containing:
- prefix: if an absolute path, will prefix each include and
library directories. If a relative path, the external
directory is searched for directories which names start
with the prefix. The last one in alphabetical order
chosen, and becomes the prefix.
- include_dir: prefix + include_dir is added to the include directories
- library_dir: prefix + library_dir is added to the library directories
"""
if sys.platform != 'win32':
configurations = []
key = (name, eci)
try:
return _cache[key]
except KeyError:
last_error = None
# Always try the default configuration
if {} not in configurations:
configurations.append({})
for configuration in configurations:
prefix = configuration.get('prefix', '')
include_dir = configuration.get('include_dir', '')
library_dir = configuration.get('library_dir', '')
if prefix and not os.path.isabs(prefix):
import glob
entries = glob.glob(str(PYPY_EXTERNAL_DIR.join(prefix + '*')))
if entries:
# Get last version
prefix = sorted(entries)[-1]
else:
continue
include_dir = os.path.join(prefix, include_dir)
library_dir = os.path.join(prefix, library_dir)
eci_lib = ExternalCompilationInfo(
include_dirs=include_dir and [include_dir] or [],
library_dirs=library_dir and [library_dir] or [],
)
eci_lib = eci_lib.merge(eci)
# verify that this eci can be compiled
try:
verify_eci(eci_lib)
except CompilationError as e:
last_error = e
else:
_cache[key] = eci_lib
return eci_lib
# Nothing found
if last_error:
> raise last_error
E CompilationError: CompilationError(out="""
E """)
rtyper\tool\rffi_platform.py:846: CompilationError
_ ERROR at setup of TestIncrementalMiniMarkGCMostCompact.test_limited_memory __
cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGCMostCompact'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator\c\test\test_newgc.py:84:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator\c\test\test_newgc.py:1637: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, rzlib
rlib\rzlib.py:27: in <module>
[dict(prefix='zlib-'),
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
name = 'zlib'
eci = <ExternalCompilationInfo (pre_include_bits=(), includes=('zlib.h',), include_d...libraries=('zlib1',), use_cpp_linker=False, platform=<MsvcPlatform cc=cl.exe>)>
configurations = [{'prefix': 'zlib-'}, {}], symbol = None, _cache = {}
def configure_external_library(name, eci, configurations,
symbol=None, _cache={}):
"""try to find the external library.
On Unix, this simply tests and returns the given eci.
On Windows, various configurations may be tried to compile the
given eci object. These configurations are a list of dicts,
containing:
- prefix: if an absolute path, will prefix each include and
library directories. If a relative path, the external
directory is searched for directories which names start
with the prefix. The last one in alphabetical order
chosen, and becomes the prefix.
- include_dir: prefix + include_dir is added to the include directories
- library_dir: prefix + library_dir is added to the library directories
"""
if sys.platform != 'win32':
configurations = []
key = (name, eci)
try:
return _cache[key]
except KeyError:
last_error = None
# Always try the default configuration
if {} not in configurations:
configurations.append({})
for configuration in configurations:
prefix = configuration.get('prefix', '')
include_dir = configuration.get('include_dir', '')
library_dir = configuration.get('library_dir', '')
if prefix and not os.path.isabs(prefix):
import glob
entries = glob.glob(str(PYPY_EXTERNAL_DIR.join(prefix + '*')))
if entries:
# Get last version
prefix = sorted(entries)[-1]
else:
continue
include_dir = os.path.join(prefix, include_dir)
library_dir = os.path.join(prefix, library_dir)
eci_lib = ExternalCompilationInfo(
include_dirs=include_dir and [include_dir] or [],
library_dirs=library_dir and [library_dir] or [],
)
eci_lib = eci_lib.merge(eci)
# verify that this eci can be compiled
try:
verify_eci(eci_lib)
except CompilationError as e:
last_error = e
else:
_cache[key] = eci_lib
return eci_lib
# Nothing found
if last_error:
> raise last_error
E CompilationError: CompilationError(out="""
E """)
rtyper\tool\rffi_platform.py:846: CompilationError
ERROR at setup of TestIncrementalMiniMarkGCMostCompact.test_gc_set_max_heap_size
cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGCMostCompact'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator\c\test\test_newgc.py:84:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator\c\test\test_newgc.py:1637: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, rzlib
rlib\rzlib.py:27: in <module>
[dict(prefix='zlib-'),
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
name = 'zlib'
eci = <ExternalCompilationInfo (pre_include_bits=(), includes=('zlib.h',), include_d...libraries=('zlib1',), use_cpp_linker=False, platform=<MsvcPlatform cc=cl.exe>)>
configurations = [{'prefix': 'zlib-'}, {}], symbol = None, _cache = {}
def configure_external_library(name, eci, configurations,
symbol=None, _cache={}):
"""try to find the external library.
On Unix, this simply tests and returns the given eci.
On Windows, various configurations may be tried to compile the
given eci object. These configurations are a list of dicts,
containing:
- prefix: if an absolute path, will prefix each include and
library directories. If a relative path, the external
directory is searched for directories which names start
with the prefix. The last one in alphabetical order
chosen, and becomes the prefix.
- include_dir: prefix + include_dir is added to the include directories
- library_dir: prefix + library_dir is added to the library directories
"""
if sys.platform != 'win32':
configurations = []
key = (name, eci)
try:
return _cache[key]
except KeyError:
last_error = None
# Always try the default configuration
if {} not in configurations:
configurations.append({})
for configuration in configurations:
prefix = configuration.get('prefix', '')
include_dir = configuration.get('include_dir', '')
library_dir = configuration.get('library_dir', '')
if prefix and not os.path.isabs(prefix):
import glob
entries = glob.glob(str(PYPY_EXTERNAL_DIR.join(prefix + '*')))
if entries:
# Get last version
prefix = sorted(entries)[-1]
else:
continue
include_dir = os.path.join(prefix, include_dir)
library_dir = os.path.join(prefix, library_dir)
eci_lib = ExternalCompilationInfo(
include_dirs=include_dir and [include_dir] or [],
library_dirs=library_dir and [library_dir] or [],
)
eci_lib = eci_lib.merge(eci)
# verify that this eci can be compiled
try:
verify_eci(eci_lib)
except CompilationError as e:
last_error = e
else:
_cache[key] = eci_lib
return eci_lib
# Nothing found
if last_error:
> raise last_error
E CompilationError: CompilationError(out="""
E """)
rtyper\tool\rffi_platform.py:846: CompilationError
ERROR at setup of TestIncrementalMiniMarkGCMostCompact.test_total_memory_pressure
cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGCMostCompact'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator\c\test\test_newgc.py:84:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator\c\test\test_newgc.py:1637: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, rzlib
rlib\rzlib.py:27: in <module>
[dict(prefix='zlib-'),
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
name = 'zlib'
eci = <ExternalCompilationInfo (pre_include_bits=(), includes=('zlib.h',), include_d...libraries=('zlib1',), use_cpp_linker=False, platform=<MsvcPlatform cc=cl.exe>)>
configurations = [{'prefix': 'zlib-'}, {}], symbol = None, _cache = {}
def configure_external_library(name, eci, configurations,
symbol=None, _cache={}):
"""try to find the external library.
On Unix, this simply tests and returns the given eci.
On Windows, various configurations may be tried to compile the
given eci object. These configurations are a list of dicts,
containing:
- prefix: if an absolute path, will prefix each include and
library directories. If a relative path, the external
directory is searched for directories which names start
with the prefix. The last one in alphabetical order
chosen, and becomes the prefix.
- include_dir: prefix + include_dir is added to the include directories
- library_dir: prefix + library_dir is added to the library directories
"""
if sys.platform != 'win32':
configurations = []
key = (name, eci)
try:
return _cache[key]
except KeyError:
last_error = None
# Always try the default configuration
if {} not in configurations:
configurations.append({})
for configuration in configurations:
prefix = configuration.get('prefix', '')
include_dir = configuration.get('include_dir', '')
library_dir = configuration.get('library_dir', '')
if prefix and not os.path.isabs(prefix):
import glob
entries = glob.glob(str(PYPY_EXTERNAL_DIR.join(prefix + '*')))
if entries:
# Get last version
prefix = sorted(entries)[-1]
else:
continue
include_dir = os.path.join(prefix, include_dir)
library_dir = os.path.join(prefix, library_dir)
eci_lib = ExternalCompilationInfo(
include_dirs=include_dir and [include_dir] or [],
library_dirs=library_dir and [library_dir] or [],
)
eci_lib = eci_lib.merge(eci)
# verify that this eci can be compiled
try:
verify_eci(eci_lib)
except CompilationError as e:
last_error = e
else:
_cache[key] = eci_lib
return eci_lib
# Nothing found
if last_error:
> raise last_error
E CompilationError: CompilationError(out="""
E """)
rtyper\tool\rffi_platform.py:846: CompilationError
___ ERROR at setup of TestIncrementalMiniMarkGCMostCompact.test_random_pin ____
cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGCMostCompact'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator\c\test\test_newgc.py:84:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator\c\test\test_newgc.py:1637: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, rzlib
rlib\rzlib.py:27: in <module>
[dict(prefix='zlib-'),
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
name = 'zlib'
eci = <ExternalCompilationInfo (pre_include_bits=(), includes=('zlib.h',), include_d...libraries=('zlib1',), use_cpp_linker=False, platform=<MsvcPlatform cc=cl.exe>)>
configurations = [{'prefix': 'zlib-'}, {}], symbol = None, _cache = {}
def configure_external_library(name, eci, configurations,
symbol=None, _cache={}):
"""try to find the external library.
On Unix, this simply tests and returns the given eci.
On Windows, various configurations may be tried to compile the
given eci object. These configurations are a list of dicts,
containing:
- prefix: if an absolute path, will prefix each include and
library directories. If a relative path, the external
directory is searched for directories which names start
with the prefix. The last one in alphabetical order
chosen, and becomes the prefix.
- include_dir: prefix + include_dir is added to the include directories
- library_dir: prefix + library_dir is added to the library directories
"""
if sys.platform != 'win32':
configurations = []
key = (name, eci)
try:
return _cache[key]
except KeyError:
last_error = None
# Always try the default configuration
if {} not in configurations:
configurations.append({})
for configuration in configurations:
prefix = configuration.get('prefix', '')
include_dir = configuration.get('include_dir', '')
library_dir = configuration.get('library_dir', '')
if prefix and not os.path.isabs(prefix):
import glob
entries = glob.glob(str(PYPY_EXTERNAL_DIR.join(prefix + '*')))
if entries:
# Get last version
prefix = sorted(entries)[-1]
else:
continue
include_dir = os.path.join(prefix, include_dir)
library_dir = os.path.join(prefix, library_dir)
eci_lib = ExternalCompilationInfo(
include_dirs=include_dir and [include_dir] or [],
library_dirs=library_dir and [library_dir] or [],
)
eci_lib = eci_lib.merge(eci)
# verify that this eci can be compiled
try:
verify_eci(eci_lib)
except CompilationError as e:
last_error = e
else:
_cache[key] = eci_lib
return eci_lib
# Nothing found
if last_error:
> raise last_error
E CompilationError: CompilationError(out="""
E """)
rtyper\tool\rffi_platform.py:846: CompilationError
ERROR at setup of TestIncrementalMiniMarkGCMostCompact.test_limited_memory_linux
cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGCMostCompact'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator\c\test\test_newgc.py:84:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator\c\test\test_newgc.py:1637: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, rzlib
rlib\rzlib.py:27: in <module>
[dict(prefix='zlib-'),
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
name = 'zlib'
eci = <ExternalCompilationInfo (pre_include_bits=(), includes=('zlib.h',), include_d...libraries=('zlib1',), use_cpp_linker=False, platform=<MsvcPlatform cc=cl.exe>)>
configurations = [{'prefix': 'zlib-'}, {}], symbol = None, _cache = {}
def configure_external_library(name, eci, configurations,
symbol=None, _cache={}):
"""try to find the external library.
On Unix, this simply tests and returns the given eci.
On Windows, various configurations may be tried to compile the
given eci object. These configurations are a list of dicts,
containing:
- prefix: if an absolute path, will prefix each include and
library directories. If a relative path, the external
directory is searched for directories which names start
with the prefix. The last one in alphabetical order
chosen, and becomes the prefix.
- include_dir: prefix + include_dir is added to the include directories
- library_dir: prefix + library_dir is added to the library directories
"""
if sys.platform != 'win32':
configurations = []
key = (name, eci)
try:
return _cache[key]
except KeyError:
last_error = None
# Always try the default configuration
if {} not in configurations:
configurations.append({})
for configuration in configurations:
prefix = configuration.get('prefix', '')
include_dir = configuration.get('include_dir', '')
library_dir = configuration.get('library_dir', '')
if prefix and not os.path.isabs(prefix):
import glob
entries = glob.glob(str(PYPY_EXTERNAL_DIR.join(prefix + '*')))
if entries:
# Get last version
prefix = sorted(entries)[-1]
else:
continue
include_dir = os.path.join(prefix, include_dir)
library_dir = os.path.join(prefix, library_dir)
eci_lib = ExternalCompilationInfo(
include_dirs=include_dir and [include_dir] or [],
library_dirs=library_dir and [library_dir] or [],
)
eci_lib = eci_lib.merge(eci)
# verify that this eci can be compiled
try:
verify_eci(eci_lib)
except CompilationError as e:
last_error = e
else:
_cache[key] = eci_lib
return eci_lib
# Nothing found
if last_error:
> raise last_error
E CompilationError: CompilationError(out="""
E """)
rtyper\tool\rffi_platform.py:846: CompilationError
ERROR at setup of TestIncrementalMiniMarkGCMostCompact.test_ignore_finalizer _
cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGCMostCompact'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator\c\test\test_newgc.py:84:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator\c\test\test_newgc.py:1637: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, rzlib
rlib\rzlib.py:27: in <module>
[dict(prefix='zlib-'),
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
name = 'zlib'
eci = <ExternalCompilationInfo (pre_include_bits=(), includes=('zlib.h',), include_d...libraries=('zlib1',), use_cpp_linker=False, platform=<MsvcPlatform cc=cl.exe>)>
configurations = [{'prefix': 'zlib-'}, {}], symbol = None, _cache = {}
def configure_external_library(name, eci, configurations,
symbol=None, _cache={}):
"""try to find the external library.
On Unix, this simply tests and returns the given eci.
On Windows, various configurations may be tried to compile the
given eci object. These configurations are a list of dicts,
containing:
- prefix: if an absolute path, will prefix each include and
library directories. If a relative path, the external
directory is searched for directories which names start
with the prefix. The last one in alphabetical order
chosen, and becomes the prefix.
- include_dir: prefix + include_dir is added to the include directories
- library_dir: prefix + library_dir is added to the library directories
"""
if sys.platform != 'win32':
configurations = []
key = (name, eci)
try:
return _cache[key]
except KeyError:
last_error = None
# Always try the default configuration
if {} not in configurations:
configurations.append({})
for configuration in configurations:
prefix = configuration.get('prefix', '')
include_dir = configuration.get('include_dir', '')
library_dir = configuration.get('library_dir', '')
if prefix and not os.path.isabs(prefix):
import glob
entries = glob.glob(str(PYPY_EXTERNAL_DIR.join(prefix + '*')))
if entries:
# Get last version
prefix = sorted(entries)[-1]
else:
continue
include_dir = os.path.join(prefix, include_dir)
library_dir = os.path.join(prefix, library_dir)
eci_lib = ExternalCompilationInfo(
include_dirs=include_dir and [include_dir] or [],
library_dirs=library_dir and [library_dir] or [],
)
eci_lib = eci_lib.merge(eci)
# verify that this eci can be compiled
try:
verify_eci(eci_lib)
except CompilationError as e:
last_error = e
else:
_cache[key] = eci_lib
return eci_lib
# Nothing found
if last_error:
> raise last_error
E CompilationError: CompilationError(out="""
E """)
rtyper\tool\rffi_platform.py:846: CompilationError
_ ERROR at setup of TestIncrementalMiniMarkGCMostCompact.test_enable_disable __
cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGCMostCompact'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator\c\test\test_newgc.py:84:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator\c\test\test_newgc.py:1637: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, rzlib
rlib\rzlib.py:27: in <module>
[dict(prefix='zlib-'),
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
name = 'zlib'
eci = <ExternalCompilationInfo (pre_include_bits=(), includes=('zlib.h',), include_d...libraries=('zlib1',), use_cpp_linker=False, platform=<MsvcPlatform cc=cl.exe>)>
configurations = [{'prefix': 'zlib-'}, {}], symbol = None, _cache = {}
def configure_external_library(name, eci, configurations,
symbol=None, _cache={}):
"""try to find the external library.
On Unix, this simply tests and returns the given eci.
On Windows, various configurations may be tried to compile the
given eci object. These configurations are a list of dicts,
containing:
- prefix: if an absolute path, will prefix each include and
library directories. If a relative path, the external
directory is searched for directories which names start
with the prefix. The last one in alphabetical order
chosen, and becomes the prefix.
- include_dir: prefix + include_dir is added to the include directories
- library_dir: prefix + library_dir is added to the library directories
"""
if sys.platform != 'win32':
configurations = []
key = (name, eci)
try:
return _cache[key]
except KeyError:
last_error = None
# Always try the default configuration
if {} not in configurations:
configurations.append({})
for configuration in configurations:
prefix = configuration.get('prefix', '')
include_dir = configuration.get('include_dir', '')
library_dir = configuration.get('library_dir', '')
if prefix and not os.path.isabs(prefix):
import glob
entries = glob.glob(str(PYPY_EXTERNAL_DIR.join(prefix + '*')))
if entries:
# Get last version
prefix = sorted(entries)[-1]
else:
continue
include_dir = os.path.join(prefix, include_dir)
library_dir = os.path.join(prefix, library_dir)
eci_lib = ExternalCompilationInfo(
include_dirs=include_dir and [include_dir] or [],
library_dirs=library_dir and [library_dir] or [],
)
eci_lib = eci_lib.merge(eci)
# verify that this eci can be compiled
try:
verify_eci(eci_lib)
except CompilationError as e:
last_error = e
else:
_cache[key] = eci_lib
return eci_lib
# Nothing found
if last_error:
> raise last_error
E CompilationError: CompilationError(out="""
E """)
rtyper\tool\rffi_platform.py:846: CompilationError
__ ERROR at setup of TestIncrementalMiniMarkGCMostCompact.test_collect_step ___
cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGCMostCompact'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator\c\test\test_newgc.py:84:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator\c\test\test_newgc.py:1637: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, rzlib
rlib\rzlib.py:27: in <module>
[dict(prefix='zlib-'),
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
name = 'zlib'
eci = <ExternalCompilationInfo (pre_include_bits=(), includes=('zlib.h',), include_d...libraries=('zlib1',), use_cpp_linker=False, platform=<MsvcPlatform cc=cl.exe>)>
configurations = [{'prefix': 'zlib-'}, {}], symbol = None, _cache = {}
def configure_external_library(name, eci, configurations,
symbol=None, _cache={}):
"""try to find the external library.
On Unix, this simply tests and returns the given eci.
On Windows, various configurations may be tried to compile the
given eci object. These configurations are a list of dicts,
containing:
- prefix: if an absolute path, will prefix each include and
library directories. If a relative path, the external
directory is searched for directories which names start
with the prefix. The last one in alphabetical order
chosen, and becomes the prefix.
- include_dir: prefix + include_dir is added to the include directories
- library_dir: prefix + library_dir is added to the library directories
"""
if sys.platform != 'win32':
configurations = []
key = (name, eci)
try:
return _cache[key]
except KeyError:
last_error = None
# Always try the default configuration
if {} not in configurations:
configurations.append({})
for configuration in configurations:
prefix = configuration.get('prefix', '')
include_dir = configuration.get('include_dir', '')
library_dir = configuration.get('library_dir', '')
if prefix and not os.path.isabs(prefix):
import glob
entries = glob.glob(str(PYPY_EXTERNAL_DIR.join(prefix + '*')))
if entries:
# Get last version
prefix = sorted(entries)[-1]
else:
continue
include_dir = os.path.join(prefix, include_dir)
library_dir = os.path.join(prefix, library_dir)
eci_lib = ExternalCompilationInfo(
include_dirs=include_dir and [include_dir] or [],
library_dirs=library_dir and [library_dir] or [],
)
eci_lib = eci_lib.merge(eci)
# verify that this eci can be compiled
try:
verify_eci(eci_lib)
except CompilationError as e:
last_error = e
else:
_cache[key] = eci_lib
return eci_lib
# Nothing found
if last_error:
> raise last_error
E CompilationError: CompilationError(out="""
E """)
rtyper\tool\rffi_platform.py:846: CompilationError
__ ERROR at setup of TestIncrementalMiniMarkGCMostCompact.test_total_gc_time __
cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGCMostCompact'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator\c\test\test_newgc.py:84:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator\c\test\test_newgc.py:1637: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, rzlib
rlib\rzlib.py:27: in <module>
[dict(prefix='zlib-'),
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
name = 'zlib'
eci = <ExternalCompilationInfo (pre_include_bits=(), includes=('zlib.h',), include_d...libraries=('zlib1',), use_cpp_linker=False, platform=<MsvcPlatform cc=cl.exe>)>
configurations = [{'prefix': 'zlib-'}, {}], symbol = None, _cache = {}
def configure_external_library(name, eci, configurations,
symbol=None, _cache={}):
"""try to find the external library.
On Unix, this simply tests and returns the given eci.
On Windows, various configurations may be tried to compile the
given eci object. These configurations are a list of dicts,
containing:
- prefix: if an absolute path, will prefix each include and
library directories. If a relative path, the external
directory is searched for directories which names start
with the prefix. The last one in alphabetical order
chosen, and becomes the prefix.
- include_dir: prefix + include_dir is added to the include directories
- library_dir: prefix + library_dir is added to the library directories
"""
if sys.platform != 'win32':
configurations = []
key = (name, eci)
try:
return _cache[key]
except KeyError:
last_error = None
# Always try the default configuration
if {} not in configurations:
configurations.append({})
for configuration in configurations:
prefix = configuration.get('prefix', '')
include_dir = configuration.get('include_dir', '')
library_dir = configuration.get('library_dir', '')
if prefix and not os.path.isabs(prefix):
import glob
entries = glob.glob(str(PYPY_EXTERNAL_DIR.join(prefix + '*')))
if entries:
# Get last version
prefix = sorted(entries)[-1]
else:
continue
include_dir = os.path.join(prefix, include_dir)
library_dir = os.path.join(prefix, library_dir)
eci_lib = ExternalCompilationInfo(
include_dirs=include_dir and [include_dir] or [],
library_dirs=library_dir and [library_dir] or [],
)
eci_lib = eci_lib.merge(eci)
# verify that this eci can be compiled
try:
verify_eci(eci_lib)
except CompilationError as e:
last_error = e
else:
_cache[key] = eci_lib
return eci_lib
# Nothing found
if last_error:
> raise last_error
E CompilationError: CompilationError(out="""
E """)
rtyper\tool\rffi_platform.py:846: CompilationError
ERROR at setup of TestIncrementalMiniMarkGCMostCompact.test_increase_root_stack_depth
cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGCMostCompact'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator\c\test\test_newgc.py:84:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator\c\test\test_newgc.py:1637: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, rzlib
rlib\rzlib.py:27: in <module>
[dict(prefix='zlib-'),
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
name = 'zlib'
eci = <ExternalCompilationInfo (pre_include_bits=(), includes=('zlib.h',), include_d...libraries=('zlib1',), use_cpp_linker=False, platform=<MsvcPlatform cc=cl.exe>)>
configurations = [{'prefix': 'zlib-'}, {}], symbol = None, _cache = {}
def configure_external_library(name, eci, configurations,
symbol=None, _cache={}):
"""try to find the external library.
On Unix, this simply tests and returns the given eci.
On Windows, various configurations may be tried to compile the
given eci object. These configurations are a list of dicts,
containing:
- prefix: if an absolute path, will prefix each include and
library directories. If a relative path, the external
directory is searched for directories which names start
with the prefix. The last one in alphabetical order
chosen, and becomes the prefix.
- include_dir: prefix + include_dir is added to the include directories
- library_dir: prefix + library_dir is added to the library directories
"""
if sys.platform != 'win32':
configurations = []
key = (name, eci)
try:
return _cache[key]
except KeyError:
last_error = None
# Always try the default configuration
if {} not in configurations:
configurations.append({})
for configuration in configurations:
prefix = configuration.get('prefix', '')
include_dir = configuration.get('include_dir', '')
library_dir = configuration.get('library_dir', '')
if prefix and not os.path.isabs(prefix):
import glob
entries = glob.glob(str(PYPY_EXTERNAL_DIR.join(prefix + '*')))
if entries:
# Get last version
prefix = sorted(entries)[-1]
else:
continue
include_dir = os.path.join(prefix, include_dir)
library_dir = os.path.join(prefix, library_dir)
eci_lib = ExternalCompilationInfo(
include_dirs=include_dir and [include_dir] or [],
library_dirs=library_dir and [library_dir] or [],
)
eci_lib = eci_lib.merge(eci)
# verify that this eci can be compiled
try:
verify_eci(eci_lib)
except CompilationError as e:
last_error = e
else:
_cache[key] = eci_lib
return eci_lib
# Nothing found
if last_error:
> raise last_error
E CompilationError: CompilationError(out="""
E """)
rtyper\tool\rffi_platform.py:846: CompilationError
_____ ERROR at setup of TestIncrementalMiniMarkGCMostCompact.test_tagged ______
cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGCMostCompact'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator\c\test\test_newgc.py:84:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator\c\test\test_newgc.py:1637: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, rzlib
rlib\rzlib.py:27: in <module>
[dict(prefix='zlib-'),
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
name = 'zlib'
eci = <ExternalCompilationInfo (pre_include_bits=(), includes=('zlib.h',), include_d...libraries=('zlib1',), use_cpp_linker=False, platform=<MsvcPlatform cc=cl.exe>)>
configurations = [{'prefix': 'zlib-'}, {}], symbol = None, _cache = {}
def configure_external_library(name, eci, configurations,
symbol=None, _cache={}):
"""try to find the external library.
On Unix, this simply tests and returns the given eci.
On Windows, various configurations may be tried to compile the
given eci object. These configurations are a list of dicts,
containing:
- prefix: if an absolute path, will prefix each include and
library directories. If a relative path, the external
directory is searched for directories which names start
with the prefix. The last one in alphabetical order
chosen, and becomes the prefix.
- include_dir: prefix + include_dir is added to the include directories
- library_dir: prefix + library_dir is added to the library directories
"""
if sys.platform != 'win32':
configurations = []
key = (name, eci)
try:
return _cache[key]
except KeyError:
last_error = None
# Always try the default configuration
if {} not in configurations:
configurations.append({})
for configuration in configurations:
prefix = configuration.get('prefix', '')
include_dir = configuration.get('include_dir', '')
library_dir = configuration.get('library_dir', '')
if prefix and not os.path.isabs(prefix):
import glob
entries = glob.glob(str(PYPY_EXTERNAL_DIR.join(prefix + '*')))
if entries:
# Get last version
prefix = sorted(entries)[-1]
else:
continue
include_dir = os.path.join(prefix, include_dir)
library_dir = os.path.join(prefix, library_dir)
eci_lib = ExternalCompilationInfo(
include_dirs=include_dir and [include_dir] or [],
library_dirs=library_dir and [library_dir] or [],
)
eci_lib = eci_lib.merge(eci)
# verify that this eci can be compiled
try:
verify_eci(eci_lib)
except CompilationError as e:
last_error = e
else:
_cache[key] = eci_lib
return eci_lib
# Nothing found
if last_error:
> raise last_error
E CompilationError: CompilationError(out="""
E """)
rtyper\tool\rffi_platform.py:846: CompilationError
_____ ERROR at setup of TestIncrementalMiniMarkGCMostCompact.test_erased ______
cls = <class 'rpython.translator.c.test.test_newgc.TestIncrementalMiniMarkGCMostCompact'>
def setup_class(cls):
funcs0 = []
funcs1 = []
funcsstr = []
name_to_func = {}
for fullname in dir(cls):
if not fullname.startswith('define'):
continue
keyword = option.keyword
if keyword.startswith('test_') and not keyword.endswith(':'):
keyword = keyword[len('test_'):]
if keyword not in fullname:
continue
prefix, name = fullname.split('_', 1)
definefunc = getattr(cls, fullname)
> func = definefunc.im_func(cls)
translator\c\test\test_newgc.py:84:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator\c\test\test_newgc.py:1637: in define_nongc_opaque_attached_to_gc
from rpython.rlib import rgc, rzlib
rlib\rzlib.py:27: in <module>
[dict(prefix='zlib-'),
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
name = 'zlib'
eci = <ExternalCompilationInfo (pre_include_bits=(), includes=('zlib.h',), include_d...libraries=('zlib1',), use_cpp_linker=False, platform=<MsvcPlatform cc=cl.exe>)>
configurations = [{'prefix': 'zlib-'}, {}], symbol = None, _cache = {}
def configure_external_library(name, eci, configurations,
symbol=None, _cache={}):
"""try to find the external library.
On Unix, this simply tests and returns the given eci.
On Windows, various configurations may be tried to compile the
given eci object. These configurations are a list of dicts,
containing:
- prefix: if an absolute path, will prefix each include and
library directories. If a relative path, the external
directory is searched for directories which names start
with the prefix. The last one in alphabetical order
chosen, and becomes the prefix.
- include_dir: prefix + include_dir is added to the include directories
- library_dir: prefix + library_dir is added to the library directories
"""
if sys.platform != 'win32':
configurations = []
key = (name, eci)
try:
return _cache[key]
except KeyError:
last_error = None
# Always try the default configuration
if {} not in configurations:
configurations.append({})
for configuration in configurations:
prefix = configuration.get('prefix', '')
include_dir = configuration.get('include_dir', '')
library_dir = configuration.get('library_dir', '')
if prefix and not os.path.isabs(prefix):
import glob
entries = glob.glob(str(PYPY_EXTERNAL_DIR.join(prefix + '*')))
if entries:
# Get last version
prefix = sorted(entries)[-1]
else:
continue
include_dir = os.path.join(prefix, include_dir)
library_dir = os.path.join(prefix, library_dir)
eci_lib = ExternalCompilationInfo(
include_dirs=include_dir and [include_dir] or [],
library_dirs=library_dir and [library_dir] or [],
)
eci_lib = eci_lib.merge(eci)
# verify that this eci can be compiled
try:
verify_eci(eci_lib)
except CompilationError as e:
last_error = e
else:
_cache[key] = eci_lib
return eci_lib
# Nothing found
if last_error:
> raise last_error
E CompilationError: CompilationError(out="""
E """)
rtyper\tool\rffi_platform.py:846: CompilationError
========================= 264 error in 66.77 seconds ==========================
++ 06:28:22 starting translator/c/test/test_refcount.py [311 started in total]
__ translator/c/test/test_genc.py [308 done in total, somefailed=False] _______
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 33 items
translator\c\test\test_genc.py .................................
======================== 33 passed in 2896.68 seconds =========================
++ 06:30:56 starting translator/c/test/test_rtagged.py [312 started in total]
__ translator/c/test/test_backendoptimized.py [309 done in total, somefailed=True]
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 90 items
translator\c\test\test_backendoptimized.py .............................................++ 06:32:17 starting translator/c/test/test_standalone.py [313 started in total]
__ translator/c/test/test_rtagged.py [310 done in total, somefailed=False] ____
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 2 items
translator\c\test\test_rtagged.py ..
========================== 2 passed in 81.95 seconds ==========================
++ 06:32:41 starting translator/c/test/test_standalone_print_function.py [314 started in total]
__ translator/c/test/test_standalone_print_function.py [311 done in total, somefailed=False]
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 1 items
translator\c\test\test_standalone_print_function.py .
========================= 1 passed in 107.98 seconds ==========================
++ 06:34:47 starting translator/c/test/test_support.py [315 started in total]
__ translator/c/test/test_support.py [312 done in total, somefailed=False] ____
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 107 items
translator\c\test\test_support.py ...........................................................................................................
========================= 107 passed in 4.02 seconds ==========================
++ 06:35:17 starting translator/c/test/test_symbolic.py [316 started in total]
__ translator/c/test/test_refcount.py [313 done in total, somefailed=False] ___
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 10 items
translator\c\test\test_refcount.py ..........
========================= 10 passed in 422.65 seconds =========================
++ 06:35:35 starting translator/c/test/test_typed.py [317 started in total]
__ translator/c/test/test_symbolic.py [314 done in total, somefailed=False] ___
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 7 items
translator\c\test\test_symbolic.py .......
========================= 7 passed in 303.89 seconds ==========================
++ 06:40:41 starting translator/platform/arch/test [318 started in total]
__ translator/platform/arch/test [315 done in total, somefailed=False] ________
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 0 items / 1 skipped
========================== 1 skipped in 0.02 seconds ==========================
++ 06:41:00 starting translator/platform/test [319 started in total]
__ translator/c/test/test_lltyped.py [316 done in total, somefailed=False] ____
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 51 items
translator\c\test\test_lltyped.py ..................s...............s................
=================== 49 passed, 2 skipped in 2129.31 seconds ===================
++ 06:46:52 starting translator/sandbox/test [320 started in total]
__ translator/sandbox/test [317 done in total, somefailed=False] ______________
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 0 items / 3 skipped
========================== 3 skipped in 0.45 seconds ==========================
++ 06:47:05 starting translator/test [321 started in total]
__ translator/platform/test [318 done in total, somefailed=False] _____________
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 21 items / 1 skipped
translator\platform\test\test_makefile.py ....
translator\platform\test\test_platform.py ..........
translator\platform\test\test_posix.py ....
translator\platform\test\test_windows.py ...
=================== 21 passed, 1 skipped in 545.23 seconds ====================
++ 06:50:16 starting translator/tool/test [322 started in total]
__ translator/tool/test [319 done in total, somefailed=False] _________________
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 15 items
translator\tool\test\test_cbuild.py ......s.s.
translator\tool\test\test_staticsizereport.py ..
translator\tool\test\test_taskengine.py ...
=================== 13 passed, 2 skipped in 131.05 seconds ====================
__ translator/c/test/test_standalone.py [320 done in total, somefailed=False] _
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 42 items
translator\c\test\test_standalone.py ...s.ss.....s....s......s..s..s....s...ss.
================== 31 passed, 11 skipped in 1308.37 seconds ===================
__ translator/test [321 done in total, somefailed=False] ______________________
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 75 items
translator\test\test_driver.py ....s
translator\test\test_exceptiontransform.py .........s......
translator\test\test_interactive.py .......
translator\test\test_simplify.py .............................
translator\test\test_stackcheck.py ...
translator\test\test_timing.py .
translator\test\test_translator.py ......
translator\test\test_uniquename.py .
translator\test\test_unsimplify.py .......
=================== 73 passed, 2 skipped in 555.85 seconds ====================
__ translator/c/test/test_typed.py [322 done in total, somefailed=False] ______
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Updated environment with vsver 160, using x64 True
[platform:msg] Set platform with 'host' cc=None, using cc='cl.exe', version='MSVC 160'
============================= test session starts =============================
platform win32 -- Python 2.7.18[pypy-7.3.18-alpha], pytest-2.9.2, py-1.4.29, pluggy-0.3.1
hypothesis profile 'default' -> deadline=None, database=DirectoryBasedExampleDatabase('d:\\pypy_stuff\\buildbot64\\slave\\rpython-win-x86-64\\build\\rpython\\.hypothesis\\examples')
pytest-2.9.2 from d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\pytest.pyc
rootdir: d:\pypy_stuff\buildbot64\slave\rpython-win-x86-64\build\rpython, inifile: pytest.ini
plugins: hypothesis-4.39.3
collected 76 items
translator\c\test\test_typed.py .....................................................................ssss...
=================== 72 passed, 4 skipped in 3324.47 seconds ===================
program finished with exit code 1
elapsedTime=18025.593000