Re: [pypy-svn] r25042 - in pypy/dist/pypy/translator/cli: . test

Hi Anto, On Mon, Mar 27, 2006 at 17:29 +0200, antocuni@codespeak.net wrote:
I am not sure i am following here or missing something. First, i am missing "options.py" (which should not be plural, anyway :) Second, i am unsure what you are aiming at. Originally, the "conftest" way of adding options is meant to be used with the "py.test" invocation. Third, the py.test/conftest way of allowing a test session to have command line options has some caveats. But i am unsure if these caveats are related to your problem :) cheers, holger

On 3/28/06, holger krekel <hpk@trillke.net> wrote: Hi Holger,
oops, I forgot 'svn add options.py'... now I'm not at home, I'll check it in as soon as possibile.
Yer, I encountered some troubles with conftest... With the old version "py.test" worked greatly (with all custom options available) when started from pypy/translator/cli or pypy/translator/cli/test, but it failed when runned as part of the whole pypy's test process, as reported by Armin's automated test results page. I've tried to use conftest as genjs and gensqueak do, but I could not fix the bug and I don't know why, so I wrote the little 'options.py' trick, that is no more than a workaround just to let the automated test to run (the tests will be skipped anyway, since I think mono is not installed on the machine they are runned on, isn't it). ciao Anto

On 3/28/06, holger krekel <hpk@trillke.net> wrote: Hi Holger,
oops, I forgot 'svn add options.py'... now I'm not at home, I'll check it in as soon as possibile.
Yer, I encountered some troubles with conftest... With the old version "py.test" worked greatly (with all custom options available) when started from pypy/translator/cli or pypy/translator/cli/test, but it failed when runned as part of the whole pypy's test process, as reported by Armin's automated test results page. I've tried to use conftest as genjs and gensqueak do, but I could not fix the bug and I don't know why, so I wrote the little 'options.py' trick, that is no more than a workaround just to let the automated test to run (the tests will be skipped anyway, since I think mono is not installed on the machine they are runned on, isn't it). ciao Anto
participants (3)
-
Antonio Cuni
-
Armin Rigo
-
hpk@trillke.net