From 86a947b9446b9b5d881d1a974cfe1bcde9d08f2f Mon Sep 17 00:00:00 2001 From: David Oberhollenzer Date: Sat, 2 Jul 2022 20:40:41 +0200 Subject: Cleanup: move test.h to libutil Signed-off-by: David Oberhollenzer --- tests/libutil/Makemodule.am | 4 ++-- tests/libutil/is_memory_zero.c | 2 +- tests/libutil/rbtree.c | 2 +- tests/libutil/str_table.c | 2 +- tests/libutil/threadpool.c | 2 +- tests/libutil/xxhash.c | 2 +- 6 files changed, 7 insertions(+), 7 deletions(-) (limited to 'tests/libutil') 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; -- cgit v1.2.3