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
This commit is contained in:
parent
adea12f7ab
commit
480a093f54
@ -394,8 +394,9 @@ class TestSuite(object):
|
||||
class TestRepository(TestSuite):
|
||||
|
||||
def __init__(self, path):
|
||||
super(TestRepository, self).__init__(basename(path))
|
||||
self.path = abspath(path)
|
||||
normalized_path = abspath(path)
|
||||
super(TestRepository, self).__init__(basename(normalized_path))
|
||||
self.path = normalized_path
|
||||
self.is_loaded = False
|
||||
self.config = None
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user