[issue2403] Add figleaf coverage metrics

Skip Montanaro report at bugs.python.org
Wed Mar 19 03:16:24 CET 2008


Skip Montanaro <skip at pobox.com> added the comment:

How will this work if I use a build directory?  For example,
my source is in ~/src/python/trunk.  In there I create a
build directory.  When I run it I get

% pwd
/Users/skip/src/python/trunk/build
% ./python.exe ../Tools/coverage/coverage.py 
Running tests...
Traceback (most recent call last):
  File "figleaf-latest/bin/figleaf", line 4, in <module>
    figleaf.main()
  File
"/Users/skip/src/python/trunk/build/figleaf-latest/figleaf/__init__.py",
line 302, in main
    execfile(sys.argv[0], __main__.__dict__)
IOError: [Errno 2] No such file or directory: '../../Lib/test/regrtest.py'
Generating html...
CANNOT OPEN: @test
figleaf: HTML output written to ../../coverage

I think this mode should work.  I prefer not to pollute my
source tree with build information.

Skip

----------
nosy: +skip.montanaro

__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue2403>
__________________________________


More information about the Python-bugs-list mailing list