diff options
author | Alon Zakai <alonzakai@gmail.com> | 2011-10-18 11:49:36 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2011-10-18 11:49:36 -0700 |
commit | 72ea6b67dada5f983da32eb6bdcb9d4c1760d761 (patch) | |
tree | 633062ec61a6e437a2cde6bbed76ffece0a39a37 /tests | |
parent | 3da4b977b4c8378efdf7b3ab27798846acd3e1dc (diff) |
clarify use of safe heap with ta2
Diffstat (limited to 'tests')
-rw-r--r-- | tests/runner.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/runner.py b/tests/runner.py index 414ba982..1302818e 100644 --- a/tests/runner.py +++ b/tests/runner.py @@ -3900,10 +3900,12 @@ Child2:9 self.do_run(src, '*closured*', post_build=add_cc) def test_safe_heap(self): - global SAFE_HEAP, SAFE_HEAP_LINES + global SAFE_HEAP, SAFE_HEAP_LINES, USE_TYPED_ARRAYS + if USE_TYPED_ARRAYS == 2: return self.skip('It is ok to violate the load-store assumption with TA2') if not SAFE_HEAP: return self.skip('We need SAFE_HEAP to test SAFE_HEAP') if LLVM_OPTS: return self.skip('LLVM can optimize away the intermediate |x|') + src = ''' #include<stdio.h> int main() { |