summaryrefslogtreecommitdiff
path: root/three.cmd
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2009-09-20 18:05:07 -0400
committerNed Batchelder <ned@nedbatchelder.com>2009-09-20 18:05:07 -0400
commitbb83d13bf720acb8d15173cc4d1484b8521f8930 (patch)
treec2bffaa2b52bea16efa559397d6e12ee9452d1fd /three.cmd
parent4dadb9ab49529ccdfd4bc7a23f0d799051b24757 (diff)
downloadpython-coveragepy-git-bb83d13bf720acb8d15173cc4d1484b8521f8930.tar.gz
New theory about how to kit for py3k: coverage3k-* kits are for 3.x
Diffstat (limited to 'three.cmd')
-rw-r--r--three.cmd9
1 files changed, 4 insertions, 5 deletions
diff --git a/three.cmd b/three.cmd
index 6fb56f53..aab61f20 100644
--- a/three.cmd
+++ b/three.cmd
@@ -5,18 +5,17 @@ xcopy /s/h/i/e /exclude:notsource.txt . ..\three
move ..\three .
cd three
call switchpy 31
-python \python31\Tools\Scripts\2to3.py -w coverage test mock.py
+python \python31\Tools\Scripts\2to3.py --write --nobackups --no-diffs coverage test mock.py
+
make clean
make testdata
-@REM We run coverage out of the source directory, so put built stuff there.
-python setup.py build
-copy build\lib.win32-3.1\coverage\tracer.pyd coverage
+python setup.py install
@REM Run both modes of tracer
set COVERAGE_TEST_TRACER=c
python \python31\Scripts\nosetests3 %1
-del coverage\tracer.pyd
+del \python31\lib\site-packages\coverage\tracer.pyd
set COVERAGE_TEST_TRACER=py
python \python31\Scripts\nosetests3 %1