summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHirokazu Yamamoto <ocean-city@m2.ccsnet.ne.jp>2010-09-19 09:10:40 +0000
committerHirokazu Yamamoto <ocean-city@m2.ccsnet.ne.jp>2010-09-19 09:10:40 +0000
commit0dd078a7369d9bf94b0ba18785321dd4887e3a93 (patch)
tree44e089984387a6be359b73cf342ef0b9d2685d12
parent33f028b1844ef0568b80e50126f778b3f5b4bba2 (diff)
downloadcpython-git-0dd078a7369d9bf94b0ba18785321dd4887e3a93.tar.gz
Merged revisions 84857,84870,84875 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r84857 | hirokazu.yamamoto | 2010-09-17 17:53:31 +0900 | 1 line Let's see if tcl/tk test runs on windows buildbot with this fix. ........ r84870 | hirokazu.yamamoto | 2010-09-18 09:31:44 +0900 | 3 lines regrtest.py now runs python in build/test_python_xxx. (deeper than here) So failed to load tcl/tk dll because $(dist)/tcltk/bin was set to PATH as relative path. (Windows) ........ r84875 | hirokazu.yamamoto | 2010-09-18 13:02:52 +0900 | 1 line Applied r84870 to older compilers. ........
-rwxr-xr-xPC/VS7.1/rt.bat2
-rw-r--r--PC/VS8.0/rt.bat2
-rw-r--r--PCbuild/rt.bat4
3 files changed, 4 insertions, 4 deletions
diff --git a/PC/VS7.1/rt.bat b/PC/VS7.1/rt.bat
index 29801d2926..f05cf238a2 100755
--- a/PC/VS7.1/rt.bat
+++ b/PC/VS7.1/rt.bat
@@ -27,7 +27,7 @@ setlocal
set exe=python
set qmode=
set dashO=
-PATH %PATH%;..\..\..\tcltk\bin
+PATH %PATH%;%~dp0..\..\..\tcltk\bin
:CheckOpts
if "%1"=="-O" (set dashO=-O) & shift & goto CheckOpts
diff --git a/PC/VS8.0/rt.bat b/PC/VS8.0/rt.bat
index 90fd794421..2e0a681771 100644
--- a/PC/VS8.0/rt.bat
+++ b/PC/VS8.0/rt.bat
@@ -27,7 +27,7 @@ setlocal
set exe=python
set qmode=
set dashO=
-PATH %PATH%;..\..\..\tcltk\bin
+PATH %PATH%;%~dp0..\..\..\tcltk\bin
:CheckOpts
if "%1"=="-O" (set dashO=-O) & shift & goto CheckOpts
diff --git a/PCbuild/rt.bat b/PCbuild/rt.bat
index ee1661a21a..9da1ed1b39 100644
--- a/PCbuild/rt.bat
+++ b/PCbuild/rt.bat
@@ -30,7 +30,7 @@ set prefix=.\
set suffix=
set qmode=
set dashO=
-set tcltk=
+set tcltk=tcltk
:CheckOpts
if "%1"=="-O" (set dashO=-O) & shift & goto CheckOpts
@@ -38,7 +38,7 @@ if "%1"=="-q" (set qmode=yes) & shift & goto CheckOpts
if "%1"=="-d" (set suffix=_d) & shift & goto CheckOpts
if "%1"=="-x64" (set prefix=amd64) & (set tcltk=tcltk64) & shift & goto CheckOpts
-PATH %PATH%;..\..\%tcltk%\bin
+PATH %PATH%;%~dp0..\..\%tcltk%\bin
set exe=%prefix%\python%suffix%
set cmd=%exe% %dashO% -Wd -3 -E -tt ../lib/test/regrtest.py %1 %2 %3 %4 %5 %6 %7 %8 %9
if defined qmode goto Qmode