From f4fd807e53113a76173112e3ae0b8d35797b9b73 Mon Sep 17 00:00:00 2001 From: Ned Batchelder Date: Sun, 29 Nov 2009 09:51:40 -0500 Subject: coverage_coverage.py now writes separate data files for each run of the test suite, and combines them for reporting. --- allcoverage.cmd | 44 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 allcoverage.cmd (limited to 'allcoverage.cmd') diff --git a/allcoverage.cmd b/allcoverage.cmd new file mode 100644 index 00000000..5da7e15f --- /dev/null +++ b/allcoverage.cmd @@ -0,0 +1,44 @@ +@echo off +make --quiet testdata + +call \ned\bin\switchpy 23 +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 +del coverage\tracer.pyd +set COVERAGE_TEST_TRACER=py +python test\coverage_coverage.py run %1 %2 %3 %4 %5 %6 %7 %8 %9 + +call \ned\bin\switchpy 24 +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 +del coverage\tracer.pyd +set COVERAGE_TEST_TRACER=py +python test\coverage_coverage.py run %1 %2 %3 %4 %5 %6 %7 %8 %9 + +call \ned\bin\switchpy 25 +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 +del coverage\tracer.pyd +set COVERAGE_TEST_TRACER=py +python test\coverage_coverage.py run %1 %2 %3 %4 %5 %6 %7 %8 %9 + +call \ned\bin\switchpy 26 +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 +del coverage\tracer.pyd +set COVERAGE_TEST_TRACER=py +python test\coverage_coverage.py run %1 %2 %3 %4 %5 %6 %7 %8 %9 + +call \ned\bin\switchpy 31 +python setup.py -q install +set COVERAGE_TEST_TRACER=c +python test\coverage_coverage.py run %1 %2 %3 %4 %5 %6 %7 %8 %9 +del \python31\lib\site-packages\coverage\tracer.pyd +set COVERAGE_TEST_TRACER=py +python test\coverage_coverage.py run %1 %2 %3 %4 %5 %6 %7 %8 %9 + +python test\coverage_coverage.py report -- cgit v1.2.1