disable test_longjmp4 in optimized builds - it fails in native clang -O2 as well, possibly undefined behavior

This commit is contained in:
Alon Zakai 2012-12-07 20:59:53 -08:00
Родитель 51480ab006
Коммит b1da8a876b
1 изменённых файлов: 2 добавлений и 0 удалений

Просмотреть файл

@ -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>