run-tests.py and coverage

Patrick Mézard pmezard at gmail.com
Thu Jan 3 17:15:20 CST 2008


Christian Ebert a écrit :
> * Patrick Mézard on Wednesday, December 26, 2007 at 19:38:38 +0100
>> I am running:
>>
>> $ python run-tests.py -c test-add
>> .
>> # Ran 1 tests, 0 skipped, 0 failed.
>> Name    Stmts   Exec  Cover
>> ---------------------------
>>
>>
>> with crew. Am I missing something ?
> 
> And I was always wondering why there was no output ...

/tmp is symlinked to /private/tmp under OSX and this confuses coverage.py file comparison routines.

I have posted a patch to http://nedbatchelder.com/code/modules/coverage.html, and will wait a little before patching it in mercurial sources.

--
Patrick Mézard


More information about the Mercurial-devel mailing list