Hi, On 17 August 2015 at 12:52, Vaibhav Sood <vaibhav_s...@persistent.com> wrote: > 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?
This code is tested via its RPython interface in rpython/rlib/rstacklet.py. The test file is rpython/rlib/test/test_rstacklet.py. In the C directory itself, there is a Makefile with a 'run-all-tests' target in it, indeed, but that was used during development only. You can still use it now if you want to test manually the C files after making changes to them, though I guess it doesn't work on platforms other than Linux (and doesn't really need to, as long as test_rstacklet.py passes). A bientôt, Armin. _______________________________________________ pypy-dev mailing list pypy-dev@python.org https://mail.python.org/mailman/listinfo/pypy-dev