aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/headers/meson.build2
-rw-r--r--test/headers/test_headers.c3
-rw-r--r--test/test_string.c4
3 files changed, 5 insertions, 4 deletions
diff --git a/test/headers/meson.build b/test/headers/meson.build
index 6cb14f6e..bf8a2456 100644
--- a/test/headers/meson.build
+++ b/test/headers/meson.build
@@ -37,7 +37,7 @@ test(
'test_headers',
files('test_headers.c'),
c_args: header_c_suppressions,
- dependencies: serd_dep,
+ dependencies: [serd_dep, zix_dep],
),
suite: 'unit',
)
diff --git a/test/headers/test_headers.c b/test/headers/test_headers.c
index 62be0976..48b1814b 100644
--- a/test/headers/test_headers.c
+++ b/test/headers/test_headers.c
@@ -2,8 +2,9 @@
// SPDX-License-Identifier: ISC
#include "serd/serd.h" // IWYU pragma: keep
+#include "zix/attributes.h"
-SERD_CONST_FUNC int
+ZIX_CONST_FUNC int
main(void)
{
return 0;
diff --git a/test/test_string.c b/test/test_string.c
index 49106f0a..b551b9fe 100644
--- a/test/test_string.c
+++ b/test/test_string.c
@@ -3,10 +3,10 @@
#undef NDEBUG
-#include "serd/attributes.h"
#include "serd/node.h"
#include "serd/status.h"
#include "serd/string.h"
+#include "zix/attributes.h"
#include <assert.h>
#include <stdint.h>
@@ -38,7 +38,7 @@ test_strerror(void)
assert(!strcmp(msg, "Unknown error"));
}
-SERD_PURE_FUNC int
+ZIX_PURE_FUNC int
main(void)
{
test_strlen();