aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/runner.py2
-rw-r--r--tools/shared.py2
2 files changed, 3 insertions, 1 deletions
diff --git a/tests/runner.py b/tests/runner.py
index b3c6835f..81b1ed5f 100644
--- a/tests/runner.py
+++ b/tests/runner.py
@@ -281,6 +281,8 @@ if 'benchmark' not in str(sys.argv):
self.do_run(src, 'hello, world!')
def test_intvars(self):
+ Settings.I64_MODE = 0 # We do not support 64-bit addition etc. in mode 1
+
src = '''
#include <stdio.h>
int global = 20;
diff --git a/tools/shared.py b/tools/shared.py
index fe2c50c6..1220f98e 100644
--- a/tools/shared.py
+++ b/tools/shared.py
@@ -97,7 +97,7 @@ def line_splitter(data):
return out
-def limit_size(string, MAX=800*20):
+def limit_size(string, MAX=80*20):
if len(string) < MAX: return string
return string[0:MAX/2] + '\n[..]\n' + string[-MAX/2:]