summaryrefslogtreecommitdiff
path: root/PCbuild
diff options
context:
space:
mode:
authorHirokazu Yamamoto <ocean-city@m2.ccsnet.ne.jp>2010-09-18 00:31:44 +0000
committerHirokazu Yamamoto <ocean-city@m2.ccsnet.ne.jp>2010-09-18 00:31:44 +0000
commit3da0d582abedb1b0480c762c87e261db122ba7fb (patch)
treef88e810700e59248d728fb9de256780800bf19a4 /PCbuild
parent930f84a8282e1094d87fb66dfbec4cb297af5138 (diff)
downloadcpython-3da0d582abedb1b0480c762c87e261db122ba7fb.tar.gz
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)
Diffstat (limited to 'PCbuild')
-rw-r--r--PCbuild/rt.bat2
1 files changed, 1 insertions, 1 deletions
diff --git a/PCbuild/rt.bat b/PCbuild/rt.bat
index f3c4829569..7129e20349 100644
--- a/PCbuild/rt.bat
+++ b/PCbuild/rt.bat
@@ -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 -E -bb ../lib/test/regrtest.py %1 %2 %3 %4 %5 %6 %7 %8 %9
if defined qmode goto Qmode