diff options
author | Alon Zakai <alonzakai@gmail.com> | 2011-10-08 20:06:37 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2011-10-08 20:06:37 -0700 |
commit | 06354eda6092add55034c692bd65734a61083e8b (patch) | |
tree | 2cc79d36f916c220b3bc449cba4d3ab602f534c4 /tests | |
parent | 17cc630b9b3c7954dcf85a0d68f69615fce07945 (diff) |
fix dlmalloc speed regressionllvm-svn-pre-3.0llvm-svn-backup
Diffstat (limited to 'tests')
-rw-r--r-- | tests/runner.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/runner.py b/tests/runner.py index 4f2cc43f..49083092 100644 --- a/tests/runner.py +++ b/tests/runner.py @@ -2975,7 +2975,7 @@ if 'benchmark' not in str(sys.argv): def test_dlmalloc(self): global CORRECT_SIGNS; CORRECT_SIGNS = 2 - global CORRECT_SIGNS_LINES; CORRECT_SIGNS_LINES = ['src.cpp:' + str(i) for i in [4816, 4191, 4246, 4199, 4205, 4235, 4227]] + global CORRECT_SIGNS_LINES; CORRECT_SIGNS_LINES = ['src.cpp:' + str(i+4) for i in [4816, 4191, 4246, 4199, 4205, 4235, 4227]] global TOTAL_MEMORY; TOTAL_MEMORY = 100*1024*1024 # needed with typed arrays src = open(path_from_root('src', 'dlmalloc.c'), 'r').read() + '\n\n\n' + open(path_from_root('tests', 'dlmalloc_test.c'), 'r').read() @@ -4410,7 +4410,7 @@ else: def test_dlmalloc(self): global COMPILER_TEST_OPTS; COMPILER_TEST_OPTS = ['-g'] global CORRECT_SIGNS; CORRECT_SIGNS = 2 - global CORRECT_SIGNS_LINES; CORRECT_SIGNS_LINES = ['src.cpp:' + str(i) for i in [4816, 4191, 4246, 4199, 4205, 4235, 4227]] + global CORRECT_SIGNS_LINES; CORRECT_SIGNS_LINES = ['src.cpp:' + str(i+4) for i in [4816, 4191, 4246, 4199, 4205, 4235, 4227]] src = open(path_from_root('src', 'dlmalloc.c'), 'r').read() + '\n\n\n' + open(path_from_root('tests', 'dlmalloc_test.c'), 'r').read() self.do_benchmark(src, ['400', '400'], '*400,0*') |