diff options
author | Alon Zakai <alonzakai@gmail.com> | 2013-03-01 12:45:46 -0500 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2013-03-01 12:45:46 -0500 |
commit | ec2a9d6326c3c7f34bc2830a9f3f99face7df4bc (patch) | |
tree | 6fc4716f7468039dff3653c41acc161c920b54bf /tests | |
parent | f4c9cea88197070a7b1e5b9e480e1c32354aab7b (diff) |
make intentional faults work in asm
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/runner.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/runner.py b/tests/runner.py index bf6986db..ce5f346a 100755 --- a/tests/runner.py +++ b/tests/runner.py @@ -4048,7 +4048,6 @@ The current type of b is: 9 self.do_run(src, 'time: ') # compilation check, mainly def test_intentional_fault(self): - if Settings.ASM_JS: return self.skip('no throw support in asm') # Some programs intentionally segfault themselves, we should compile that into a throw src = r''' int main () { @@ -4056,7 +4055,7 @@ The current type of b is: 9 return 0; } ''' - self.do_run(src, 'fault on write to 0') + self.do_run(src, 'fault on write to 0' if not Settings.ASM_JS else 'Assertion: 0') def test_trickystring(self): src = r''' |