Author: [email protected]
Date: Wed Feb 25 02:09:42 2009
New Revision: 1356

Modified:
    branches/bleeding_edge/AUTHORS
    branches/bleeding_edge/tools/test.py

Log:
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
Review URL: http://codereview.chromium.org/28109

Modified: branches/bleeding_edge/AUTHORS
==============================================================================
--- branches/bleeding_edge/AUTHORS      (original)
+++ branches/bleeding_edge/AUTHORS      Wed Feb 25 02:09:42 2009
@@ -12,3 +12,4 @@
  Paolo Giarrusso <[email protected]>
  Daniel Andersson <[email protected]>
  Alexander Botero-Lowry <[email protected]>
+Matt Hanselman <[email protected]>

Modified: branches/bleeding_edge/tools/test.py
==============================================================================
--- branches/bleeding_edge/tools/test.py        (original)
+++ branches/bleeding_edge/tools/test.py        Wed Feb 25 02:09:42 2009
@@ -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:

--~--~---------~--~----~------------~-------~--~----~
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
-~----------~----~----~----~------~----~------~--~---

Reply via email to