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 9303a8a..d943686 100644
--- a/tests/libfstream/Makemodule.am
+++ b/tests/libfstream/Makemodule.am
@@ -13,6 +13,11 @@ test_xfrm_xz_LDADD = libfstream.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/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_gzip_SOURCES = tests/libfstream/uncompress.c tests/test.h
test_xfrm_gzip_LDADD = libfstream.a libcompat.a $(BZIP2_LIBS) $(ZLIB_LIBS)
test_xfrm_gzip_LDADD += $(XZ_LIBS) $(ZSTD_LIBS)
@@ -40,8 +45,8 @@ TESTS += test_xfrm_bzip2
endif
if WITH_XZ
-check_PROGRAMS += test_xfrm_xz
-TESTS += test_xfrm_xz
+check_PROGRAMS += test_xfrm_xz test_xfrm_xz2
+TESTS += test_xfrm_xz test_xfrm_xz2
endif
if WITH_GZIP