Skip to content

Commit e03a302

Browse files
committed
Fix asan.test_openjpeg
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 8b7c8f6 commit e03a302

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tests/test_core.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6162,6 +6162,10 @@ def test_poppler(self):
61626162
@needs_make('make')
61636163
@is_slow_test
61646164
def test_openjpeg(self):
6165+
# Explictly disable EXIT_RUNTIME, since otherwise addOnPostRun does not work.
6166+
# https://github.com/emscripten-core/emscripten/issues/15080
6167+
self.set_setting('EXIT_RUNTIME', 0)
6168+
61656169
def do_test_openjpeg():
61666170
def line_splitter(data):
61676171
out = ''

0 commit comments

Comments
 (0)