cfbolz changed the topic of #pypy to: PyPy, the flexible snake (IRC logs: https://quodlibet.duckdns.org/irc/pypy/latest.log.html#irc-end ) | use cffi for calling C | if a pep adds a mere 25-30 [C-API] functions or so, it's a drop in the ocean (cough) - Armin
lritter has quit [Ping timeout: 264 seconds]
mgorny has quit [Quit: No Ping reply in 60 seconds.]
<bbot2> Failure: http://buildbot.pypy.org/builders/pypy-c-jit-win-x86-64/builds/66 [nulano: test branch, py3.7-win64-cpyext-longobject]
mgorny has joined #pypy
<bbot2> Failure: http://buildbot.pypy.org/builders/own-win-x86-64/builds/146 [nulano: test branch, py3.7-win64-cpyext-longobject]
felixphew has joined #pypy
<felixphew> Hi - bit of a weird question: what's the simplest way to run tests against the pypy source tree, specifically the hypothesis tests?
<felixphew> I'm not trying to test pypy so much as I'm trying to create a little reference suite for hypothesis, and pypy is a nice "big" project that appears to make substantial use of hypothesis tests
<tumbleweed> there are several different test suites that use hypothesis
<felixphew> I'm running into some mechanical issues trying to run the tests. "pytest -D -m hypothesis pypy", which is the approach I'd normally take, is giving me (different) errors regardless of whether I run it under CPython 3.9 or PyPy 3.6
<felixphew> that's what I've been looking at, yes
<felixphew> I've got it running with an old version of hypothesis, but filtering on "-m hypothesis" deselects all tests
<tumbleweed> yeah, I see that
<tumbleweed> I've never run the hypothesis tests, not sure...
<felixphew> OK, I think they're in the extra_tests folder
<felixphew> yep, that's working now
jcea has quit [Ping timeout: 244 seconds]
<tumbleweed> oh, one thing: the tests in pypy/ will be python 2.7
<felixphew> I noticed
<felixphew> they seemed to be OK running under python 3 with some different options on the 3.x branches
<tumbleweed> yeah, that's work in progress
felixphew has left #pypy ["User left"]
<cfbolz> felixphew: there are various levels of testing
<cfbolz> The ones in extra_tests are very close to how cpython does it
<cfbolz> The one in subdirs of pypy/ are pre-translation
<mattip> strictly speaking, there are two forms of tests under pypy/, test_*.py tests and apptest_*.py
<mattip> both forms can be run pretranslation with python2 pytest.py <filename>
<mattip> the first can be run post translation with python2 pytest.py -A --python=<exe> <filename>
<mattip> the second can be run post translation with <exe> pytest.py -D <filename>
<mattip> does -D appear in the docs about testing?
<simpson> That's a good post.
jiffe has quit [Ping timeout: 264 seconds]
jiffe has joined #pypy
<fijal> ok, any pointers how do I adapt the squeaky's portable setup to arm64?
<mattip> ahh. I missed the "arm64" bit. So you would need to build the docker image in buildbot/docker,
<mattip> then translate,
<mattip> then run the packge.py script with the flag for portable so it adds the RPATH bits
<mattip> the buildbot is ubuntu 18.04.3, if that libffi is good enough for you maybe you can just run package.py on the buildbot without a docker image?
<mattip> hmm, the download page is wrong, the arm64 tarballs are not portable
<mattip> fijal: I set PYPY_MAKE_PORTABLE in the buildbot and restarted it. Do you want 2.7 or 3.7 ?
<fijal> 3.7
<fijal> thanks!
<bbot2> Started: http://buildbot.pypy.org/builders/pypy-c-jit-linux-aarch64/builds/832 [mattip: test portable build, py3.7]
<bbot2> Failure: http://buildbot.pypy.org/builders/pypy-c-jit-linux-aarch64/builds/832 [mattip: test portable build, py3.7]
<bbot2> Started: http://buildbot.pypy.org/builders/pypy-c-jit-linux-aarch64/builds/833 [mattip: test portable build, py3.7]
<mattip> that should build a ubuntu18 portable build, so ubuntu18+
oberstet has joined #pypy
fijal has quit [Read error: Connection reset by peer]
altendky has quit [Read error: Connection reset by peer]
altendky has joined #pypy
fijal has joined #pypy
<cfbolz> does anybody happen to know how to contact stian andreassen (_stian on bitbucket)?
<cfbolz> ah, maybe I found a mail address
<fijal> mattip: so it will automatically show in nightlies?
alexge50 has quit [Ping timeout: 256 seconds]
andi- has quit [Ping timeout: 260 seconds]
<bbot2> Started: http://buildbot.pypy.org/builders/own-win-x86-32/builds/2597 [nulano: test branch, py3.7-win64-cpyext-longobject]
<bbot2> Started: http://buildbot.pypy.org/builders/pypy-c-jit-win-x86-32/builds/5757 [nulano: test branch, py3.7-win64-cpyext-longobject]
<bbot2> Started: http://buildbot.pypy.org/builders/own-win-x86-64/builds/148 [nulano: test branch, py3.7-win64-cpyext-longobject]
<bbot2> Started: http://buildbot.pypy.org/builders/own-linux-x86-64/builds/8527 [nulano: test branch, py3.7-win64-cpyext-longobject]
<bbot2> Started: http://buildbot.pypy.org/builders/own-linux-x86-32/builds/7386 [nulano: test branch, py3.7-win64-cpyext-longobject]
andi- has joined #pypy
<mattip> fijal: once the build succeeds, yes. It seems the build machine need a bit of tweeking
<bbot2> Exception: http://buildbot.pypy.org/builders/pypy-c-jit-linux-aarch64/builds/833 [mattip: test portable build, py3.7]
<mattip> fijal: fixed and uploaded. See the latest aarch64 build on http://buildbot.pypy.org/nightly/py3.7/
<mattip> it is now 29MB instead of 25MB
<bbot2> Failure: http://buildbot.pypy.org/builders/own-linux-x86-64/builds/8527 [nulano: test branch, py3.7-win64-cpyext-longobject]
camelCaser has quit [Ping timeout: 240 seconds]
<bbot2> Failure: http://buildbot.pypy.org/builders/own-linux-x86-32/builds/7386 [nulano: test branch, py3.7-win64-cpyext-longobject]
<bbot2> Failure: http://buildbot.pypy.org/builders/own-win-x86-64/builds/148 [nulano: test branch, py3.7-win64-cpyext-longobject]
<bbot2> Failure: http://buildbot.pypy.org/builders/own-win-x86-32/builds/2597 [nulano: test branch, py3.7-win64-cpyext-longobject]
jcea has joined #pypy
pmp-p has quit [Remote host closed the connection]
pmp-p has joined #pypy
otisolsen70 has joined #pypy
pmp-p has quit [Remote host closed the connection]
pmp-p has joined #pypy
<bbot2> Failure: http://buildbot.pypy.org/builders/pypy-c-jit-win-x86-32/builds/5757 [nulano: test branch, py3.7-win64-cpyext-longobject]
pmp-p has quit [Remote host closed the connection]
pmp-p has joined #pypy
rjarry has left #pypy ["Leaving"]
pmp-p has quit [Remote host closed the connection]
jcea has quit [Quit: jcea]
pmp-p has joined #pypy
jcea has joined #pypy
pmp-p has quit [Remote host closed the connection]
pmp-p has joined #pypy
lritter has joined #pypy
pmp-p has quit [Remote host closed the connection]
pmp-p has joined #pypy
pmp-p has quit [Disconnected by services]
pmp-p has joined #pypy
pmp-p has quit [Remote host closed the connection]
pmp-p has joined #pypy
pmp-p has quit [Remote host closed the connection]
pmp-p has joined #pypy
otisolsen70_ has joined #pypy
otisolsen70 has quit [Ping timeout: 256 seconds]
pmp-p has quit [Remote host closed the connection]
<bbot2> Started: http://buildbot.pypy.org/builders/own-win-x86-32/builds/2598 [nulano: test branch, py2.7-winreg]
<bbot2> Started: http://buildbot.pypy.org/builders/pypy-c-jit-win-x86-32/builds/5758 [nulano: test branch, py2.7-winreg]
<bbot2> Started: http://buildbot.pypy.org/builders/own-win-x86-64/builds/149 [nulano: test branch, py2.7-winreg]
pmp-p has joined #pypy
otisolsen70_ has quit [Ping timeout: 272 seconds]
marky1991 has joined #pypy
<bbot2> Failure: http://buildbot.pypy.org/builders/own-win-x86-64/builds/149 [nulano: test branch, py2.7-winreg]
<bbot2> Failure: http://buildbot.pypy.org/builders/own-win-x86-32/builds/2598 [nulano: test branch, py2.7-winreg]
otisolsen70_ has joined #pypy
otisolsen70_ has quit [Remote host closed the connection]
pmp-p has quit [Remote host closed the connection]
pmp-p has joined #pypy
otisolsen70 has joined #pypy
pmp-p has quit [Remote host closed the connection]
pmp-p has joined #pypy
pmp-p has quit [Remote host closed the connection]
pmp-p has joined #pypy
<bbot2> Failure: http://buildbot.pypy.org/builders/pypy-c-jit-win-x86-32/builds/5758 [nulano: test branch, py2.7-winreg]
<bbot2> Started: http://buildbot.pypy.org/builders/pypy-c-jit-win-x86-64/builds/68 [nulano: test branch, py2.7-winreg]
marky1991 has quit [Ping timeout: 265 seconds]
otisolsen70 has quit [Quit: Leaving]
<bbot2> Failure: http://buildbot.pypy.org/builders/pypy-c-jit-win-x86-64/builds/68 [nulano: test branch, py2.7-winreg]