[pypy-dev] How to compile a file with rpython

Matti Picus matti.picus at gmail.com
Mon Nov 22 12:26:21 EST 2021


On 22/11/21 7:06 pm, M A wrote:
>
>> On Nov 22, 2021, at 1:08 AM, Dan Stromberg <drsalists at gmail.com> wrote:
>>
>>   
>> Why do you desire an executable?
>>
>> Last I heard, a program would perform well on Pypy's JIT, and that using rpython was almost always unnecessary.
>>
>> If you need an executable, you could also try Cython or Nuitka.
> Well I'm working on code for PyPy. If I could unit test my code my development speed would increase a lot. It takes a long time for PyPy to build on my computer.
> _______________________________________________


The way to unit test code is with


python2 pytest.py rpython/path/to/test/test_file.py


This is explained in the testing section of the "how to contribute" [0]. 
If that document is not clear, please help us improve it.


Matti


[0] https://doc.pypy.org/en/latest/contributing.html#testing



More information about the pypy-dev mailing list