Skip to content

Commit e491cf3

Browse files
authored
Fix asan.test_openjpeg (#15112)
Since #15083, asan now sets `EXIT_RUNTIME` by default and this test depends on being able to run a `postRun` handler. Currently `postRun` handlers are not compatible with `EXIT_RUNTIME` under node: #15080.
1 parent 8ded0b8 commit e491cf3

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tests/test_core.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6237,6 +6237,9 @@ def image_compare(output):
62376237

62386238
return output
62396239

6240+
# Explictly disable EXIT_RUNTIME, since otherwise addOnPostRun does not work.
6241+
# https://github.com/emscripten-core/emscripten/issues/15080
6242+
self.set_setting('EXIT_RUNTIME', 0)
62406243
self.emcc_args += ['--minify=0'] # to compare the versions
62416244
self.emcc_args += ['--pre-js', 'pre.js']
62426245

0 commit comments

Comments
 (0)