mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-29 05:40:27 -04:00
test: fix test library path and fix test-functional with ASAN
Set LD_LIBRARY_PATH to have processes spawned by test load the right library. Mark openal-info test skipped if ASAN is enabled. The problem is that openal-info would need LD_PRELOAD to work properly then. Just disable the test then.
This commit is contained in:
parent
58d86cfb5f
commit
02aee17cc3
3 changed files with 13 additions and 1 deletions
|
|
@ -788,6 +788,7 @@ static void set_test_env(struct pwtest_context *ctx, struct pwtest_test *t)
|
|||
replace_env(t, "ACP_PROFILES_DIR", SOURCE_ROOT "/spa/plugins/alsa/mixer/profile-sets");
|
||||
replace_env(t, "PIPEWIRE_LOG_SYSTEMD", "false");
|
||||
replace_env(t, "PWTEST_DATA_DIR", SOURCE_ROOT "/test/data");
|
||||
replace_env(t, "LD_LIBRARY_PATH", BUILD_ROOT "/src/pipewire:" BUILD_ROOT "pipewire-jack/src");
|
||||
}
|
||||
|
||||
static void close_pipes(int fds[_FD_LAST])
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue