diff options
-rw-r--r-- | allcoverage.cmd | 6 | ||||
-rw-r--r-- | metacov.ini (renamed from covcov.ini) | 0 | ||||
-rw-r--r-- | test/meta_coverage.py (renamed from test/coverage_coverage.py) | 8 |
3 files changed, 7 insertions, 7 deletions
diff --git a/allcoverage.cmd b/allcoverage.cmd index dc7c9ee5..a12173ef 100644 --- a/allcoverage.cmd +++ b/allcoverage.cmd @@ -2,18 +2,18 @@ make --quiet testdata
del .coverage.*
-set COVERAGE_PROCESS_START=c:\ned\coverage\trunk\covcov.ini
+set COVERAGE_PROCESS_START=c:\ned\coverage\trunk\metacov.ini
set COVERAGE_COVERAGE=1
for %%v in (23 24 25 26 27 31 32) do (
call \ned\bin\switchpy c:\vpy\coverage\%%v
python setup.py -q develop
set COVERAGE_TEST_TRACER=c
- python test\coverage_coverage.py run %1 %2 %3 %4 %5 %6 %7 %8 %9
+ python test\meta_coverage.py run %1 %2 %3 %4 %5 %6 %7 %8 %9
del coverage\tracer.pyd
)
set COVERAGE_PROCESS_START=
set COVERAGE_COVERAGE=
-python test\coverage_coverage.py report
+python test\meta_coverage.py report
diff --git a/covcov.ini b/metacov.ini index 7d009ea9..7d009ea9 100644 --- a/covcov.ini +++ b/metacov.ini diff --git a/test/coverage_coverage.py b/test/meta_coverage.py index 199f7518..1c71abf0 100644 --- a/test/coverage_coverage.py +++ b/test/meta_coverage.py @@ -2,11 +2,11 @@ Run as: - $ python test/coverage_coverage.py run [NOSE_ARGS] + $ python test/meta_coverage.py run [NOSE_ARGS] to run and collect coverage, then: - $ python test/coverage_coverage.py report + $ python test/meta_coverage.py report to put the HTML report into the htmlcov directory. @@ -25,7 +25,7 @@ def run_tests_with_coverage(): version = "%s%s" % sys.version_info[:2] suffix = "%s_%s" % (version, tracer) - cov = coverage.coverage(config_file="covcov.ini", data_suffix=suffix) + cov = coverage.coverage(config_file="metacov.ini", data_suffix=suffix) # Cheap trick: the coverage code itself is excluded from measurement, but # if we clobber the cover_prefix in the coverage object, we can defeat the # self-detection. @@ -67,7 +67,7 @@ def report_on_combined_files(): print(":: Writing HTML report to %s/index.html" % HTML_DIR) import coverage - cov = coverage.coverage(config_file="covcov.ini") + cov = coverage.coverage(config_file="metacov.ini") cov.combine() cov.save() cov.html_report(directory=HTML_DIR) |