From ff85c2835f6649fad106b4895f3569ae2a5484e5 Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Tue, 12 Oct 2021 09:22:31 +1000 Subject: [PATCH] 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. --- test/meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/meson.build b/test/meson.build index 156103210..87e211431 100644 --- a/test/meson.build +++ b/test/meson.build @@ -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',