@@ -2975,7 +2975,7 @@ def test_fasta(self):
2975
2975
2976
2976
def test_dlmalloc (self ):
2977
2977
global CORRECT_SIGNS ; CORRECT_SIGNS = 2
2978
- global CORRECT_SIGNS_LINES ; CORRECT_SIGNS_LINES = ['src.cpp:' + str (i ) for i in [4816 , 4191 , 4246 , 4199 , 4205 , 4235 , 4227 ]]
2978
+ global CORRECT_SIGNS_LINES ; CORRECT_SIGNS_LINES = ['src.cpp:' + str (i + 4 ) for i in [4816 , 4191 , 4246 , 4199 , 4205 , 4235 , 4227 ]]
2979
2979
global TOTAL_MEMORY ; TOTAL_MEMORY = 100 * 1024 * 1024 # needed with typed arrays
2980
2980
2981
2981
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 @@ def test_raytrace(self):
4410
4410
def test_dlmalloc (self ):
4411
4411
global COMPILER_TEST_OPTS ; COMPILER_TEST_OPTS = ['-g' ]
4412
4412
global CORRECT_SIGNS ; CORRECT_SIGNS = 2
4413
- global CORRECT_SIGNS_LINES ; CORRECT_SIGNS_LINES = ['src.cpp:' + str (i ) for i in [4816 , 4191 , 4246 , 4199 , 4205 , 4235 , 4227 ]]
4413
+ global CORRECT_SIGNS_LINES ; CORRECT_SIGNS_LINES = ['src.cpp:' + str (i + 4 ) for i in [4816 , 4191 , 4246 , 4199 , 4205 , 4235 , 4227 ]]
4414
4414
4415
4415
src = open (path_from_root ('src' , 'dlmalloc.c' ), 'r' ).read () + '\n \n \n ' + open (path_from_root ('tests' , 'dlmalloc_test.c' ), 'r' ).read ()
4416
4416
self .do_benchmark (src , ['400' , '400' ], '*400,0*' )
0 commit comments