From 3dbda2dda2268f5cb213b18d4e42a889d52c16ec Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Thu, 17 Oct 2013 00:19:22 +0200 Subject: test/test_archive: unit test for archive_lookup() --- Makefile.am | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'Makefile.am') diff --git a/Makefile.am b/Makefile.am index e37d49f15..569f66d18 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1033,6 +1033,10 @@ C_TESTS = \ test/test_pcm \ test/test_queue_priority +if ENABLE_ARCHIVE +C_TESTS += test/test_archive +endif + TESTS = $(C_TESTS) noinst_PROGRAMS = \ @@ -1435,6 +1439,16 @@ test_test_pcm_LDADD = \ $(CPPUNIT_LIBS) \ $(GLIB_LIBS) +test_test_archive_SOURCES = \ + src/Log.cxx \ + test/test_archive.cxx +test_test_archive_CPPFLAGS = $(AM_CPPFLAGS) $(CPPUNIT_CFLAGS) -DCPPUNIT_HAVE_RTTI=0 +test_test_archive_CXXFLAGS = $(AM_CXXFLAGS) -Wno-error=deprecated-declarations +test_test_archive_LDADD = \ + libarchive.a \ + $(GLIB_LIBS) \ + $(CPPUNIT_LIBS) + test_test_queue_priority_SOURCES = \ src/Queue.cxx \ test/test_queue_priority.cxx -- cgit v1.2.3