summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/test_allocator.c (renamed from test/allocator_test.c)0
-rw-r--r--test/test_bitset.c (renamed from test/bitset_test.c)1
-rw-r--r--test/test_btree.c (renamed from test/btree_test.c)3
-rw-r--r--test/test_digest.c (renamed from test/digest_test.c)2
-rw-r--r--test/test_hash.c (renamed from test/hash_test.c)0
-rw-r--r--test/test_ring.c (renamed from test/ring_test.c)0
-rw-r--r--test/test_sem.c (renamed from test/sem_test.c)0
-rw-r--r--test/test_strerror.c (renamed from test/strerror_test.c)0
-rw-r--r--test/test_tree.c (renamed from test/tree_test.c)0
9 files changed, 5 insertions, 1 deletions
diff --git a/test/allocator_test.c b/test/test_allocator.c
index e146de6..e146de6 100644
--- a/test/allocator_test.c
+++ b/test/test_allocator.c
diff --git a/test/bitset_test.c b/test/test_bitset.c
index ef0528f..67f6567 100644
--- a/test/bitset_test.c
+++ b/test/test_bitset.c
@@ -6,6 +6,7 @@
#include "zix/bitset.h"
#include <assert.h>
+#include <stddef.h>
#define N_BITS 256U
#define N_ELEMS (ZIX_BITSET_ELEMS(N_BITS))
diff --git a/test/btree_test.c b/test/test_btree.c
index 878eef9..3820f56 100644
--- a/test/btree_test.c
+++ b/test/test_btree.c
@@ -8,13 +8,14 @@
#include "failing_allocator.h"
#include "test_data.h"
+#include "zix/allocator.h"
+#include "zix/attributes.h"
#include "zix/common.h"
#include <assert.h>
#include <inttypes.h>
#include <stdarg.h>
#include <stdbool.h>
-#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
diff --git a/test/digest_test.c b/test/test_digest.c
index c1a16a8..7e7e77a 100644
--- a/test/digest_test.c
+++ b/test/test_digest.c
@@ -3,10 +3,12 @@
#undef NDEBUG
+#include "zix/attributes.h"
#include "zix/digest.h"
#include <assert.h>
#include <stddef.h>
+#include <stdint.h>
// Just basic smoke tests to ensure the hash functions are reacting to data
diff --git a/test/hash_test.c b/test/test_hash.c
index 287dbaa..287dbaa 100644
--- a/test/hash_test.c
+++ b/test/test_hash.c
diff --git a/test/ring_test.c b/test/test_ring.c
index 79aa0f1..79aa0f1 100644
--- a/test/ring_test.c
+++ b/test/test_ring.c
diff --git a/test/sem_test.c b/test/test_sem.c
index 33859f1..33859f1 100644
--- a/test/sem_test.c
+++ b/test/test_sem.c
diff --git a/test/strerror_test.c b/test/test_strerror.c
index 2f4c090..2f4c090 100644
--- a/test/strerror_test.c
+++ b/test/test_strerror.c
diff --git a/test/tree_test.c b/test/test_tree.c
index 7c7fcf4..7c7fcf4 100644
--- a/test/tree_test.c
+++ b/test/test_tree.c