aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2012-09-11 18:19:04 -0700
committerAlon Zakai <alonzakai@gmail.com>2012-09-11 18:19:04 -0700
commitb37876be6ebf3da38b657e413c80fc6d69560b76 (patch)
tree7a96bfc921999e177f2d3e997df58a72cf410b9a /tests
parent0e3266a04bff83efe418f39b9f66deec3e5c2956 (diff)
enable test_segfault only with ta2, because otherwise SAFE_HEAP means type checks which hide segfaults
Diffstat (limited to 'tests')
-rwxr-xr-xtests/runner.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/runner.py b/tests/runner.py
index 513a0434..e4aba0c9 100755
--- a/tests/runner.py
+++ b/tests/runner.py
@@ -2109,6 +2109,8 @@ c5,de,15,8a
self.do_run(src, '*11,74,32,1012*\n*11*\n*22*')
def test_segfault(self):
+ if self.emcc_args is None: return self.skip('SAFE_HEAP without ta2 means we check types too, which hide segfaults')
+
Settings.SAFE_HEAP = 1
for addr in ['0', '7', 'new D2()']: