aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJukka Jylänki <jujjyl@gmail.com>2013-08-30 14:35:25 +0300
committerAlon Zakai <alonzakai@gmail.com>2013-09-10 14:39:31 -0700
commit61b6d3c337b1c35692d2c1fc3b5d30cafeec3950 (patch)
tree5e26daf71a82bd52e804475354139b76ff20570d /tests
parent65e1c6f5dcb22980abc7845f79a3a738c5e3e852 (diff)
Skip test_utf32 when on s_0_x since they don't link in libc, and the code relies on wcslen().
Diffstat (limited to 'tests')
-rw-r--r--tests/test_core.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/test_core.py b/tests/test_core.py
index 7ceeebd2..739d1d7c 100644
--- a/tests/test_core.py
+++ b/tests/test_core.py
@@ -7526,6 +7526,8 @@ def process(filename):
self.do_run(src, '206 188 226 128 μ†ℱ ╋ℯ╳╋ 😇\nμ†ℱ ╋ℯ╳╋ 😇,206,188,226,128\n');
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.')
def test_direct_string_constant_usage(self):