[Python-checkins] r78293 - python/branches/py3k-cdecimal/Lib/test/decimal_extended_tests/c_tests/runalltests.bat

stefan.krah python-checkins at python.org
Sun Feb 21 18:06:58 CET 2010


Author: stefan.krah
Date: Sun Feb 21 18:06:58 2010
New Revision: 78293
Log:
Fix paths in Windows test suite.
Modified:
 python/branches/py3k-cdecimal/Lib/test/decimal_extended_tests/c_tests/runalltests.bat
Modified: python/branches/py3k-cdecimal/Lib/test/decimal_extended_tests/c_tests/runalltests.bat
==============================================================================
--- python/branches/py3k-cdecimal/Lib/test/decimal_extended_tests/c_tests/runalltests.bat	(original)
+++ python/branches/py3k-cdecimal/Lib/test/decimal_extended_tests/c_tests/runalltests.bat	Sun Feb 21 18:06:58 2010
@@ -27,12 +27,23 @@
 echo.
 test_transpose.exe
 
+
+if exist ..\..\..\..\PCbuild\python.exe (
+ set PYTHON=..\..\..\..\PCbuild\python.exe
+) else (
+ if exist ..\..\..\..\PCbuild\amd64\python.exe (
+ set PYTHON=..\..\..\..\PCbuild\amd64\python.exe
+ ) else (
+ goto :eof
+ )
+)
+
 echo.
 echo Running locale and format tests ...
 echo.
-..\..\..\..\python ..\genrandlocale.py | runtest.exe -
-..\..\..\..\python ..\genrandformat.py | runtest.exe -
-..\..\..\..\python ..\genlocale.py | runtest.exe -
+%PYTHON% ..\genrandlocale.py | runtest.exe -
+%PYTHON% ..\genrandformat.py | runtest.exe -
+%PYTHON% ..\genlocale.py | runtest.exe -
 
 
 


More information about the Python-checkins mailing list

AltStyle によって変換されたページ (->オリジナル) /