aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2011-12-06 18:35:41 -0800
committerAlon Zakai <alonzakai@gmail.com>2011-12-06 18:35:41 -0800
commite702f719f832582fb6b1864115bb7a8526148574 (patch)
tree39fbe919c69f1d2472c6a654759d27dbe55bae01
parentf6e2afce8d486ec296bf0894f0c2dc12fa72af06 (diff)
test fixes
-rw-r--r--tests/runner.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/runner.py b/tests/runner.py
index b0e99d2e..df9c385e 100644
--- a/tests/runner.py
+++ b/tests/runner.py
@@ -2739,6 +2739,7 @@ if 'benchmark' not in str(sys.argv):
self.do_run(src, re.sub(r'\n\s+', '\n', expected))
def test_parseInt(self):
+ Settings.I64_MODE = 1 # Necessary to prevent i64s being truncated into i32s
src = open(path_from_root('tests', 'parseInt', 'src.c'), 'r').read()
if Settings.I64_MODE == 0:
expected = open(path_from_root('tests', 'parseInt', 'output.txt'), 'r').read()