mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-12-16 08:56:45 -05:00
pwtest: use default debug level 4 for spawned daemons
This commit is contained in:
parent
a7bd52d07d
commit
ad3c90dbb9
1 changed files with 3 additions and 0 deletions
|
|
@ -684,8 +684,11 @@ static pid_t start_pwdaemon(struct pwtest_test *t, int stderr_fd, int log_fd)
|
||||||
setpgid(0, 0);
|
setpgid(0, 0);
|
||||||
|
|
||||||
setenv("PIPEWIRE_CORE", pw_remote, 1);
|
setenv("PIPEWIRE_CORE", pw_remote, 1);
|
||||||
|
setenv("PIPEWIRE_DEBUG", "4", 0);
|
||||||
|
setenv("WIREPLUMBER_DEBUG", "4", 0);
|
||||||
|
|
||||||
dup2(stderr_fd, STDERR_FILENO);
|
dup2(stderr_fd, STDERR_FILENO);
|
||||||
|
dup2(stderr_fd, STDOUT_FILENO);
|
||||||
setlinebuf(stderr);
|
setlinebuf(stderr);
|
||||||
execl(daemon, daemon, (char*)NULL);
|
execl(daemon, daemon, (char*)NULL);
|
||||||
return -errno;
|
return -errno;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue