aboutsummaryrefslogtreecommitdiff
path: root/tests/runner.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/runner.py')
-rw-r--r--tests/runner.py11
1 files changed, 7 insertions, 4 deletions
diff --git a/tests/runner.py b/tests/runner.py
index a1985df7..fdb0f899 100644
--- a/tests/runner.py
+++ b/tests/runner.py
@@ -1784,12 +1784,15 @@ if 'benchmark' not in sys.argv:
self.do_test(src, j, [str(i)], lambda x: x.replace('\n', '*'), no_build=i>1)
def test_dlmalloc(self):
- #global COMPILER_TEST_OPTS; COMPILER_TEST_OPTS = ['-g']
- global CORRECT_SIGNS; CORRECT_SIGNS = 1
- #global CORRECT_SIGNS_LINES; CORRECT_SIGNS_LINES = ['src.cpp:4816', 'src.cpp:4191']
+ global COMPILER_TEST_OPTS; COMPILER_TEST_OPTS = ['-g']
+ #global CHECK_SIGNS; CHECK_SIGNS = 1
+ #global CHECK_OVERFLOWS; CHECK_OVERFLOWS = 1 # Why work with this? XXX
+ 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 AUTO_OPTIMIZE; AUTO_OPTIMIZE = 1
src = open(path_from_root('tests', 'dlmalloc.c'), 'r').read()
- self.do_test(src, '*1,0*', ['100'])
+ self.do_test(src, '*1,0*', ['100'])#, build_ll_hook=self.do_autodebug)
def zzztest_gl(self):
# Switch to gcc from g++ - we don't compile properly otherwise (why?)