tests: add valgrind supression for gbm bug

macos/master
Dave Airlie 10 years ago
parent ea204d561e
commit 681480f204
  1. 3
      tests/Makefile.am
  2. 28
      tests/valgrind.suppressions

@ -16,7 +16,8 @@ test_virgl_init_LDFLAGS = -no-install
if HAVE_VALGRIND if HAVE_VALGRIND
VALGRIND_FLAGS=--leak-check=full \ VALGRIND_FLAGS=--leak-check=full \
--quiet \ --quiet \
--error-exitcode=3 --error-exitcode=3 \
--suppressions=$(srcdir)/valgrind.suppressions
valgrind: valgrind:
$(MAKE) check-TESTS LOG_COMPILER="$(VALGRIND)" LOG_FLAGS="$(VALGRIND_FLAGS)" CK_FORK=no $(MAKE) check-TESTS LOG_COMPILER="$(VALGRIND)" LOG_FLAGS="$(VALGRIND_FLAGS)" CK_FORK=no

@ -0,0 +1,28 @@
{
srunner_run::timer_create-uninitialized-bytes
Memcheck:Param
timer_create(evp)
fun:timer_create@@GLIBC_2.3.3
fun:srunner_run
fun:litest_run
fun:main
}
{
eglleak
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
obj:*
obj:*
obj:*
obj:*
obj:*
fun:dri_screen_create_dri2
fun:dri_device_create
fun:_gbm_create_device
fun:gbm_create_device
fun:virgl_egl_init
fun:virgl_renderer_init
}
Loading…
Cancel
Save