Commit 480a093f authored by mads.s.ager@gmail.com's avatar mads.s.ager@gmail.com

Normalize the test suite path before passing it to basename. basename

returns '' if the path ends in a path separator.


git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@45 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent adea12f7
...@@ -394,8 +394,9 @@ class TestSuite(object): ...@@ -394,8 +394,9 @@ class TestSuite(object):
class TestRepository(TestSuite): class TestRepository(TestSuite):
def __init__(self, path): def __init__(self, path):
super(TestRepository, self).__init__(basename(path)) normalized_path = abspath(path)
self.path = abspath(path) super(TestRepository, self).__init__(basename(normalized_path))
self.path = normalized_path
self.is_loaded = False self.is_loaded = False
self.config = None self.config = None
......
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