test: test-sigbus must be skipped when -fsanitize=address is used
ASAN is unable to handle it.
This commit is contained in:
@@ -29,6 +29,9 @@ int main(int argc, char *argv[]) {
|
||||
void *addr = NULL;
|
||||
uint8_t *p;
|
||||
|
||||
#ifdef __SANITIZE_ADDRESS__
|
||||
return EXIT_TEST_SKIP;
|
||||
#endif
|
||||
sigbus_install();
|
||||
|
||||
assert_se(sigbus_pop(&addr) == 0);
|
||||
|
||||
Reference in New Issue
Block a user