diff options
author | Steve Dower <steve.dower@microsoft.com> | 2015-02-07 23:42:53 (GMT) |
---|---|---|
committer | Steve Dower <steve.dower@microsoft.com> | 2015-02-07 23:42:53 (GMT) |
commit | 5056455b7dc6d709c14658492fd670c262f05908 (patch) | |
tree | 5dec51abe179c8715d7a4f71a4b7d1f11faced0f /Tools/msi/buildrelease.bat | |
parent | 26dd5edae820f346f7a1473952116e3a103d01fa (diff) | |
download | cpython-5056455b7dc6d709c14658492fd670c262f05908.zip cpython-5056455b7dc6d709c14658492fd670c262f05908.tar.gz cpython-5056455b7dc6d709c14658492fd670c262f05908.tar.bz2 |
Adds automated test script for the Windows installer and fixes download URL
Diffstat (limited to 'Tools/msi/buildrelease.bat')
-rw-r--r-- | Tools/msi/buildrelease.bat | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Tools/msi/buildrelease.bat b/Tools/msi/buildrelease.bat index d441250..7183a84 100644 --- a/Tools/msi/buildrelease.bat +++ b/Tools/msi/buildrelease.bat @@ -22,6 +22,7 @@ set PCBUILD=%D%..\..\PCBuild\ set BUILDX86= set BUILDX64= set TARGET=Rebuild +set TESTTARGETDIR= :CheckOpts @@ -30,6 +31,7 @@ if "%1" EQU "-o" (set OUTDIR=%~2) && shift && shift && goto CheckOpts if "%1" EQU "-D" (set SKIPDOC=1) && shift && goto CheckOpts if "%1" EQU "-B" (set SKIPBUILD=1) && shift && goto CheckOpts if "%1" EQU "--download" (set DOWNLOAD_URL=%~2) && shift && shift && goto CheckOpts +if "%1" EQU "--test" (set TESTTARGETDIR=%~2) && shift && shift && goto CheckOpts if "%1" EQU "-b" (set TARGET=Build) && shift && goto CheckOpts if '%1' EQU '-x86' (set BUILDX86=1) && shift && goto CheckOpts if '%1' EQU '-x64' (set BUILDX64=1) && shift && goto CheckOpts @@ -66,6 +68,10 @@ if defined BUILDX64 ( if errorlevel 1 exit /B ) +if defined TESTTARGETDIR ( + call "%D%testrelease.bat" -t "%TESTTARGETDIR%" +) + exit /B 0 :build |