Skip to content

tests: Add test setup for valgrind

Matt Turner requested to merge mattst88/libshumate:suite-valgrind into main

valgrind is great, but it often does not support the latest instruction sets used by core libraries (e.g. AVX instructions used in glibc). That leads to failures that are unrelated to libshumate. For example:

  6/7 viewport            FAIL            0.16s   killed by signal 4 SIGILL
  [...]
  vex amd64->IR: unhandled instruction bytes: 0xC4 0xE1 0xF9 0x90 0xD 0xDE 0xE8 0x1 0x0 0x41
  vex amd64->IR:   REX=0 REX.W=1 REX.R=0 REX.X=0 REX.B=0
  vex amd64->IR:   VEX=1 VEX.L=0 VEX.nVVVV=0x0 ESC=0F
  vex amd64->IR:   PFX.66=1 PFX.F2=0 PFX.F3=0

Categorizing these tests under a valgrind setup allows distributions to easily disable them.

Edited by Matt Turner

Merge request reports