diff options
author | Alon Zakai <alonzakai@gmail.com> | 2011-11-11 21:24:16 -0800 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2011-11-11 21:24:16 -0800 |
commit | 386363a361b46c035e04687bfbdd41b09c925193 (patch) | |
tree | f8d088823a64fe6ecb2d5047a888a130302d035a | |
parent | 0b77979d2ca821de1b25fb0539bfd1560d5b477e (diff) |
test fixes
-rw-r--r-- | tests/runner.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/runner.py b/tests/runner.py index 5d29d6c9..fbf1f119 100644 --- a/tests/runner.py +++ b/tests/runner.py @@ -4270,6 +4270,8 @@ Child2:9 self.do_run(src.replace('TYPE', 'int'), '*-2**2**-5**5*') def test_autooptimize(self): + if Settings.USE_TYPED_ARRAYS == 2: return self.skip('LLVM opts optimize out the things we check') + Settings.AUTO_OPTIMIZE = Settings.CHECK_OVERFLOWS = Settings.CORRECT_OVERFLOWS = Settings.CHECK_SIGNS = Settings.CORRECT_SIGNS = 1 src = ''' @@ -4293,8 +4295,8 @@ Child2:9 def check(output): # TODO: check the line # - assert 'Overflow|src.cpp:6 : 60 hits, %20 failures' in output, 'no indication of Overflow corrections' - assert 'UnSign|src.cpp:13 : 6 hits, %17 failures' in output, 'no indication of Sign corrections' + assert 'Overflow|src.cpp:6 : 60 hits, %20 failures' in output, 'no indication of Overflow corrections: ' + output + assert 'UnSign|src.cpp:13 : 6 hits, %17 failures' in output, 'no indication of Sign corrections: ' + output return output self.do_run(src, '*186854335,63*\n', output_nicerizer=check) |