Skip to content

Commit

Permalink
disable i64=1 tests in q1
Browse files Browse the repository at this point in the history
  • Loading branch information
kripken committed Nov 13, 2011
1 parent 26e6371 commit c0152fe
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tests/runner.py
Expand Up @@ -368,9 +368,10 @@ def test_sintvars(self):
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
if i64_mode == 1 and Settings.QUANTUM_SIZE == 1: continue # TODO: i64 mode 1 for q1

Settings.I64_MODE = i64_mode
src = '''
#include <stdio.h>
Expand All @@ -394,6 +395,8 @@ def test_i64(self):
'''
self.do_run(src, '*245127260211081,579378795077769,808077213656969,16428841631881,791648372025088*\n*13.00,6.00,3.00,*3*')

if Settings.QUANTUM_SIZE == 1: return self.skip('TODO: i64 mode 1 for q1')

# Stuff that only works in i64_mode = 1

Settings.I64_MODE = 1
Expand Down

0 comments on commit c0152fe

Please sign in to comment.