Commit d4cb5f76 authored by Jeffrey Shell's avatar Jeffrey Shell

Fixed an issue with runPath() that caused running with the -d (path)

option to fail.
parent cee8db0c
......@@ -87,6 +87,8 @@ class TestRunner:
def runPath(self, pathname):
"""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)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment