diff options
author | Alon Zakai <alonzakai@gmail.com> | 2012-12-07 20:59:53 -0800 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2012-12-07 20:59:53 -0800 |
commit | b1da8a876bd06aa8409d8dcb5a325267ca63b9c3 (patch) | |
tree | 6241b498b2cd6d286744242f104f7a116109f7c4 | |
parent | 51480ab006fe32fae1d717d70aea1147190845e5 (diff) |
disable test_longjmp4 in optimized builds - it fails in native clang -O2 as well, possibly undefined behavior
-rwxr-xr-x | tests/runner.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/runner.py b/tests/runner.py index 6832d41e..1f40ed70 100755 --- a/tests/runner.py +++ b/tests/runner.py @@ -2131,6 +2131,8 @@ Exiting setjmp function, level: 0 ''') def test_longjmp4(self): + if self.emcc_args and '-O' in str(self.emcc_args): return self.skip('this breaks with LLVM optimizations, even natively - is this undefined behavior? see issue 747') + src = r''' #include <setjmp.h> #include <stdio.h> |