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:
Wim Taymans 2020-01-15 13:23:49 +01:00
parent 1cedfade3a
commit 4e8d85da2f
7 changed files with 59 additions and 12 deletions

View file

@ -26,7 +26,11 @@
static void test_abi(void)
{
#if defined(__x86_64__)
spa_assert(sizeof(struct pw_properties) == 24);
#else
fprintf(stderr, "%zd\n", sizeof(struct pw_properties));
#endif
}
static void test_empty(void)