aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorAlon Zakai <azakai@mozilla.com>2010-11-21 23:03:08 -0800
committerAlon Zakai <azakai@mozilla.com>2010-11-21 23:03:08 -0800
commit76c55fb93de2861d19fb7c7664c325554d43ff9c (patch)
tree912a93d5bb9cad62620870118489d521faea5f5a /tests
parentad9cb98dba27655710b7df337ea276ad68b9bac9 (diff)
optimize SAFE_HEAP for speed and enable additional tests
Diffstat (limited to 'tests')
-rw-r--r--tests/runner.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/tests/runner.py b/tests/runner.py
index c01f1ceb..24f620f7 100644
--- a/tests/runner.py
+++ b/tests/runner.py
@@ -1016,16 +1016,12 @@ if 'benchmark' not in sys.argv:
### 'Big' tests
def test_fannkuch(self):
- global SAFE_HEAP; SAFE_HEAP = 0 # Too slow for that
-
results = [ (1,0), (2,1), (3,2), (4,4), (5,7), (6,10), (7, 16), (8,22) ]
for i, j in results:
src = open(path_from_root(['tests', 'fannkuch.cpp']), 'r').read()
self.do_test(src, 'Pfannkuchen(%d) = %d.' % (i,j), [str(i)], no_build=i>1)
def test_raytrace(self):
- global SAFE_HEAP; SAFE_HEAP = 0 # Too slow for that
-
src = open(path_from_root(['tests', 'raytrace.cpp']), 'r').read()
output = open(path_from_root(['tests', 'raytrace.ppm']), 'r').read()
self.do_test(src, output, ['3', '16'])