diff options
author | Jukka Jylänki <jujjyl@gmail.com> | 2013-09-01 19:16:58 +0300 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2013-09-10 14:39:32 -0700 |
commit | c33af789cb9d37ccea5cfb7cc3eef87c2eb8d2fd (patch) | |
tree | 72f867b6ae962effa6b8a759ffc99e66e8f99b2c /tests/test_core.py | |
parent | 0869e83dee252df71177f7b0b7e0e8b2ab3de321 (diff) |
Add support for marshalling UTF-16 strings to/from JS. Allows passing wchar_t strings to JS when building with -fshort-wchar. Closes #1565.
Diffstat (limited to 'tests/test_core.py')
-rw-r--r-- | tests/test_core.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_core.py b/tests/test_core.py index 739d1d7c..1dd07307 100644 --- a/tests/test_core.py +++ b/tests/test_core.py @@ -7527,8 +7527,8 @@ def process(filename): def test_utf32(self): if self.emcc_args is None: return self.skip('need libc for wcslen()') - self.do_run(open(path_from_root('tests', 'utf32.cpp')).read(), 'OK.') + self.do_run(open(path_from_root('tests', 'utf32.cpp')).read(), 'OK.', args=['-fshort-wchar']) def test_direct_string_constant_usage(self): if self.emcc_args is None: return self.skip('requires libcxx') |