aboutsummaryrefslogtreecommitdiff
path: root/tests/runner.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/runner.py')
-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()