diff options
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> |