Fix paths for build bot
This commit is contained in:
parent
915d5d96d8
commit
656dc2adee
|
@ -131,7 +131,7 @@ def main():
|
||||||
print "Found a working perl at '%s'" % (perl,)
|
print "Found a working perl at '%s'" % (perl,)
|
||||||
sys.stdout.flush()
|
sys.stdout.flush()
|
||||||
# Look for SSL 2 levels up from pcbuild - ie, same place zlib etc all live.
|
# Look for SSL 2 levels up from pcbuild - ie, same place zlib etc all live.
|
||||||
ssl_dir = find_best_ssl_dir(("..\\..",))
|
ssl_dir = find_best_ssl_dir(("..\\..\\..",))
|
||||||
if ssl_dir is None:
|
if ssl_dir is None:
|
||||||
sys.exit(1)
|
sys.exit(1)
|
||||||
|
|
||||||
|
|
|
@ -10,11 +10,11 @@ rem All leading instances of these switches are shifted off, and
|
||||||
rem whatever remains is passed to regrtest.py. For example,
|
rem whatever remains is passed to regrtest.py. For example,
|
||||||
rem rt -O -d -x test_thread
|
rem rt -O -d -x test_thread
|
||||||
rem runs
|
rem runs
|
||||||
rem python_d -O ../lib/test/regrtest.py -x test_thread
|
rem python_d -O ../../lib/test/regrtest.py -x test_thread
|
||||||
rem twice, and
|
rem twice, and
|
||||||
rem rt -q -g test_binascii
|
rem rt -q -g test_binascii
|
||||||
rem runs
|
rem runs
|
||||||
rem python_d ../lib/test/regrtest.py -g test_binascii
|
rem python_d ../../lib/test/regrtest.py -g test_binascii
|
||||||
rem to generate the expected-output file for binascii quickly.
|
rem to generate the expected-output file for binascii quickly.
|
||||||
rem
|
rem
|
||||||
rem Confusing: if you want to pass a comma-separated list, like
|
rem Confusing: if you want to pass a comma-separated list, like
|
||||||
|
@ -27,14 +27,14 @@ setlocal
|
||||||
set exe=python
|
set exe=python
|
||||||
set qmode=
|
set qmode=
|
||||||
set dashO=
|
set dashO=
|
||||||
PATH %PATH%;..\..\tcltk\bin
|
PATH %PATH%;..\..\..\tcltk\bin
|
||||||
|
|
||||||
:CheckOpts
|
:CheckOpts
|
||||||
if "%1"=="-O" (set dashO=-O) & shift & goto CheckOpts
|
if "%1"=="-O" (set dashO=-O) & shift & goto CheckOpts
|
||||||
if "%1"=="-q" (set qmode=yes) & shift & goto CheckOpts
|
if "%1"=="-q" (set qmode=yes) & shift & goto CheckOpts
|
||||||
if "%1"=="-d" (set exe=python_d) & shift & goto CheckOpts
|
if "%1"=="-d" (set exe=python_d) & shift & goto CheckOpts
|
||||||
|
|
||||||
set cmd=%exe% %dashO% -E -tt ../lib/test/regrtest.py %1 %2 %3 %4 %5 %6 %7 %8 %9
|
set cmd=%exe% %dashO% -E -tt ../../lib/test/regrtest.py %1 %2 %3 %4 %5 %6 %7 %8 %9
|
||||||
if defined qmode goto Qmode
|
if defined qmode goto Qmode
|
||||||
|
|
||||||
echo Deleting .pyc/.pyo files ...
|
echo Deleting .pyc/.pyo files ...
|
||||||
|
|
|
@ -3,4 +3,4 @@ setlocal
|
||||||
cmd /c Tools\buildbot\external-amd64.bat
|
cmd /c Tools\buildbot\external-amd64.bat
|
||||||
call "%VS71COMNTOOLS%vsvars32.bat"
|
call "%VS71COMNTOOLS%vsvars32.bat"
|
||||||
REM cmd /q/c Tools\buildbot\kill_python.bat
|
REM cmd /q/c Tools\buildbot\kill_python.bat
|
||||||
devenv.com /build ReleaseAMD64 PCbuild\pcbuild.sln
|
devenv.com /build ReleaseAMD64 PC\VS7.1\pcbuild.sln
|
||||||
|
|
|
@ -2,4 +2,4 @@
|
||||||
cmd /c Tools\buildbot\external.bat
|
cmd /c Tools\buildbot\external.bat
|
||||||
call "%VS71COMNTOOLS%vsvars32.bat"
|
call "%VS71COMNTOOLS%vsvars32.bat"
|
||||||
cmd /q/c Tools\buildbot\kill_python.bat
|
cmd /q/c Tools\buildbot\kill_python.bat
|
||||||
devenv.com /useenv /build Debug PCbuild\pcbuild.sln
|
devenv.com /useenv /build Debug PC\VS7.1\pcbuild.sln
|
||||||
|
|
|
@ -9,7 +9,7 @@ if not exist ..\db-4.4.20\build_win32\release\libdb44s.lib (
|
||||||
|
|
||||||
@rem build Python
|
@rem build Python
|
||||||
cmd /q/c Tools\buildbot\kill_python.bat
|
cmd /q/c Tools\buildbot\kill_python.bat
|
||||||
devenv.com /useenv /build Release PCbuild\pcbuild.sln
|
devenv.com /useenv /build Release PC\VS7.1\pcbuild.sln
|
||||||
|
|
||||||
@rem build the documentation
|
@rem build the documentation
|
||||||
bash.exe -c 'cd Doc;make PYTHON=python2.5 update htmlhelp'
|
bash.exe -c 'cd Doc;make PYTHON=python2.5 update htmlhelp'
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
@rem Used by the buildbot "clean" step.
|
@rem Used by the buildbot "clean" step.
|
||||||
call "%VS71COMNTOOLS%vsvars32.bat"
|
call "%VS71COMNTOOLS%vsvars32.bat"
|
||||||
cd PCbuild
|
cd PC\VS7.1
|
||||||
@echo Deleting .pyc/.pyo files ...
|
@echo Deleting .pyc/.pyo files ...
|
||||||
python.exe rmpyc.py
|
python.exe rmpyc.py
|
||||||
devenv.com /clean ReleaseAMD64 pcbuild.sln
|
devenv.com /clean ReleaseAMD64 pcbuild.sln
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
@rem Used by the buildbot "clean" step.
|
@rem Used by the buildbot "clean" step.
|
||||||
call "%VS71COMNTOOLS%vsvars32.bat"
|
call "%VS71COMNTOOLS%vsvars32.bat"
|
||||||
cd PCbuild
|
cd PC\VS7.1
|
||||||
@echo Deleting .pyc/.pyo files ...
|
@echo Deleting .pyc/.pyo files ...
|
||||||
python_d.exe rmpyc.py
|
python_d.exe rmpyc.py
|
||||||
devenv.com /clean Release pcbuild.sln
|
devenv.com /clean Release pcbuild.sln
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
/* This program looks for processes which have build\PCbuild\python.exe
|
/* This program looks for processes which have build\PC\VS7.1\python.exe
|
||||||
in their path and terminates them. */
|
in their path and terminates them. */
|
||||||
#include <windows.h>
|
#include <windows.h>
|
||||||
#include <psapi.h>
|
#include <psapi.h>
|
||||||
|
@ -46,14 +46,14 @@ int main()
|
||||||
/* Check if we are running a buildbot version of Python.
|
/* Check if we are running a buildbot version of Python.
|
||||||
|
|
||||||
On Windows, this will always be a debug build from the
|
On Windows, this will always be a debug build from the
|
||||||
PCbuild directory. build\\PCbuild\\python_d.exe
|
PC\VS7.1 directory. build\\PC\\VS7.1\\python_d.exe
|
||||||
|
|
||||||
On Cygwin, the pathname is similar to other Unixes.
|
On Cygwin, the pathname is similar to other Unixes.
|
||||||
Use \\build\\python.exe to ensure we don't match
|
Use \\build\\python.exe to ensure we don't match
|
||||||
PCbuild\\python.exe which could be a normal instance
|
PC\\VS7.1\\python.exe which could be a normal instance
|
||||||
of Python running on vanilla Windows.
|
of Python running on vanilla Windows.
|
||||||
*/
|
*/
|
||||||
if ((strstr(path, "build\\pcbuild\\python_d.exe") != NULL) ||
|
if ((strstr(path, "build\\pc\\vs7.1\\python_d.exe") != NULL) ||
|
||||||
(strstr(path, "\\build\\python.exe") != NULL)) {
|
(strstr(path, "\\build\\python.exe") != NULL)) {
|
||||||
printf("Terminating %s (pid %d)\n", path, pids[i]);
|
printf("Terminating %s (pid %d)\n", path, pids[i]);
|
||||||
if (!TerminateProcess(hProcess, 1)) {
|
if (!TerminateProcess(hProcess, 1)) {
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
@rem Used by the buildbot "test" step.
|
@rem Used by the buildbot "test" step.
|
||||||
cd PCbuild
|
cd PC\VS7.1
|
||||||
call rt.bat -q -uall -rw
|
call rt.bat -q -uall -rw
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
@rem Used by the buildbot "test" step.
|
@rem Used by the buildbot "test" step.
|
||||||
cd PCbuild
|
cd PC\VS7.1
|
||||||
call rt.bat -d -q -uall -rw
|
call rt.bat -d -q -uall -rw
|
||||||
|
|
Loading…
Reference in New Issue