mirror of
https://gitlab.freedesktop.org/wayland/wayland.git
synced 2026-03-04 01:42:03 -05:00
tests: disable coredumps on sanity-test
SEGV and ABRT by default cause a core dump, which may create a file, launch crash handlers, and so on. sanity-test has 21 processes that are expected to crash like this. Disable core dumps on them all. I counted 21 entries in coredumpctl list, while only 16 functions needed patching. After this patch no entries appear in coredumpctl list. Signed-off-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk> Reviewed-by: Daniel Stone <daniels@collabora.com>
This commit is contained in:
parent
adda7cbbb8
commit
371c26d52b
4 changed files with 53 additions and 1 deletions
|
|
@ -86,6 +86,9 @@ test_usleep(useconds_t);
|
|||
void
|
||||
test_sleep(unsigned int);
|
||||
|
||||
void
|
||||
test_disable_coredumps(void);
|
||||
|
||||
#define DISABLE_LEAK_CHECKS \
|
||||
do { \
|
||||
extern int leak_check_enabled; \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue