aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/runner.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/runner.py b/tests/runner.py
index 2e6dbdf8..06c75b7e 100644
--- a/tests/runner.py
+++ b/tests/runner.py
@@ -2801,10 +2801,11 @@ at function.:blag
self.do_run(src, expected)
def test_printf(self):
+ #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()
- # I64 mode 1 has some rounding and un-NaNing effects
- expected = open(path_from_root('tests', 'printf', 'output.txt' if Settings.I64_MODE == 0 else 'output_i64_1.txt'), 'r').read()
+ expected = [open(path_from_root('tests', 'printf', 'output.txt'), 'r').read(),
+ open(path_from_root('tests', 'printf', 'output_i64_1.txt'), 'r').read()]
self.do_run(src, expected)
def test_printf_types(self):