[Zope-Checkins] CVS: Zope/utilities - testrunner.py:1.10.4.2

Jeffrey P Shell jeffrey@zope.com
Tue, 7 Aug 2001 16:16:25 -0400


Update of /cvs-repository/Zope/utilities
In directory cvs.zope.org:/tmp/cvs-serv5371

Modified Files:
      Tag: Zope-2_4-branch
	testrunner.py 
Log Message:
Fixed issue in runPath() that caused running with the -d (path) option
to fail.


=== Zope/utilities/testrunner.py 1.10.4.1 => 1.10.4.2 ===
         """Run all tests found in the directory named by pathname
            and all subdirectories."""
+        if not os.path.isabs(pathname):
+            pathname = os.path.join(self.basepath, pathname)
         names=os.listdir(pathname)
         for name in names:
             fname, ext=os.path.splitext(name)