Avoid ASAN test errors on crash report tests (#11605)

Clang Address Sanitizer tests started reporting unknown-crash on these
tests due to the memcheck, disable the memcheck to avoid that noise.
This commit is contained in:
Oran Agra 2022-12-11 18:20:42 +02:00 committed by GitHub
parent 20854cb610
commit b56bb72033
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -39,7 +39,7 @@ if {!$::valgrind} {
}
set server_path [tmpdir server1.log]
start_server [list overrides [list dir $server_path]] {
start_server [list overrides [list dir $server_path crash-memcheck-enabled no]] {
test "Crash report generated on SIGABRT" {
set pid [s process_id]
exec kill -SIGABRT $pid
@ -49,7 +49,7 @@ if {!$::valgrind} {
}
set server_path [tmpdir server2.log]
start_server [list overrides [list dir $server_path]] {
start_server [list overrides [list dir $server_path crash-memcheck-enabled no]] {
test "Crash report generated on DEBUG SEGFAULT" {
catch {r debug segfault}
set res [wait_for_log_messages 0 \"$crash_pattern\" 0 50 100]