summaryrefslogtreecommitdiffstats
path: root/tests
AgeCommit message (Collapse)AuthorFilesLines
2021-07-28tests: wpipc: use GCond instead of while loop to wait for eventsJulian Bouzas2-16/+24
Fixes hanging issues when running test with valgrind. Signed-off-by: George Kiagiadakis <george.kiagiadakis@collabora.com>
2021-07-28tests: wpipc: fix typo in sender-receiver unit testJulian Bouzas1-1/+1
Signed-off-by: George Kiagiadakis <george.kiagiadakis@collabora.com>
2021-07-28tests: fix coverity scan side effect in assertion issuesJulian Bouzas1-0/+1
Signed-off-by: George Kiagiadakis <george.kiagiadakis@collabora.com>
2021-07-28Revert "tests: enable G_SLICE=debug-blocks in all tests"George Kiagiadakis1-1/+0
This breaks the valgrind test setup, as this G_SLICE overrides G_SLICE=always-malloc from valgrind_env This reverts commit f806da6f3e30d032a5fff545211d80d64c197841. Signed-off-by: George Kiagiadakis <george.kiagiadakis@collabora.com>
2021-07-28tests: enable G_SLICE=debug-blocks in all testsGeorge Kiagiadakis1-0/+1
This can catch allocation mistakes in the g_slice allocator Signed-off-by: George Kiagiadakis <george.kiagiadakis@collabora.com>
2021-07-28meson: use environment() objects to define env for testsGeorge Kiagiadakis1-4/+4
it's just a nicer syntax Signed-off-by: George Kiagiadakis <george.kiagiadakis@collabora.com>
2021-07-28wpipc: place sockets in the same runtime directory as pipewireGeorge Kiagiadakis2-2/+2
Signed-off-by: George Kiagiadakis <george.kiagiadakis@collabora.com>
2021-07-28lib: add wpipc libraryJulian Bouzas4-0/+513
Simple library that uses sockets for inter-process communication. It provides an API to create server and client objects. Users can add custom handlers in the server, and clients can send requests for those custom handlers. Signed-off-by: George Kiagiadakis <george.kiagiadakis@collabora.com>