diff options
author | Jukka Jylänki <jujjyl@gmail.com> | 2014-05-22 23:28:58 +0300 |
---|---|---|
committer | Jukka Jylänki <jujjyl@gmail.com> | 2014-05-22 23:29:27 +0300 |
commit | a601377b0e5d247bcf681470c8c6427cba612123 (patch) | |
tree | d74ecd3c19001da94b372f8e87125a4c041d38a3 | |
parent | 809742576c8223286bc2e94b649df4c7f72d6150 (diff) |
Fix test_dlmalloc in s_*_* modes by enabling the sign corrections in the whole test (Settings.CORRECT_SIGNS = 1). The new musl libc isdigit() function depends on that.
-rw-r--r-- | tests/test_core.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/test_core.py b/tests/test_core.py index 7c317894..7b8916da 100644 --- a/tests/test_core.py +++ b/tests/test_core.py @@ -4664,8 +4664,7 @@ int main(void) { if self.emcc_args is None: self.emcc_args = [] # dlmalloc auto-inclusion is only done if we use emcc self.banned_js_engines = [NODE_JS] # slower, and fail on 64-bit - Settings.CORRECT_SIGNS = 2 - Settings.CORRECT_SIGNS_LINES = ['src.cpp:' + str(i+4) for i in [4816, 4191, 4246, 4199, 4205, 4235, 4227]] + Settings.CORRECT_SIGNS = 1 Settings.TOTAL_MEMORY = 128*1024*1024 # needed with typed arrays src = open(path_from_root('system', 'lib', 'dlmalloc.c'), 'r').read() + '\n\n\n' + open(path_from_root('tests', 'dlmalloc_test.c'), 'r').read() |