aboutsummaryrefslogtreecommitdiff
path: root/tests/libutil
diff options
context:
space:
mode:
authorDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2022-07-02 20:40:41 +0200
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2022-07-08 19:17:35 +0200
commit86a947b9446b9b5d881d1a974cfe1bcde9d08f2f (patch)
tree808bfcb82223d4193f8e70b174065049aab1f67f /tests/libutil
parente6a19ba1a05f77f051187a6b1a828ee6d39ce052 (diff)
Cleanup: move test.h to libutil
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'tests/libutil')
-rw-r--r--tests/libutil/Makemodule.am4
-rw-r--r--tests/libutil/is_memory_zero.c2
-rw-r--r--tests/libutil/rbtree.c2
-rw-r--r--tests/libutil/str_table.c2
-rw-r--r--tests/libutil/threadpool.c2
-rw-r--r--tests/libutil/xxhash.c2
6 files changed, 7 insertions, 7 deletions
diff --git a/tests/libutil/Makemodule.am b/tests/libutil/Makemodule.am
index 557a65c..95fb8ab 100644
--- a/tests/libutil/Makemodule.am
+++ b/tests/libutil/Makemodule.am
@@ -1,8 +1,8 @@
-test_str_table_SOURCES = tests/libutil/str_table.c tests/test.h
+test_str_table_SOURCES = tests/libutil/str_table.c
test_str_table_LDADD = libutil.a libio.a libcompat.a
test_str_table_CPPFLAGS = $(AM_CPPFLAGS) -DTESTPATH=$(top_srcdir)/tests/libutil
-test_rbtree_SOURCES = tests/libutil/rbtree.c tests/test.h
+test_rbtree_SOURCES = tests/libutil/rbtree.c
test_rbtree_LDADD = libutil.a libcompat.a
test_xxhash_SOURCES = tests/libutil/xxhash.c
diff --git a/tests/libutil/is_memory_zero.c b/tests/libutil/is_memory_zero.c
index 967e2e8..f62b0bb 100644
--- a/tests/libutil/is_memory_zero.c
+++ b/tests/libutil/is_memory_zero.c
@@ -6,7 +6,7 @@
*/
#include "config.h"
-#include "../test.h"
+#include "util/test.h"
#include "util/util.h"
int main(int argc, char **argv)
diff --git a/tests/libutil/rbtree.c b/tests/libutil/rbtree.c
index d7b475a..ca01c0d 100644
--- a/tests/libutil/rbtree.c
+++ b/tests/libutil/rbtree.c
@@ -7,7 +7,7 @@
#include "config.h"
#include "util/rbtree.h"
-#include "../test.h"
+#include "util/test.h"
static int key_compare(const void *ctx, const void *a, const void *b)
{
diff --git a/tests/libutil/str_table.c b/tests/libutil/str_table.c
index 509594c..9424581 100644
--- a/tests/libutil/str_table.c
+++ b/tests/libutil/str_table.c
@@ -9,7 +9,7 @@
#include "util/str_table.h"
#include "io/file.h"
#include "compat.h"
-#include "../test.h"
+#include "util/test.h"
static char *strings[1000];
diff --git a/tests/libutil/threadpool.c b/tests/libutil/threadpool.c
index 4b07935..8d1bda5 100644
--- a/tests/libutil/threadpool.c
+++ b/tests/libutil/threadpool.c
@@ -7,7 +7,7 @@
#include "config.h"
#include "util/threadpool.h"
-#include "../test.h"
+#include "util/test.h"
#if defined(_WIN32) || defined(__WINDOWS__)
#define WIN32_LEAN_AND_MEAN
diff --git a/tests/libutil/xxhash.c b/tests/libutil/xxhash.c
index cccbb68..17374fd 100644
--- a/tests/libutil/xxhash.c
+++ b/tests/libutil/xxhash.c
@@ -7,7 +7,7 @@
#include "config.h"
#include "util/util.h"
-#include "../test.h"
+#include "util/test.h"
static const struct {
const char *plaintext;