diff options
author | Stefan Krah <skrah@bytereef.org> | 2012-06-25 12:41:37 (GMT) |
---|---|---|
committer | Stefan Krah <skrah@bytereef.org> | 2012-06-25 12:41:37 (GMT) |
commit | 1edab78859b52fcd033011303be0905b3fa2cb1a (patch) | |
tree | cd40328a84c6898825839b3d8555b88e22945c50 /Modules | |
parent | 3784ff98114039d973d49cd3fefbb9f17360553f (diff) | |
download | cpython-1edab78859b52fcd033011303be0905b3fa2cb1a.zip cpython-1edab78859b52fcd033011303be0905b3fa2cb1a.tar.gz cpython-1edab78859b52fcd033011303be0905b3fa2cb1a.tar.bz2 |
Update test script to Visual Studio 2010.
Diffstat (limited to 'Modules')
-rwxr-xr-x[-rw-r--r--] | Modules/_decimal/tests/runall-memorydebugger.sh | 0 | ||||
-rwxr-xr-x[-rw-r--r--] | Modules/_decimal/tests/runall.bat | 74 |
2 files changed, 32 insertions, 42 deletions
diff --git a/Modules/_decimal/tests/runall-memorydebugger.sh b/Modules/_decimal/tests/runall-memorydebugger.sh index 44ff3b3..44ff3b3 100644..100755 --- a/Modules/_decimal/tests/runall-memorydebugger.sh +++ b/Modules/_decimal/tests/runall-memorydebugger.sh diff --git a/Modules/_decimal/tests/runall.bat b/Modules/_decimal/tests/runall.bat index 0d02e25..5bc872a 100644..100755 --- a/Modules/_decimal/tests/runall.bat +++ b/Modules/_decimal/tests/runall.bat @@ -2,37 +2,49 @@ rem Test all machine configurations, pydebug, refleaks, release build. -cd .. +cd ..\..\..\ + + +echo. +echo # ====================================================================== +echo # Building Python +echo # ====================================================================== +echo. + +call "%VS100COMNTOOLS%\..\..\VC\vcvarsall.bat" x64 +msbuild /noconsolelogger /target:clean PCbuild\pcbuild.sln /p:Configuration=Release /p:PlatformTarget=x64 +msbuild /noconsolelogger /target:clean PCbuild\pcbuild.sln /p:Configuration=Debug /p:PlatformTarget=x64 +msbuild /noconsolelogger PCbuild\pcbuild.sln /p:Configuration=Release /p:Platform=x64 +msbuild /noconsolelogger PCbuild\pcbuild.sln /p:Configuration=Debug /p:Platform=x64 + +call "%VS100COMNTOOLS%\..\..\VC\vcvarsall.bat" x86 +msbuild /noconsolelogger PCbuild\pcbuild.sln /p:Configuration=Release /p:Platform=Win32 +msbuild /noconsolelogger PCbuild\pcbuild.sln /p:Configuration=Debug /p:Platform=Win32 +echo. +echo. -call vcvarsall x64 echo. echo # ====================================================================== echo # test_decimal: platform=x64 echo # ====================================================================== echo. -cd ..\..\PCbuild +cd PCbuild\amd64 + echo # ==================== refleak tests ======================= echo. -echo building python ... +python_d.exe -m test -uall -R 2:2 test_decimal echo. -vcbuild /clean pcbuild.sln > NUL 2>&1 -vcbuild pcbuild.sln "Debug|x64" > NUL 2>&1 -amd64\python_d.exe -m test -uall -R 2:2 test_decimal echo. echo # ==================== regular tests ======================= echo. -echo building python ... -echo. -vcbuild /clean pcbuild.sln > NUL 2>&1 -vcbuild pcbuild.sln "Release|x64" > NUL 2>&1 -amd64\python.exe -m test -uall test_decimal +python.exe -m test -uall test_decimal echo. echo. +cd .. -call vcvarsall x86 echo. echo # ====================================================================== echo # test_decimal: platform=x86 @@ -41,75 +53,53 @@ echo. echo # ==================== refleak tests ======================= echo. -echo building python ... -echo. -vcbuild /clean pcbuild.sln > NUL 2>&1 -vcbuild pcbuild.sln "Debug|win32" > NUL 2>&1 python_d.exe -m test -uall -R 2:2 test_decimal echo. +echo. echo # ==================== regular tests ======================= echo. -echo building python ... -echo. -vcbuild /clean pcbuild.sln > NUL 2>&1 -vcbuild pcbuild.sln "Release|win32" > NUL 2>&1 python.exe -m test -uall test_decimal echo. echo. +cd amd64 -call vcvarsall x64 echo. echo # ====================================================================== echo # deccheck: platform=x64 echo # ====================================================================== echo. -echo. + echo # ==================== debug build ======================= echo. -echo building python ... -echo. -vcbuild /clean pcbuild.sln > NUL 2>&1 -vcbuild pcbuild.sln "Debug|x64" > NUL 2>&1 -amd64\python_d.exe ..\Modules\_decimal\tests\deccheck.py +python_d.exe ..\..\Modules\_decimal\tests\deccheck.py echo. echo. echo # =================== release build ====================== echo. -echo building python ... -echo. -vcbuild /clean pcbuild.sln > NUL 2>&1 -vcbuild pcbuild.sln "Release|x64" > NUL 2>&1 -amd64\python.exe ..\Modules\_decimal\tests\deccheck.py +python.exe ..\..\Modules\_decimal\tests\deccheck.py echo. echo. +cd .. -call vcvarsall x86 echo. echo # ====================================================================== echo # deccheck: platform=x86 echo # ====================================================================== echo. echo. + echo # ==================== debug build ======================= echo. -echo building python ... -echo. -vcbuild /clean pcbuild.sln > NUL 2>&1 -vcbuild pcbuild.sln "Debug|win32" > NUL 2>&1 python_d.exe ..\Modules\_decimal\tests\deccheck.py echo. echo. echo # =================== release build ====================== echo. -echo building python ... -echo. -vcbuild /clean pcbuild.sln > NUL 2>&1 -vcbuild pcbuild.sln "Release|win32" > NUL 2>&1 python.exe ..\Modules\_decimal\tests\deccheck.py echo. echo. |