[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [pygame] fmodf on msvc transform.c... any ideas brian?



Yeah, you can use the run_tests_sub.py that Nicholas made to run each
of the tests in a separate process.   I think it runs each of the
suites in a separate process, rather than each test.


On Mon, Jun 30, 2008 at 2:52 PM, Lenard Lindstrom <len-l@xxxxxxxxx> wrote:
> The setUp and tearDown methods. These can be useful. There is also a
> solution in the works wherel each unit test is run as an independent
> program. This means no changes will be needed.
>
> Lenard
>
>
> Charlie Nolan wrote:
>>
>> Correct me if I'm wrong, but doesn't unittest specifically give you a
>> way to perform setup and tear-down actions before/after each test?
>> Seems like that would be a good candidate for calling init and quit.
>>
>> -FM
>>
>> On 6/29/08, Lenard Lindstrom <len-l@xxxxxxxxx> wrote:
>>
>
> [...]
>>>
>>> [O]ne should be able to rely on the default
>>> pre-pygame.init() setting, 32 bpp, for each unit test. A unit test that
>>> confirms this default could fail. Too much interference between test
>>> modules.
>>>
>>>
>
>