summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--allcoverage.cmd42
-rw-r--r--allkits.cmd19
-rw-r--r--alltests.cmd48
3 files changed, 21 insertions, 88 deletions
diff --git a/allcoverage.cmd b/allcoverage.cmd
index 5d769f6..5d80b4f 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=
diff --git a/allkits.cmd b/allkits.cmd
index a0685ee..0d000a4 100644
--- a/allkits.cmd
+++ b/allkits.cmd
@@ -1,20 +1,11 @@
@REM Build all the kits for coverage.py
@REM Add "upload" onto the command line to also upload.
-call \ned\bin\switchpy 23
-python setup.py bdist_wininst %1
-call \ned\bin\switchpy 24
-python setup.py bdist_wininst %1
-call \ned\bin\switchpy 25
-python setup.py bdist_wininst %1
-call \ned\bin\switchpy 26
-python setup.py bdist_wininst %1
-call \ned\bin\switchpy 27
-python setup.py bdist_wininst %1
+for %%v in (23 24 25 26 27 31) do (
+ call \ned\bin\switchpy %%v
+ python setup.py bdist_wininst %1
+ )
+call \ned\bin\switchpy 26
set TAR_OPTIONS=--group=100
python setup.py sdist --formats=gztar %1
set TAR_OPTIONS=
-
-@REM Py3k
-call \ned\bin\switchpy 31
-python setup.py bdist_wininst %1
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