From 7ee3c177dc58dfc15dc7208a17c8756c99f61429 Mon Sep 17 00:00:00 2001 From: David Oberhollenzer Date: Fri, 4 Jun 2021 12:40:56 +0200 Subject: Add a test case for concatenated zstd streams Signed-off-by: David Oberhollenzer --- tests/libfstream/Makemodule.am | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'tests/libfstream/Makemodule.am') 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 -- cgit v1.2.3