summaryrefslogtreecommitdiff
path: root/tests/test_core.py
diff options
context:
space:
mode:
authorBruce Mitchener <bruce.mitchener@gmail.com>2014-01-13 22:08:30 +0700
committerBruce Mitchener <bruce.mitchener@gmail.com>2014-01-14 02:21:11 +0700
commite3825afd87e2bf638da9b18a9deaf31de5a03cc3 (patch)
tree21cfbdd8395d47eaa2759c8935d726a2cc5118eb /tests/test_core.py
parent3b62c6587c50400cf0899c60ee29fa2282efdd28 (diff)
Move scalbn to libc to fix broken functionality. Disable test on x86.
Diffstat (limited to 'tests/test_core.py')
-rw-r--r--tests/test_core.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/test_core.py b/tests/test_core.py
index 07de8a7f..826437b1 100644
--- a/tests/test_core.py
+++ b/tests/test_core.py
@@ -510,6 +510,7 @@ class T(RunnerCore): # Short name, to make it more fun to use manually on the co
def test_cube2md5(self):
if self.emcc_args == None: return self.skip('needs emcc')
+ if not self.is_le32(): return self.skip('le32 needed for accurate math')
self.emcc_args += ['--embed-file', 'cube2md5.txt']
shutil.copyfile(path_from_root('tests', 'cube2md5.txt'), os.path.join(self.get_dir(), 'cube2md5.txt'))
self.do_run(open(path_from_root('tests', 'cube2md5.cpp')).read(), open(path_from_root('tests', 'cube2md5.ok')).read())