diff options
author | Alon Zakai <alonzakai@gmail.com> | 2011-06-11 12:03:10 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2011-06-11 12:03:10 -0700 |
commit | ecd0edf168fd1a2ff275f08b2daa7ea6926c623e (patch) | |
tree | 385a57175539dc2944a8db49b01dde4206cfed75 /tests/runner.py | |
parent | baf8505096e4bdaf3bb5d9794bb1edca29a19463 (diff) |
improve fasta benchmark
Diffstat (limited to 'tests/runner.py')
-rw-r--r-- | tests/runner.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/runner.py b/tests/runner.py index a7b7f0a5..9d3f4780 100644 --- a/tests/runner.py +++ b/tests/runner.py @@ -2678,6 +2678,14 @@ else: print 'Total stats:' self.print_stats(total_times) + def zzztest_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]] + + src = open(path_from_root('tests', 'dlmalloc.c'), 'r').read() + self.do_test(src, '*1,0*', ['200']) + def test_primes(self): src = ''' #include<stdio.h> |