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

Jeffrey P Shell jeffrey@zope.com
Tue, 7 Aug 2001 15:27:55 -0400

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

Modified Files:
Log Message:
Fixed an issue with runPath() that caused running with the -d (path)
option to fail.

=== Zope/utilities/testrunner.py 1.11 => 1.12 ===
         """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)
         for name in names:
             fname, ext=os.path.splitext(name)