aboutsummaryrefslogtreecommitdiff
path: root/tests/libfstream/Makemodule.am
diff options
context:
space:
mode:
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