diff options
author | Ned Batchelder <ned@nedbatchelder.com> | 2010-01-10 21:20:36 -0500 |
---|---|---|
committer | Ned Batchelder <ned@nedbatchelder.com> | 2010-01-10 21:20:36 -0500 |
commit | 04962959fd524e0706a36af7b8ba378a70cbc7bf (patch) | |
tree | 0620590d2e542d10435e5cb562ce4cebb2756db9 /allcoverage.cmd | |
parent | 027a753f5d8a038413b29a77c2fc2180aadf290e (diff) | |
download | python-coveragepy-git-04962959fd524e0706a36af7b8ba378a70cbc7bf.tar.gz |
Use loops instead of all that repetition.
Diffstat (limited to 'allcoverage.cmd')
-rw-r--r-- | allcoverage.cmd | 42 |
1 files changed, 7 insertions, 35 deletions
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=
|