diff options
author | Alon Zakai <alonzakai@gmail.com> | 2011-11-10 15:21:37 -0800 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2011-11-10 15:21:37 -0800 |
commit | aa7abd7828d1618b7303ec9a49e9501daf2f78ff (patch) | |
tree | 27eb858025076f7375caece5df01c2513320aa66 /tests | |
parent | 27a31b4e4661e8ca95e4c3e28743a1d8abd64d0b (diff) |
i64 fix for printing the very largest values
Diffstat (limited to 'tests')
-rw-r--r-- | tests/runner.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/runner.py b/tests/runner.py index 002d9376..36c86bb7 100644 --- a/tests/runner.py +++ b/tests/runner.py @@ -365,6 +365,7 @@ if 'benchmark' not in str(sys.argv): self.do_run(src, output, force_c=True) def test_i64(self): + #for i64_mode in []: for i64_mode in [0,1]: if i64_mode == 0 and Settings.USE_TYPED_ARRAYS != 0: continue # Typed arrays truncate i64 Settings.I64_MODE = i64_mode @@ -422,7 +423,7 @@ if 'benchmark' not in str(sys.argv): printf("*%Ld*\n", returner2(30)); int64_t maxx = -1ULL; - //printf("*%Ld*\n", maxx); + printf("*%Lu*\n", maxx); // Make sure params are not modified if they shouldn't be int64_t t = 123; @@ -435,7 +436,7 @@ if 'benchmark' not in str(sys.argv): return 0; } ''' - self.do_run(src, '*1311918518731868200\n0,0,0,1,1\n1,0,1,0,1*\n*245127260211081*\n*245127260209443*\n' + + self.do_run(src, '*1311918518731868200\n0,0,0,1,1\n1,0,1,0,1*\n*245127260211081*\n*245127260209443*\n*18446744073709552000*\n' + 'm1: 127\n*123*\n*127*\n') |