]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
coverage: don't generate html reports for each test
authorJosh Durgin <josh.durgin@dreamhost.com>
Fri, 9 Dec 2011 01:47:14 +0000 (17:47 -0800)
committerJosh Durgin <josh.durgin@dreamhost.com>
Fri, 9 Dec 2011 01:47:14 +0000 (17:47 -0800)
These can always be generated from the lcov files later, right now they just waste space.

teuthology/coverage.py

index a2d9999e87347db113ff3864d331c2f5acd41c4b..eb9df9d0ceddfabef1c5141782e379f0532c04c5 100644 (file)
@@ -180,19 +180,6 @@ Analyze the coverage of a suite of test runs, generating html output with lcov.
             os.path.join(args.lcov_output, 'total.lcov')
             )
 
-        if args.html_output:
-            log.info('generating html for %s', test)
-            subprocess.check_call(
-                args=[
-                    'genhtml',
-                    '-o', os.path.join(args.html_output, test),
-                    '-t', desc,
-                    '--',
-                    os.path.join(args.lcov_output,
-                                 '{name}.lcov'.format(name=test)),
-                    ],
-                )
-
     suite = os.path.basename(args.test_dir)
     coverage = read_coverage(output)
     test_coverage['total for {suite}'.format(suite=suite)] = coverage