]> granicus.if.org Git - python/commitdiff
regrtest.py now runs python in build/test_python_xxx. (deeper than here)
authorHirokazu Yamamoto <ocean-city@m2.ccsnet.ne.jp>
Sat, 18 Sep 2010 00:31:44 +0000 (00:31 +0000)
committerHirokazu Yamamoto <ocean-city@m2.ccsnet.ne.jp>
Sat, 18 Sep 2010 00:31:44 +0000 (00:31 +0000)
So failed to load tcl/tk dll because $(dist)/tcltk/bin was set to PATH as
relative path. (Windows)

PCbuild/rt.bat

index f3c4829569e68cd86e959f4004212bf9c0e54c89..7129e203491fbf8f92d875463b7b40730f83b7da 100644 (file)
@@ -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