[pypy-dev] pypy platform specific tests

Vaibhav Sood vaibhav_sood at persistent.com
Mon Aug 17 12:52:54 CEST 2015


Thanks Armin! I was looking at the stacklet code under "pypy/rpython/translator/c/src/stacklet" as an example , I did find a tests.c file in the same folder but couldn’t find it being invoked by buildbot or any .py file in the test suite (in the Makefile there is a 'run-all-tests' target but doing a 'make run-all-tests' gives an error) so was wondering how this code gets tested?

Thanks again!

Regards,
Vaibhav

-----Original Message-----
From: armin.rigo at gmail.com [mailto:armin.rigo at gmail.com] On Behalf Of Armin Rigo
Sent: Sunday, August 16, 2015 4:53 PM
To: Vaibhav Sood
Cc: pypy-dev at python.org
Subject: Re: [pypy-dev] pypy platform specific tests

Hi Vaibhav,

On 12 August 2015 at 14:15, Vaibhav Sood <vaibhav_sood at persistent.com> wrote:
> wondering if there are any tests in the test suite which help to test 
> the built binary? I ask this because I believe there is platform 
> specific code in the binary and if so are there are any platform 
> specific tests (I am assuming they will be .c files and not .py files) in the code?

No, our tests are almost always .py files.  If you have some more precise query, like "where is code xyz tested?", I can answer more precisely.

We run some tests with the pypy binaries, like CPython's own tests and more.  Obviously it requires first getting a pypy in binary form.
Then see e.g. http://buildbot.pypy.org/builders/pypy-c-jit-linux-x86-64/builds/2722
.  The last four sections (numbers 10 to 13) are running some tests; for example section number 11 is the CPython tests.  You can click on "stdio" to see the exact command used to run the tests (in the first line).


A bientôt,

Armin.

DISCLAIMER
==========
This e-mail may contain privileged and confidential information which is the property of Persistent Systems Ltd. It is intended only for the use of the individual or entity to which it is addressed. If you are not the intended recipient, you are not authorized to read, retain, copy, print, distribute or use this message. If you have received this communication in error, please notify the sender and delete all copies of this message. Persistent Systems Ltd. does not accept any liability for virus infected mails.



More information about the pypy-dev mailing list