From 0f0ca1adb755c641435e8f10455ffc5752f168cf Mon Sep 17 00:00:00 2001 From: fennecdjay Date: Tue, 26 Mar 2019 14:26:00 +0100 Subject: [PATCH] :art: test system --- help/supp | 71 ++++++++++++++++++++++++++++++++++++++++++++++++++++ help/test.sh | 2 +- 2 files changed, 72 insertions(+), 1 deletion(-) create mode 100644 help/supp diff --git a/help/supp b/help/supp new file mode 100644 index 00000000..68008ed3 --- /dev/null +++ b/help/supp @@ -0,0 +1,71 @@ +{ + + Memcheck:Leak + match-leak-kinds: reachable + fun:malloc + fun:strdup + fun:_dl_load_cache_lookup + fun:_dl_map_object + fun:dl_open_worker + fun:_dl_catch_exception + fun:_dl_open + fun:do_dlopen + fun:_dl_catch_exception + fun:_dl_catch_error + fun:dlerror_run + fun:__libc_dlopen_mode +} + +{ + + Memcheck:Leak + match-leak-kinds: reachable + fun:malloc + fun:_dl_new_object + fun:_dl_map_object_from_fd + fun:_dl_map_object + fun:dl_open_worker + fun:_dl_catch_exception + fun:_dl_open + fun:do_dlopen + fun:_dl_catch_exception + fun:_dl_catch_error + fun:dlerror_run + fun:__libc_dlopen_mode +} + +{ + + Memcheck:Leak + match-leak-kinds: reachable + fun:calloc + fun:_dl_check_map_versions + fun:dl_open_worker + fun:_dl_catch_exception + fun:_dl_open + fun:do_dlopen + fun:_dl_catch_exception + fun:_dl_catch_error + fun:dlerror_run + fun:__libc_dlopen_mode + fun:pthread_cancel_init + fun:_Unwind_ForcedUnwind +} + +{ + + Memcheck:Leak + match-leak-kinds: reachable + fun:calloc + fun:_dl_new_object + fun:_dl_map_object_from_fd + fun:_dl_map_object + fun:dl_open_worker + fun:_dl_catch_exception + fun:_dl_open + fun:do_dlopen + fun:_dl_catch_exception + fun:_dl_catch_error + fun:dlerror_run + fun:__libc_dlopen_mode +} diff --git a/help/test.sh b/help/test.sh index 636854b1..9ef98726 100644 --- a/help/test.sh +++ b/help/test.sh @@ -182,7 +182,7 @@ test_gw(){ if [ "$VALGRIND" == "NO_VALGRIND" ] then ./gwion "$GWOPT" -d "$DRIVER" "$file" > "$slog" 2>"$elog" |: else - "$VALGRIND" --suppressions=supp --log-file="$vlog" \ + "$VALGRIND" --suppressions=help/supp --log-file="$vlog" \ ./gwion "$GWOPT" -d "$DRIVER" "$file" > "$slog" 2>"$elog" |: fi ret=$? -- 2.43.0