mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-31 22:25:38 -04:00
Fix some unit test
Run abi checks only on x86_64 until we have sizes for more archs Don't start a daemon in the tests because that would require XDG_RUNTIME_DIR set
This commit is contained in:
parent
1cedfade3a
commit
4e8d85da2f
7 changed files with 59 additions and 12 deletions
|
|
@ -35,6 +35,7 @@
|
|||
static void test_abi(void)
|
||||
{
|
||||
/* pod */
|
||||
#if defined(__x86_64__)
|
||||
spa_assert(sizeof(struct spa_pod) == 8);
|
||||
spa_assert(sizeof(struct spa_pod_bool) == 16);
|
||||
spa_assert(sizeof(struct spa_pod_id) == 16);
|
||||
|
|
@ -85,6 +86,7 @@ static void test_abi(void)
|
|||
/* parser */
|
||||
spa_assert(sizeof(struct spa_pod_parser_state) == 16);
|
||||
spa_assert(sizeof(struct spa_pod_parser) == 32);
|
||||
#endif
|
||||
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue