From 449fd050f6ef2957332665b1a3e77dc5367add7b Mon Sep 17 00:00:00 2001 From: Sam Clegg Date: Wed, 10 Apr 2019 14:14:50 -0700 Subject: [PATCH] Fix test_dlfcn_self (#8427) This test has been broken for a long time now but was not running due to a bug in the use of decorators which was recently fixed in #8424 so this test started failing. --- tests/test_core.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/test_core.py b/tests/test_core.py index dbfa6d82ac04..6cbb90e150e6 100644 --- a/tests/test_core.py +++ b/tests/test_core.py @@ -2743,7 +2743,8 @@ def test_dlfcn_alignment_and_zeroing(self): @no_wasm('needs to be able to add JS functions to the wasm table') @needs_dlfcn def test_dlfcn_self(self): - self.prep_dlfcn_main() + self.set_setting('MAIN_MODULE') + self.set_setting('EXPORT_ALL') def post(filename): with open(filename) as f: