From 843fecc076c8a58cda13e51362d145f7452db0e9 Mon Sep 17 00:00:00 2001 From: Ronny Chevalier Date: Tue, 24 Jun 2014 20:42:29 +0200 Subject: tests: add test-compress --- Makefile.am | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'Makefile.am') 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 \ -- cgit v1.2.3-54-g00ecf