summaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
authorRonny Chevalier <chevalier.ronny@gmail.com>2014-06-24 20:42:29 +0200
committerTom Gundersen <teg@jklm.no>2014-06-25 02:04:42 +0200
commit843fecc076c8a58cda13e51362d145f7452db0e9 (patch)
treef0c38fdc64a581ff19dde4498895978587f6eb26 /Makefile.am
parentd171ed1c50ba64928b7fb30ee2ae729fdfe0826b (diff)
tests: add test-compress
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am13
1 files changed, 13 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
index bc56d7500d..4b292b2105 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -3509,6 +3509,15 @@ test_catalog_CPPFLAGS = \
test_catalog_LDADD = \
libsystemd-journal-core.la
+if HAVE_XZ
+test_compress_SOURCES = \
+ src/journal/test-compress.c
+
+test_compress_LDADD = \
+ libsystemd-journal-internal.la \
+ libsystemd-shared.la
+endif
+
libsystemd_journal_core_la_SOURCES = \
src/journal/journald-kmsg.c \
src/journal/journald-kmsg.h \
@@ -3591,6 +3600,10 @@ tests += \
test-mmap-cache \
test-catalog
+if HAVE_XZ
+tests += test-compress
+endif
+
pkginclude_HEADERS += \
src/systemd/sd-journal.h \
src/systemd/sd-messages.h \