summaryrefslogtreecommitdiffstats
path: root/tests
AgeCommit message (Collapse)AuthorFilesLines
2021-07-28lib: remove dependency on spa_pod and spa in generalGeorge Kiagiadakis2-32/+71
Replace spa_pod with a custom icipc_data structure, which is based on spa_pod and it's fully compatible with it Signed-off-by: George Kiagiadakis <george.kiagiadakis@collabora.com>
2021-07-28style: convert code to systemd coding styleGeorge Kiagiadakis3-442/+455
https://systemd.io/CODING_STYLE/ Signed-off-by: George Kiagiadakis <george.kiagiadakis@collabora.com>
2021-07-28tests: port away from glibGeorge Kiagiadakis5-172/+352
Use a heavily stripped-down copy of pipewire's test framework instead Signed-off-by: George Kiagiadakis <george.kiagiadakis@collabora.com>
2021-07-28icipc: make everything build again after splitting it out of wireplumberGeorge Kiagiadakis3-3/+3
Signed-off-by: George Kiagiadakis <george.kiagiadakis@collabora.com>
2021-07-28tests: create wpipc tests sockets also in /tmp with a random nameGeorge Kiagiadakis2-17/+31
See #39, #16 Signed-off-by: George Kiagiadakis <george.kiagiadakis@collabora.com>
2021-07-28tests: wpipc: check if new connection to new receiver is valid after losing ↵Julian Bouzas1-0/+12
connection Signed-off-by: George Kiagiadakis <george.kiagiadakis@collabora.com>
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>