Reviewers: Søren Gjesse,

Description:
Fix fp problems in runtime code on ARM EABI by 8-byte aligning
the stack on exit to C.

Please review this at http://codereview.chromium.org/113263

SVN Base: http://v8.googlecode.com/svn/branches/bleeding_edge/

Affected files:
   M     tools/test.py


Index: tools/test.py
===================================================================
--- tools/test.py       (revision 1918)
+++ tools/test.py       (working copy)
@@ -39,7 +39,10 @@
  import sys
  import tempfile
  import time
-import threading
+try:
+  import threading
+except ImportError:
+  import dummy_threading
  import utils
  from Queue import Queue, Empty

@@ -52,6 +55,13 @@
  # ---------------------------------------------


+class DummyLock(object):
+  def acquire(self):
+    pass
+  def release(self):
+    pass
+
+
  class ProgressIndicator(object):

    def __init__(self, cases):
@@ -65,8 +75,12 @@
      self.failed = [ ]
      self.crashed = 0
      self.terminate = False
-    self.lock = threading.Lock()
+    try:
+      self.lock = threading.Lock()
+    except Exception, e:
+      self.lock = DummyLock()

+
    def PrintFailureHeader(self, test):
      if test.IsNegative():
        negative_marker = '[negative] '



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

Reply via email to