[pypy-dev] Testing pypy

Chris Lambacher chris at kateandchris.net
Wed Aug 10 15:47:46 CEST 2011


Hi Seung,

Are you talking about the interpreter tests or tests for your own packages?

If you want to run tests, I think the latest versions of Tox support
PyPy. You can have it run tests against multiple versions of python:
http://tox.testrun.org/en/latest/

-Chris


On Wed, Aug 10, 2011 at 7:49 AM, Armin Rigo <arigo at tunes.org> wrote:
> Hi Seung,
>
> On Wed, Aug 10, 2011 at 11:35 AM, Seung Soo, <sungsuha at gmail.com> wrote:
>> Anyway I'd like to know if there is any single way to test both
>> python and pypy(2.7), where the results should be the same.
>
> We use our own custom runner, which you run differently than
> CPython's.  Well, you can also try running "python -m test.regrtest"
> and "pypy -m test.regrtest", which works in both cases -- or at least
> "almost works" on top of PyPy.  The issue is that this will try to run
> all CPython tests, including the few ones that we normally skip; in
> particular there is test_capi that tests the C API, which is not
> complete on top of PyPy yet, so you get a fatal AssertionError.
>
>
> A bientôt,
>
> Armin.
> _______________________________________________
> pypy-dev mailing list
> pypy-dev at python.org
> http://mail.python.org/mailman/listinfo/pypy-dev
>



-- 
Christopher Lambacher
chris at kateandchris.net


More information about the pypy-dev mailing list