aboutsummaryrefslogtreecommitdiff
path: root/tests/runner.py
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2011-12-09 21:20:19 -0800
committerAlon Zakai <alonzakai@gmail.com>2011-12-09 21:20:19 -0800
commit80cde8dc7cebb17e7ebe6317c60480e3f9055e92 (patch)
treec018eb91e0596b26b15d1b1032098320b5ff4692 /tests/runner.py
parentbaa5d010a21ec7999a0004befbad1b077aa45fa2 (diff)
parseInt and printf test fixes
Diffstat (limited to 'tests/runner.py')
-rw-r--r--tests/runner.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/runner.py b/tests/runner.py
index 06c75b7e..44136b16 100644
--- a/tests/runner.py
+++ b/tests/runner.py
@@ -2794,6 +2794,7 @@ at function.:blag
self.do_run(src, expected)
def test_parseInt(self):
+ if Settings.QUANTUM_SIZE == 1: return self.skip('Q1 and I64_1 do not mix well yet')
Settings.I64_MODE = 1 # Necessary to prevent i64s being truncated into i32s, but we do still get doubling
# FIXME: The output here is wrong, due to double rounding of i64s!
src = open(path_from_root('tests', 'parseInt', 'src.c'), 'r').read()
@@ -2801,7 +2802,8 @@ at function.:blag
self.do_run(src, expected)
def test_printf(self):
- #Settings.I64_MODE = 1
+ if Settings.QUANTUM_SIZE == 1: return self.skip('Q1 and I64_1 do not mix well yet')
+ Settings.I64_MODE = 1
self.banned_js_engines = [NODE_JS, V8_ENGINE] # SpiderMonkey and V8 do different things to float64 typed arrays, un-NaNing, etc.
src = open(path_from_root('tests', 'printf', 'test.c'), 'r').read()
expected = [open(path_from_root('tests', 'printf', 'output.txt'), 'r').read(),