Don't run the catchable segv test on __EMSCRIPTEN__

This commit is contained in:
Frank Denis 2017-06-23 11:33:24 +02:00
parent c3045e2cb0
commit 1900e07166

View File

@ -23,7 +23,7 @@ size_t i;
signal(SIGSEGV, sig); signal(SIGSEGV, sig);
signal(SIGBUS, sig); signal(SIGBUS, sig);
#ifndef __SANITIZE_ADDRESS__ #if !defined(__SANITIZE_ADDRESS__) && !defined(__EMSCRIPTEN__)
for (i = 0; i < 10000000; i += 1024) { x[-i] = x[i] = (unsigned char) i; } for (i = 0; i < 10000000; i += 1024) { x[-i] = x[i] = (unsigned char) i; }
#endif #endif
free((void *) x); free((void *) x);