Hi Holger,

On Mon, Jan 17, 2005 at 12:08:01AM +0100, [EMAIL PROTECTED] wrote:
> Log:
> skip tests if underlying system features (c-compiler mostly) 
> are not present. 

> -        return t.ccompile()
> +        return py.test.skip_on_error(t.ccompile) 

Ahem!  This looks like it is saying "run the difficult part that we are
testing, but if anything goes wrong, just skip the test".

The test *is* that t.ccompile() works correctly, and only additionally that
calling the compiled function works.  In practice it's more common that there
is an exception-raising bug in genc.py, which is called by t.ccompile().


Armin
_______________________________________________
[email protected]
http://codespeak.net/mailman/listinfo/pypy-dev

Reply via email to