aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJukka Jylänki <jujjyl@gmail.com>2014-05-15 13:47:09 +0300
committerJukka Jylänki <jujjyl@gmail.com>2014-05-23 02:20:06 +0300
commit4800e3b7f8d0c8402bfb2d0fbd5a1780acce772a (patch)
treed810f157376d2712aaffeda178a31ab5c59972d7
parent210bff95040083cdbcdd13b38b2ce190f644528f (diff)
Skip sprintf-accessing tests on s_ suites that require linking to libc.
-rw-r--r--tests/test_core.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/test_core.py b/tests/test_core.py
index af18fdcf..724108d9 100644
--- a/tests/test_core.py
+++ b/tests/test_core.py
@@ -870,6 +870,7 @@ class T(RunnerCore): # Short name, to make it more fun to use manually on the co
self.do_run_from_file(src, output)
def test_frexp(self):
+ if self.run_name.startswith('s_'): return self.skip('This test requires linking to musl lib for sprintf.')
test_path = path_from_root('tests', 'core', 'test_frexp')
src, output = (test_path + s for s in ('.in', '.out'))
@@ -2158,6 +2159,7 @@ def process(filename):
self.do_run(src, '*4,3,4*\n*6,4,6*')
def test_varargs(self):
+ if self.run_name.startswith('s_'): return self.skip('This test requires linking to musl lib for sprintf.')
if Settings.QUANTUM_SIZE == 1: return self.skip('FIXME: Add support for this')
if not self.is_emscripten_abi(): return self.skip('we do not support all varargs stuff without asmjs-unknown-emscripten')
@@ -3758,6 +3760,7 @@ int main()
self.do_run_from_file(src, output)
def test_printf_more(self):
+ if self.run_name.startswith('s_'): return self.skip('This test requires linking to musl lib for sprintf.')
test_path = path_from_root('tests', 'core', 'test_printf_more')
src, output = (test_path + s for s in ('.in', '.out'))