22
33rem Test all machine configurations, pydebug, refleaks, release build.
44
5- cd ..
5+ cd ..\..\..\
6+
7+
8+ echo .
9+ echo # ======================================================================
10+ echo # Building Python
11+ echo # ======================================================================
12+ echo .
13+
14+ call " %VS100COMNTOOLS% \..\..\VC\vcvarsall.bat" x64
15+ msbuild /noconsolelogger /target:clean PCbuild\pcbuild.sln /p:Configuration=Release /p:PlatformTarget=x64
16+ msbuild /noconsolelogger /target:clean PCbuild\pcbuild.sln /p:Configuration=Debug /p:PlatformTarget=x64
17+ msbuild /noconsolelogger PCbuild\pcbuild.sln /p:Configuration=Release /p:Platform=x64
18+ msbuild /noconsolelogger PCbuild\pcbuild.sln /p:Configuration=Debug /p:Platform=x64
19+
20+ call " %VS100COMNTOOLS% \..\..\VC\vcvarsall.bat" x86
21+ msbuild /noconsolelogger PCbuild\pcbuild.sln /p:Configuration=Release /p:Platform=Win32
22+ msbuild /noconsolelogger PCbuild\pcbuild.sln /p:Configuration=Debug /p:Platform=Win32
23+ echo .
24+ echo .
625
7- call vcvarsall x64
826echo .
927echo # ======================================================================
1028echo # test_decimal: platform=x64
1129echo # ======================================================================
1230echo .
1331
14- cd ..\..\PCbuild
32+ cd PCbuild\amd64
33+
1534echo # ==================== refleak tests =======================
1635echo .
17- echo building python ...
36+ python_d.exe -m test -uall -R 2:2 test_decimal
1837echo .
19- vcbuild /clean pcbuild.sln > NUL 2 >& 1
20- vcbuild pcbuild.sln " Debug|x64" > NUL 2 >& 1
21- amd64\python_d.exe -m test -uall -R 2:2 test_decimal
2238echo .
2339
2440echo # ==================== regular tests =======================
2541echo .
26- echo building python ...
27- echo .
28- vcbuild /clean pcbuild.sln > NUL 2 >& 1
29- vcbuild pcbuild.sln " Release|x64" > NUL 2 >& 1
30- amd64\python.exe -m test -uall test_decimal
42+ python.exe -m test -uall test_decimal
3143echo .
3244echo .
3345
46+ cd ..
3447
35- call vcvarsall x86
3648echo .
3749echo # ======================================================================
3850echo # test_decimal: platform=x86
@@ -41,75 +53,53 @@ echo.
4153
4254echo # ==================== refleak tests =======================
4355echo .
44- echo building python ...
45- echo .
46- vcbuild /clean pcbuild.sln > NUL 2 >& 1
47- vcbuild pcbuild.sln " Debug|win32" > NUL 2 >& 1
4856python_d.exe -m test -uall -R 2:2 test_decimal
4957echo .
58+ echo .
5059
5160echo # ==================== regular tests =======================
5261echo .
53- echo building python ...
54- echo .
55- vcbuild /clean pcbuild.sln > NUL 2 >& 1
56- vcbuild pcbuild.sln " Release|win32" > NUL 2 >& 1
5762python.exe -m test -uall test_decimal
5863echo .
5964echo .
6065
66+ cd amd64
6167
62- call vcvarsall x64
6368echo .
6469echo # ======================================================================
6570echo # deccheck: platform=x64
6671echo # ======================================================================
6772echo .
68- echo .
73+
6974echo # ==================== debug build =======================
7075echo .
71- echo building python ...
72- echo .
73- vcbuild /clean pcbuild.sln > NUL 2 >& 1
74- vcbuild pcbuild.sln " Debug|x64" > NUL 2 >& 1
75- amd64\python_d.exe ..\Modules\_decimal\tests\deccheck.py
76+ python_d.exe ..\..\Modules\_decimal\tests\deccheck.py
7677echo .
7778echo .
7879
7980echo # =================== release build ======================
8081echo .
81- echo building python ...
82- echo .
83- vcbuild /clean pcbuild.sln > NUL 2 >& 1
84- vcbuild pcbuild.sln " Release|x64" > NUL 2 >& 1
85- amd64\python.exe ..\Modules\_decimal\tests\deccheck.py
82+ python.exe ..\..\Modules\_decimal\tests\deccheck.py
8683echo .
8784echo .
8885
86+ cd ..
8987
90- call vcvarsall x86
9188echo .
9289echo # ======================================================================
9390echo # deccheck: platform=x86
9491echo # ======================================================================
9592echo .
9693echo .
94+
9795echo # ==================== debug build =======================
9896echo .
99- echo building python ...
100- echo .
101- vcbuild /clean pcbuild.sln > NUL 2 >& 1
102- vcbuild pcbuild.sln " Debug|win32" > NUL 2 >& 1
10397python_d.exe ..\Modules\_decimal\tests\deccheck.py
10498echo .
10599echo .
106100
107101echo # =================== release build ======================
108102echo .
109- echo building python ...
110- echo .
111- vcbuild /clean pcbuild.sln > NUL 2 >& 1
112- vcbuild pcbuild.sln " Release|win32" > NUL 2 >& 1
113103python.exe ..\Modules\_decimal\tests\deccheck.py
114104echo .
115105echo .
0 commit comments