aboutsummaryrefslogtreecommitdiff
path: root/tests/libio
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/libio
parente6a19ba1a05f77f051187a6b1a828ee6d39ce052 (diff)
Cleanup: move test.h to libutil
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'tests/libio')
-rw-r--r--tests/libio/Makemodule.am16
-rw-r--r--tests/libio/get_line.c2
-rw-r--r--tests/libio/uncompress.c2
3 files changed, 10 insertions, 10 deletions
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)