From 04962959fd524e0706a36af7b8ba378a70cbc7bf Mon Sep 17 00:00:00 2001 From: Ned Batchelder Date: Sun, 10 Jan 2010 21:20:36 -0500 Subject: Use loops instead of all that repetition. --- allcoverage.cmd | 42 +++++++----------------------------------- 1 file changed, 7 insertions(+), 35 deletions(-) (limited to 'allcoverage.cmd') diff --git a/allcoverage.cmd b/allcoverage.cmd index 5d769f6b..5d80b4f3 100644 --- a/allcoverage.cmd +++ b/allcoverage.cmd @@ -5,41 +5,13 @@ del .coverage.* set COVERAGE_PROCESS_START=c:\ned\coverage\trunk\covcov.ini set COVERAGE_COVERAGE=1 -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 - -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 - -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 - -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 - -call \ned\bin\switchpy 27 -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 - -call \ned\bin\switchpy 31 -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 +for %%v in (23 24 25 26 27 31) do ( + call \ned\bin\switchpy %%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 + del coverage\tracer.pyd + ) set COVERAGE_PROCESS_START= set COVERAGE_COVERAGE= -- cgit v1.2.1