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 | 011ba2034f411d8a581841efea693740a0146737 (patch) | |
| tree | d586f2d744ee333587c355bc287db00dacd55199 /alltests.cmd | |
| parent | 8681e1d0e2ed59402b6c98fc2928ea218e2c431f (diff) | |
| download | python-coveragepy-011ba2034f411d8a581841efea693740a0146737.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 645ff0e..7285818 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
|
