summaryrefslogtreecommitdiff
path: root/tests/libfstream/Makemodule.am
diff options
context:
space:
mode:
authorDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2021-06-04 12:40:56 +0200
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2021-06-04 12:41:22 +0200
commit7ee3c177dc58dfc15dc7208a17c8756c99f61429 (patch)
tree649568d6c9d28781685564c563d702f9a2756b83 /tests/libfstream/Makemodule.am
parentc1bda682fe831eab6e951e28fb4d9a0757231b55 (diff)
Add a test case for concatenated zstd streams
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'tests/libfstream/Makemodule.am')
-rw-r--r--tests/libfstream/Makemodule.am9
1 files changed, 7 insertions, 2 deletions
diff --git a/tests/libfstream/Makemodule.am b/tests/libfstream/Makemodule.am
index caf339f..65abfc7 100644
--- a/tests/libfstream/Makemodule.am
+++ b/tests/libfstream/Makemodule.am
@@ -33,6 +33,11 @@ test_xfrm_zstd_LDADD = libfstream.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/libfstream/uncompress.c tests/test.h
+test_xfrm_zstd2_LDADD = libfstream.a libcompat.a $(BZIP2_LIBS) $(ZLIB_LIBS)
+test_xfrm_zstd2_LDADD += $(XZ_LIBS) $(ZSTD_LIBS)
+test_xfrm_zstd2_CPPFLAGS = $(AM_CPPFLAGS) -DTEST_ZSTD2=1
+
if WITH_OWN_ZLIB
test_xfrm_bzip2_LDADD += libz.la
test_xfrm_xz_LDADD += libz.la
@@ -61,8 +66,8 @@ endif
if WITH_ZSTD
if HAVE_ZSTD_STREAM
-check_PROGRAMS += test_xfrm_zstd
-TESTS += test_xfrm_zstd
+check_PROGRAMS += test_xfrm_zstd test_xfrm_zstd2
+TESTS += test_xfrm_zstd test_xfrm_zstd2
endif
endif
endif