summaryrefslogtreecommitdiff
path: root/tests/libfstream/Makemodule.am
diff options
context:
space:
mode:
authorDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2021-06-04 12:28:26 +0200
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2021-06-04 12:41:16 +0200
commitc1bda682fe831eab6e951e28fb4d9a0757231b55 (patch)
tree3bdbd31543732c979865b279ccb9d1ef78495816 /tests/libfstream/Makemodule.am
parentabcdc94c9939d6b085e2b76f76817df9be5fe2cc (diff)
Add test case for Bzip2 stream concatenation, fix XZ test case
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'tests/libfstream/Makemodule.am')
-rw-r--r--tests/libfstream/Makemodule.am11
1 files changed, 8 insertions, 3 deletions
diff --git a/tests/libfstream/Makemodule.am b/tests/libfstream/Makemodule.am
index c3af095..caf339f 100644
--- a/tests/libfstream/Makemodule.am
+++ b/tests/libfstream/Makemodule.am
@@ -8,6 +8,11 @@ test_xfrm_bzip2_LDADD = libfstream.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/libfstream/uncompress.c tests/test.h
+test_xfrm_bzip22_LDADD = libfstream.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/libfstream/uncompress.c tests/test.h
test_xfrm_xz_LDADD = libfstream.a libcompat.a $(BZIP2_LIBS) $(ZLIB_LIBS)
test_xfrm_xz_LDADD += $(XZ_LIBS) $(ZSTD_LIBS)
@@ -16,7 +21,7 @@ test_xfrm_xz_CPPFLAGS = $(AM_CPPFLAGS) -DTEST_XZ=1
test_xfrm_xz2_SOURCES = tests/libfstream/uncompress.c tests/test.h
test_xfrm_xz2_LDADD = libfstream.a libcompat.a $(BZIP2_LIBS) $(ZLIB_LIBS)
test_xfrm_xz2_LDADD += $(XZ_LIBS) $(ZSTD_LIBS)
-test_xfrm_xz2_CPPFLAGS = $(AM_CPPFLAGS) -DTEST_XZ=2
+test_xfrm_xz2_CPPFLAGS = $(AM_CPPFLAGS) -DTEST_XZ2=1
test_xfrm_gzip_SOURCES = tests/libfstream/uncompress.c tests/test.h
test_xfrm_gzip_LDADD = libfstream.a libcompat.a $(BZIP2_LIBS) $(ZLIB_LIBS)
@@ -40,8 +45,8 @@ check_PROGRAMS += test_get_line
TESTS += test_get_line
if WITH_BZIP2
-check_PROGRAMS += test_xfrm_bzip2
-TESTS += test_xfrm_bzip2
+check_PROGRAMS += test_xfrm_bzip2 test_xfrm_bzip22
+TESTS += test_xfrm_bzip2 test_xfrm_bzip22
endif
if WITH_XZ