summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCristian Rodríguez <crrodriguez@opensuse.org>2016-08-04 16:49:19 +0000
committerCristian Rodríguez <crrodriguez@opensuse.org>2016-08-06 02:14:51 +0000
commitd6d46cddee404cec266a63fe83b8224b8532e9eb (patch)
tree71d3a31fefec4c98007553a86f554ae1f9cf5f1f
parent3bb81a80bd18c15a1befb4de9a4cf9a5b77ae354 (diff)
test: test-sigbus must be skipped when -fsanitize=address is used
ASAN is unable to handle it.
-rw-r--r--src/test/test-sigbus.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/test/test-sigbus.c b/src/test/test-sigbus.c
index 17b81747be..02b8e24308 100644
--- a/src/test/test-sigbus.c
+++ b/src/test/test-sigbus.c
@@ -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);