blob: 61ef37452b7aecf84af166d9bd89379ca1d31d71 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
@REM Copy the sources, convert to Py3k, and run the tests.
rmdir/s/q ..\three
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
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
@REM Run both modes of tracer
set COVERAGE_TEST_TRACER=c
python \python31\Scripts\nosetests3 %1
del coverage\tracer.pyd
set COVERAGE_TEST_TRACER=py
python \python31\Scripts\nosetests3 %1
cd ..
|