Reviewers: Christian Plesner Hansen, Description: Issue 63: Running tests fails of there is a dot in the checkout path
Patch by Matt Hanselman (http://codereview.chromium.org/27086): Pass in the module's filename while loading rather than the full path (so call to load_module now matches find_module). Otherwise dots in path name get mistaken for file suffixes. Added Matt Hanselman to AUTHORS file. BUG=63 Please review this at http://codereview.chromium.org/28109 SVN Base: http://v8.googlecode.com/svn/branches/bleeding_edge/ Affected files: M AUTHORS M tools/test.py Index: tools/test.py =================================================================== --- tools/test.py (revision 1354) +++ tools/test.py (working copy) @@ -544,7 +544,7 @@ file = None try: (file, pathname, description) = imp.find_module('testcfg', [ self.path ]) - module = imp.load_module(self.path, file, pathname, description) + module = imp.load_module('testcfg', file, pathname, description) self.config = module.GetConfiguration(context, self.path) finally: if file: Index: AUTHORS =================================================================== --- AUTHORS (revision 1354) +++ AUTHORS (working copy) @@ -12,3 +12,4 @@ Paolo Giarrusso <[email protected]> Daniel Andersson <[email protected]> Alexander Botero-Lowry <[email protected]> +Matt Hanselman <[email protected]> --~--~---------~--~----~------------~-------~--~----~ v8-dev mailing list [email protected] http://groups.google.com/group/v8-dev -~----------~----~----~----~------~----~------~--~---
