Home | History | Annotate | Download | only in tests
      1 @ECHO OFF
      2 
      3 rem Test all machine configurations, pydebug, refleaks, release build.
      4 
      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.
     25 
     26 echo.
     27 echo # ======================================================================
     28 echo #                       test_decimal: platform=x64
     29 echo # ======================================================================
     30 echo.
     31 
     32 cd PCbuild\amd64
     33 
     34 echo # ==================== refleak tests =======================
     35 echo.
     36 python_d.exe -m test -uall -R 2:2 test_decimal
     37 echo.
     38 echo.
     39 
     40 echo # ==================== regular tests =======================
     41 echo.
     42 python.exe -m test -uall test_decimal
     43 echo.
     44 echo.
     45 
     46 cd ..
     47 
     48 echo.
     49 echo # ======================================================================
     50 echo #                       test_decimal: platform=x86
     51 echo # ======================================================================
     52 echo.
     53 
     54 echo # ==================== refleak tests =======================
     55 echo.
     56 python_d.exe -m test -uall -R 2:2 test_decimal
     57 echo.
     58 echo.
     59 
     60 echo # ==================== regular tests =======================
     61 echo.
     62 python.exe -m test -uall test_decimal
     63 echo.
     64 echo.
     65 
     66 cd amd64
     67 
     68 echo.
     69 echo # ======================================================================
     70 echo #                         deccheck: platform=x64
     71 echo # ======================================================================
     72 echo.
     73 
     74 echo # ==================== debug build =======================
     75 echo.
     76 python_d.exe ..\..\Modules\_decimal\tests\deccheck.py
     77 echo.
     78 echo.
     79 
     80 echo # =================== release build ======================
     81 echo.
     82 python.exe ..\..\Modules\_decimal\tests\deccheck.py
     83 echo.
     84 echo.
     85 
     86 cd ..
     87 
     88 echo.
     89 echo # ======================================================================
     90 echo #                         deccheck: platform=x86
     91 echo # ======================================================================
     92 echo.
     93 echo.
     94 
     95 echo # ==================== debug build =======================
     96 echo.
     97 python_d.exe ..\Modules\_decimal\tests\deccheck.py
     98 echo.
     99 echo.
    100 
    101 echo # =================== release build ======================
    102 echo.
    103 python.exe ..\Modules\_decimal\tests\deccheck.py
    104 echo.
    105 echo.
    106 
    107 
    108 cd ..\Modules\_decimal\tests
    109 
    110 
    111 
    112