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/libio/Makemodule.am | 16 ++++++++-------- tests/libio/get_line.c | 2 +- tests/libio/uncompress.c | 2 +- 3 files changed, 10 insertions(+), 10 deletions(-) (limited to 'tests/libio') diff --git a/tests/libio/Makemodule.am b/tests/libio/Makemodule.am index 86f2e3a..df2e9d3 100644 --- a/tests/libio/Makemodule.am +++ b/tests/libio/Makemodule.am @@ -1,39 +1,39 @@ -test_get_line_SOURCES = tests/libio/get_line.c tests/test.h +test_get_line_SOURCES = tests/libio/get_line.c test_get_line_LDADD = libio.a libcompat.a test_get_line_CPPFLAGS = $(AM_CPPFLAGS) test_get_line_CPPFLAGS += -DTESTFILE=$(top_srcdir)/tests/libio/get_line.txt -test_xfrm_bzip2_SOURCES = tests/libio/uncompress.c tests/test.h +test_xfrm_bzip2_SOURCES = tests/libio/uncompress.c test_xfrm_bzip2_LDADD = libio.a libcompat.a $(BZIP2_LIBS) $(ZLIB_LIBS) test_xfrm_bzip2_LDADD += $(XZ_LIBS) $(ZSTD_LIBS) test_xfrm_bzip2_CPPFLAGS = $(AM_CPPFLAGS) -DTEST_BZIP2=1 -test_xfrm_bzip22_SOURCES = tests/libio/uncompress.c tests/test.h +test_xfrm_bzip22_SOURCES = tests/libio/uncompress.c test_xfrm_bzip22_LDADD = libio.a libcompat.a $(BZIP2_LIBS) $(ZLIB_LIBS) test_xfrm_bzip22_LDADD += $(XZ_LIBS) $(ZSTD_LIBS) test_xfrm_bzip22_CPPFLAGS = $(AM_CPPFLAGS) -DTEST_BZIP22=1 -test_xfrm_xz_SOURCES = tests/libio/uncompress.c tests/test.h +test_xfrm_xz_SOURCES = tests/libio/uncompress.c test_xfrm_xz_LDADD = libio.a libcompat.a $(BZIP2_LIBS) $(ZLIB_LIBS) test_xfrm_xz_LDADD += $(XZ_LIBS) $(ZSTD_LIBS) test_xfrm_xz_CPPFLAGS = $(AM_CPPFLAGS) -DTEST_XZ=1 -test_xfrm_xz2_SOURCES = tests/libio/uncompress.c tests/test.h +test_xfrm_xz2_SOURCES = tests/libio/uncompress.c test_xfrm_xz2_LDADD = libio.a libcompat.a $(BZIP2_LIBS) $(ZLIB_LIBS) test_xfrm_xz2_LDADD += $(XZ_LIBS) $(ZSTD_LIBS) test_xfrm_xz2_CPPFLAGS = $(AM_CPPFLAGS) -DTEST_XZ2=1 -test_xfrm_gzip_SOURCES = tests/libio/uncompress.c tests/test.h +test_xfrm_gzip_SOURCES = tests/libio/uncompress.c test_xfrm_gzip_LDADD = libio.a libcompat.a $(BZIP2_LIBS) $(ZLIB_LIBS) test_xfrm_gzip_LDADD += $(XZ_LIBS) $(ZSTD_LIBS) test_xfrm_gzip_CPPFLAGS = $(AM_CPPFLAGS) -DTEST_GZIP=1 -test_xfrm_zstd_SOURCES = tests/libio/uncompress.c tests/test.h +test_xfrm_zstd_SOURCES = tests/libio/uncompress.c test_xfrm_zstd_LDADD = libio.a libcompat.a $(BZIP2_LIBS) $(ZLIB_LIBS) test_xfrm_zstd_LDADD += $(XZ_LIBS) $(ZSTD_LIBS) test_xfrm_zstd_CPPFLAGS = $(AM_CPPFLAGS) -DTEST_ZSTD=1 -test_xfrm_zstd2_SOURCES = tests/libio/uncompress.c tests/test.h +test_xfrm_zstd2_SOURCES = tests/libio/uncompress.c test_xfrm_zstd2_LDADD = libio.a libcompat.a $(BZIP2_LIBS) $(ZLIB_LIBS) test_xfrm_zstd2_LDADD += $(XZ_LIBS) $(ZSTD_LIBS) test_xfrm_zstd2_CPPFLAGS = $(AM_CPPFLAGS) -DTEST_ZSTD2=1 diff --git a/tests/libio/get_line.c b/tests/libio/get_line.c index 66fced5..eec53f4 100644 --- a/tests/libio/get_line.c +++ b/tests/libio/get_line.c @@ -7,7 +7,7 @@ #include "config.h" #include "io/file.h" -#include "../test.h" +#include "util/test.h" typedef struct { size_t line_num; diff --git a/tests/libio/uncompress.c b/tests/libio/uncompress.c index 9476877..0b877d8 100644 --- a/tests/libio/uncompress.c +++ b/tests/libio/uncompress.c @@ -6,7 +6,7 @@ */ #include "io/istream.h" #include "io/xfrm.h" -#include "../test.h" +#include "util/test.h" static sqfs_u8 data_in[] = { #if defined(TEST_BZIP2) -- cgit v1.2.3