mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-29 05:40:27 -04:00
parent
b97dd00f26
commit
7da9c2b25d
3 changed files with 25 additions and 12 deletions
|
|
@ -182,7 +182,9 @@ PWTEST(daemon_test)
|
|||
core = pw_context_connect(ctx, NULL, 0);
|
||||
pwtest_ptr_notnull(core);
|
||||
|
||||
pw_loop_enter(loop);
|
||||
pw_loop_iterate(loop, -1);
|
||||
pw_loop_leave(loop);
|
||||
pw_core_disconnect(core);
|
||||
pw_context_destroy(ctx);
|
||||
pw_loop_destroy(loop);
|
||||
|
|
@ -205,7 +207,9 @@ PWTEST(daemon_test_without_daemon)
|
|||
|
||||
pwtest_ptr_notnull(core); /* Expect this to fail because we don't have a daemon */
|
||||
|
||||
pw_loop_enter(loop);
|
||||
pw_loop_iterate(loop, -1);
|
||||
pw_loop_leave(loop);
|
||||
pw_core_disconnect(core);
|
||||
pw_context_destroy(ctx);
|
||||
pw_loop_destroy(loop);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue