mirror of
https://github.com/python/cpython.git
synced 2024-11-30 13:24:13 +08:00
130 lines
3.5 KiB
Batchfile
Executable File
130 lines
3.5 KiB
Batchfile
Executable File
@ECHO OFF
|
|
|
|
rem Test all machine configurations, pydebug, refleaks, release build.
|
|
|
|
cd ..\..\..\
|
|
|
|
|
|
echo.
|
|
echo # ======================================================================
|
|
echo # Building Python (Debug^|x64)
|
|
echo # ======================================================================
|
|
echo.
|
|
|
|
call .\Tools\buildbot\clean.bat
|
|
call .\Tools\buildbot\build.bat -c Debug -p x64
|
|
|
|
echo.
|
|
echo # ======================================================================
|
|
echo # platform=Debug^|x64
|
|
echo # ======================================================================
|
|
echo.
|
|
|
|
echo # ==================== refleak tests =======================
|
|
echo.
|
|
call python.bat -m test -uall -R 3:3 test_decimal
|
|
echo.
|
|
echo.
|
|
|
|
echo # ==================== regular tests =======================
|
|
echo.
|
|
call python.bat -m test -uall test_decimal
|
|
echo.
|
|
echo.
|
|
|
|
echo # ==================== deccheck =======================
|
|
echo.
|
|
call python.bat .\Modules\_decimal\tests\deccheck.py
|
|
echo.
|
|
echo.
|
|
|
|
|
|
echo.
|
|
echo # ======================================================================
|
|
echo # Building Python (Release^|x64)
|
|
echo # ======================================================================
|
|
echo.
|
|
|
|
call .\Tools\buildbot\clean.bat
|
|
call .\Tools\buildbot\build.bat -c Release -p x64
|
|
|
|
echo.
|
|
echo # ======================================================================
|
|
echo # platform=Release^|x64
|
|
echo # ======================================================================
|
|
echo.
|
|
|
|
echo # ==================== regular tests =======================
|
|
echo.
|
|
call python.bat -m test -uall test_decimal
|
|
echo.
|
|
echo.
|
|
|
|
echo # ==================== deccheck =======================
|
|
echo.
|
|
call python.bat .\Modules\_decimal\tests\deccheck.py
|
|
echo.
|
|
echo.
|
|
|
|
|
|
echo.
|
|
echo # ======================================================================
|
|
echo # Building Python (Debug^|Win32)
|
|
echo # ======================================================================
|
|
echo.
|
|
|
|
call .\Tools\buildbot\clean.bat
|
|
call Tools\buildbot\build.bat -c Debug -p Win32
|
|
|
|
echo.
|
|
echo # ======================================================================
|
|
echo # platform=Debug^|Win32
|
|
echo # ======================================================================
|
|
echo.
|
|
|
|
echo # ==================== refleak tests =======================
|
|
echo.
|
|
call python.bat -m test -uall -R 3:3 test_decimal
|
|
echo.
|
|
echo.
|
|
|
|
echo # ==================== regular tests =======================
|
|
echo.
|
|
call python.bat -m test -uall test_decimal
|
|
echo.
|
|
echo.
|
|
|
|
echo # ==================== deccheck =======================
|
|
echo.
|
|
call python.bat .\Modules\_decimal\tests\deccheck.py
|
|
echo.
|
|
echo.
|
|
|
|
|
|
echo.
|
|
echo # ======================================================================
|
|
echo # Building Python (Release^|Win32)
|
|
echo # ======================================================================
|
|
echo.
|
|
|
|
call .\Tools\buildbot\clean.bat
|
|
call .\Tools\buildbot\build.bat -c Release -p Win32
|
|
|
|
echo.
|
|
echo # ======================================================================
|
|
echo # platform=Release^|Win32
|
|
echo # ======================================================================
|
|
echo.
|
|
|
|
echo # ==================== regular tests =======================
|
|
echo.
|
|
call python.bat -m test -uall test_decimal
|
|
echo.
|
|
echo.
|
|
|
|
echo # ==================== deccheck =======================
|
|
echo.
|
|
call python.bat .\Modules\_decimal\tests\deccheck.py
|
|
echo.
|
|
echo.
|