mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 13:45:38 +00:00
Ignore bash bugs under valgrind
This commit is contained in:
parent
212472b813
commit
45008e03ec
@ -1,3 +1,8 @@
|
||||
Mon Apr 28 09:32:22 EST 2008 Daniel P. Berrange <berrange@redhat.com>
|
||||
|
||||
* tests/.valgrind.supp, tests/Makefile.am: Ignore bash bugs when
|
||||
running valgrind
|
||||
|
||||
Mon Apr 28 11:08:58 CEST 2008 Jim Meyering <meyering@redhat.com>
|
||||
|
||||
avoid format-related warnings
|
||||
|
44
tests/.valgrind.supp
Normal file
44
tests/.valgrind.supp
Normal file
@ -0,0 +1,44 @@
|
||||
{
|
||||
bashMemoryLeak1
|
||||
Memcheck:Leak
|
||||
fun:malloc
|
||||
fun:xmalloc
|
||||
fun:set_signal
|
||||
fun:trap_builtin
|
||||
obj:/bin/bash
|
||||
obj:/bin/bash
|
||||
fun:execute_command_internal
|
||||
fun:parse_and_execute
|
||||
obj:/bin/bash
|
||||
fun:source_file
|
||||
fun:source_builtin
|
||||
obj:/bin/bash
|
||||
}
|
||||
{
|
||||
bashMemoryLeak2
|
||||
Memcheck:Leak
|
||||
fun:malloc
|
||||
fun:xmalloc
|
||||
fun:make_command
|
||||
fun:yyparse
|
||||
fun:parse_command
|
||||
fun:read_command
|
||||
fun:reader_loop
|
||||
fun:main
|
||||
}
|
||||
{
|
||||
bashMemoryLeak3
|
||||
Memcheck:Leak
|
||||
fun:malloc
|
||||
fun:xmalloc
|
||||
obj:/bin/bash
|
||||
fun:execute_command_internal
|
||||
obj:/bin/bash
|
||||
fun:execute_command_internal
|
||||
fun:execute_command_internal
|
||||
obj:/bin/bash
|
||||
obj:/bin/bash
|
||||
fun:execute_command_internal
|
||||
fun:parse_and_execute
|
||||
fun:command_substitute
|
||||
}
|
@ -73,7 +73,7 @@ TESTS_ENVIRONMENT = \
|
||||
$(VG)
|
||||
|
||||
valgrind:
|
||||
$(MAKE) check VG="valgrind --quiet --leak-check=full"
|
||||
$(MAKE) check VG="valgrind --quiet --leak-check=full --suppressions=$(srcdir)/.valgrind.supp"
|
||||
|
||||
# Note: xmlrpc.[c|h] is not in libvirt yet
|
||||
xmlrpctest_SOURCES = \
|
||||
|
Loading…
Reference in New Issue
Block a user