mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-29 05:40:27 -04: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
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue