diff options
author | Alon Zakai <alonzakai@gmail.com> | 2011-11-10 16:33:31 -0800 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2011-11-10 16:33:31 -0800 |
commit | af0d1f83a31492afdcd0ed2f0d88436cdd33f929 (patch) | |
tree | 7437dfd2d67bfa517b72c77c68bf389a75bae212 | |
parent | 3b3b4bd70a942cb8f047c1ae354cfc52dcdf642b (diff) |
test tweak
-rw-r--r-- | tests/runner.py | 2 | ||||
-rw-r--r-- | tools/shared.py | 2 |
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:] |