- Merged r4228 (Bugfix for runtest.py) from branches/installer
authorerluk <erluk@fdb21ef1-2011-0410-befe-b5e4ea1792b1>
Sat, 13 Jun 2009 11:09:06 +0000 (11:09 +0000)
committererluk <erluk@fdb21ef1-2011-0410-befe-b5e4ea1792b1>
Sat, 13 Jun 2009 11:09:06 +0000 (11:09 +0000)
git-svn-id: http://scons.tigris.org/svn/scons/trunk@4235 fdb21ef1-2011-0410-befe-b5e4ea1792b1

runtest.py

index 53f6e5be7ea47b8cd048a4e7c4afc5095b8436b7..a2d66010cf9b0a34a5a47ccc0404671d696d7e0f 100644 (file)
@@ -245,7 +245,7 @@ runtest.py:  No tests were specified.
 if sys.platform in ('win32', 'cygwin'):
 
     def whereis(file):
-        pathext = [''] + string.split(os.environ['PATHEXT'])
+        pathext = [''] + string.split(os.environ['PATHEXT'], os.pathsep)
         for dir in string.split(os.environ['PATH'], os.pathsep):
             f = os.path.join(dir, file)
             for ext in pathext: