mirror of
https://gitlab.freedesktop.org/pipewire/pipewire
synced 2024-10-14 20:02:38 +00:00
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:
parent
12379a9a3c
commit
ff85c2835f
|
@ -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',
|
||||
|
|
Loading…
Reference in a new issue