summaryrefslogtreecommitdiff
path: root/test/unit/test_finalize.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/unit/test_finalize.py')
-rw-r--r--test/unit/test_finalize.py10
1 files changed, 0 insertions, 10 deletions
diff --git a/test/unit/test_finalize.py b/test/unit/test_finalize.py
index b393177bd..6733155cb 100644
--- a/test/unit/test_finalize.py
+++ b/test/unit/test_finalize.py
@@ -1,18 +1,8 @@
-import os
-
from scripts.test import shared
from . import utils
class EmscriptenFinalizeTest(utils.BinaryenTestCase):
- def test_em_asm_mangled_string(self):
- p = shared.run_process(shared.WASM_EMSCRIPTEN_FINALIZE + [
- self.input_path('em_asm_mangled_string.wat'), '-o', os.devnull, '--global-base=1024'
- ], check=False, capture_output=True)
- self.assertNotEqual(p.returncode, 0)
- self.assertIn('Fatal: local.get of unknown in arg0 of call to emscripten_asm_const_int (used by EM_ASM* macros) in function main.', p.stderr)
- self.assertIn('This might be caused by aggressive compiler transformations. Consider using EM_JS instead.', p.stderr)
-
def do_output_test(self, args):
# without any output file specified, don't error, don't write the wasm,
# but do emit metadata