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 /alltests.cmd | |
| parent | 027a753f5d8a038413b29a77c2fc2180aadf290e (diff) | |
| download | python-coveragepy-git-04962959fd524e0706a36af7b8ba378a70cbc7bf.tar.gz | |
Use loops instead of all that repetition.
Diffstat (limited to 'alltests.cmd')
| -rw-r--r-- | alltests.cmd | 48 |
1 files changed, 9 insertions, 39 deletions
diff --git a/alltests.cmd b/alltests.cmd index 645ff0e9..72858189 100644 --- a/alltests.cmd +++ b/alltests.cmd @@ -1,45 +1,15 @@ @echo off
make --quiet testdata
-call \ned\bin\switchpy 23
-python setup.py -q develop
-set COVERAGE_TEST_TRACER=c
-nosetests %1 %2 %3 %4 %5 %6 %7 %8 %9
-del coverage\tracer.pyd
-set COVERAGE_TEST_TRACER=py
-nosetests %1 %2 %3 %4 %5 %6 %7 %8 %9
-
-call \ned\bin\switchpy 24
-python setup.py -q develop
-set COVERAGE_TEST_TRACER=c
-nosetests %1 %2 %3 %4 %5 %6 %7 %8 %9
-del coverage\tracer.pyd
-set COVERAGE_TEST_TRACER=py
-nosetests %1 %2 %3 %4 %5 %6 %7 %8 %9
-
-call \ned\bin\switchpy 25
-python setup.py -q develop
-set COVERAGE_TEST_TRACER=c
-nosetests %1 %2 %3 %4 %5 %6 %7 %8 %9
-del coverage\tracer.pyd
-set COVERAGE_TEST_TRACER=py
-nosetests %1 %2 %3 %4 %5 %6 %7 %8 %9
-
-call \ned\bin\switchpy 26
-python setup.py -q develop
-set COVERAGE_TEST_TRACER=c
-nosetests %1 %2 %3 %4 %5 %6 %7 %8 %9
-del coverage\tracer.pyd
-set COVERAGE_TEST_TRACER=py
-nosetests %1 %2 %3 %4 %5 %6 %7 %8 %9
-
-call \ned\bin\switchpy 27
-python setup.py -q develop
-set COVERAGE_TEST_TRACER=c
-nosetests %1 %2 %3 %4 %5 %6 %7 %8 %9
-del coverage\tracer.pyd
-set COVERAGE_TEST_TRACER=py
-nosetests %1 %2 %3 %4 %5 %6 %7 %8 %9
+for %%v in (23 24 25 26 27) do (
+ call \ned\bin\switchpy %%v
+ python setup.py -q develop
+ set COVERAGE_TEST_TRACER=c
+ nosetests %1 %2 %3 %4 %5 %6 %7 %8 %9
+ del coverage\tracer.pyd
+ set COVERAGE_TEST_TRACER=py
+ nosetests %1 %2 %3 %4 %5 %6 %7 %8 %9
+ )
call \ned\bin\switchpy 31
python setup.py -q develop
|
