diff options
author | Alon Zakai <alonzakai@gmail.com> | 2014-01-13 16:44:17 -0800 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2014-01-13 17:03:24 -0800 |
commit | 0e36f078d4a9666303340506638726d316096e07 (patch) | |
tree | 173987ffb4995f03b518825885531fc1e6b2e9d0 /tests/test_core.py | |
parent | cd1edebb5034ea52396a5b68304e84ae80878740 (diff) |
add fputwc, which enables wprintf1.8.9
Diffstat (limited to 'tests/test_core.py')
-rw-r--r-- | tests/test_core.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/test_core.py b/tests/test_core.py index c89e785e..d7bebdc6 100644 --- a/tests/test_core.py +++ b/tests/test_core.py @@ -4090,6 +4090,12 @@ def process(filename): 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_wprintf(self): + if self.emcc_args is None: return self.skip('requires libcxx') + test_path = path_from_root('tests', 'core', 'test_wprintf') + src, output = (test_path + s for s in ('.c', '.out')) + self.do_run_from_file(src, output) + def test_direct_string_constant_usage(self): if self.emcc_args is None: return self.skip('requires libcxx') |