mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-01 22:58:50 -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
|
|
@ -63,6 +63,7 @@ static void test_abi(void)
|
|||
spa_assert(f.denom == 125);
|
||||
}
|
||||
|
||||
#if defined(__x86_64__)
|
||||
/* dict */
|
||||
spa_assert(sizeof(struct spa_dict_item) == 16);
|
||||
spa_assert(sizeof(struct spa_dict) == 16);
|
||||
|
|
@ -73,6 +74,7 @@ static void test_abi(void)
|
|||
|
||||
/* list */
|
||||
spa_assert(sizeof(struct spa_list) == 16);
|
||||
#endif
|
||||
|
||||
/* ringbuffer */
|
||||
spa_assert(sizeof(struct spa_ringbuffer) == 8);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue