aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2011-12-07 17:51:15 -0800
committerAlon Zakai <alonzakai@gmail.com>2011-12-07 17:51:15 -0800
commitbdc218622d510f026545f73c78f3a15ae6972fb3 (patch)
treec2380ff2a756a927a20ca902eeaa67db40fe12ec
parentd882ef00a1ee716e88982e34b9edf6b52af2639b (diff)
mark printf as depending on js engine float64array behavior
-rw-r--r--tests/runner.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/runner.py b/tests/runner.py
index b1926f93..9a5c9487 100644
--- a/tests/runner.py
+++ b/tests/runner.py
@@ -2753,6 +2753,7 @@ if 'benchmark' not in str(sys.argv):
self.do_run(src, expected)
def test_printf(self):
+ 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()