aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2011-10-18 11:49:36 -0700
committerAlon Zakai <alonzakai@gmail.com>2011-10-18 11:49:36 -0700
commit72ea6b67dada5f983da32eb6bdcb9d4c1760d761 (patch)
tree633062ec61a6e437a2cde6bbed76ffece0a39a37 /tests
parent3da4b977b4c8378efdf7b3ab27798846acd3e1dc (diff)
clarify use of safe heap with ta2
Diffstat (limited to 'tests')
-rw-r--r--tests/runner.py4
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() {