aboutsummaryrefslogtreecommitdiff
path: root/tests/runner.py
diff options
context:
space:
mode:
authorAlon Zakai <azakai@mozilla.com>2010-12-25 16:03:43 -0800
committerAlon Zakai <azakai@mozilla.com>2010-12-25 16:03:43 -0800
commitb2fd961d06812c0bfcecc19521a040b8c0a06d24 (patch)
treea4f6b4da99ceae126b800a5c1b36e29daeb2a345 /tests/runner.py
parent8e5c52df194f951187e897e5213849828e41b490 (diff)
refactor and fix global variables, should they be needed for analysis
Diffstat (limited to 'tests/runner.py')
-rw-r--r--tests/runner.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/runner.py b/tests/runner.py
index f661f3ab..5a9ccc7a 100644
--- a/tests/runner.py
+++ b/tests/runner.py
@@ -1264,7 +1264,8 @@ if 'benchmark' not in sys.argv:
self.do_test(src, output, ['3', '16'])
def test_dlmalloc(self):
- assert COMPILER_ENGINE != SPIDERMONKEY_ENGINE # See cubescript test
+ # XXX Warning: Running this in SpiderMonkey can lead to an extreme amount of memory being
+ # used, see Mozilla bug 593659.
src = open(path_from_root(['tests', 'dlmalloc.c']), 'r').read()
self.do_test(src, '*1,0*')
@@ -1294,8 +1295,6 @@ if 'benchmark' not in sys.argv:
def test_cubescript(self):
# XXX Warning: Running this in SpiderMonkey can lead to an extreme amount of memory being
# used, see Mozilla bug 593659.
- assert COMPILER_ENGINE != SPIDERMONKEY_ENGINE
-
global SAFE_HEAP; SAFE_HEAP = 0 # Has some actual loads of unwritten-to places, in the C++ code...
global CHECK_OVERFLOWS; CHECK_OVERFLOWS = 0 # Overflows in hash loop... seems to work though, doesn't overflow too much