test: enable debug logging for the valgrind test

Valgrind tests are running under different conditions than normal tests,
specifically they all run in the same process rather than running one
fork per test. This means one test can affect another test's result if
the test doesn't clean up propertly.

This makes them harder to debug from the logs, so let's give us a
fighting chance by having debug logging enabled.
This commit is contained in:
Peter Hutterer 2021-10-12 09:22:31 +10:00
parent 12379a9a3c
commit ff85c2835f

View file

@ -109,7 +109,7 @@ test('test-spa',
valgrind = find_program('valgrind', required: false)
summary({'valgrind (test setup)': valgrind.found()}, bool_yn: true, section: 'Optional programs')
if valgrind.found()
valgrind_env = environment()
valgrind_env = environment({'PIPEWIRE_DEBUG': 'D'})
add_test_setup('valgrind',
exe_wrapper : [ valgrind,
'--leak-check=full',