Hi This patch part is the change to Makefile for unit test integration. Signed-off-by: Jojy George Varghese <jvarghese@xxxxxxxxxxxxxxxxxx> thanks, -Jojy
From 476bab392dde4899098b07d5dc0692d966964ff1 Mon Sep 17 00:00:00 2001 From: Jojy George Varghese <jvarghese@xxxxxxxxxxxxxxxxxx> Date: Tue, 11 Oct 2011 23:47:10 -0700 Subject: [PATCH][ 3/3] makefile changes for interval tree Added unit test case for interval tree to the makefile template. Signed-off-by: Jojy George Varghese <jvarghese@xxxxxxxxxxxxxxxxxx> --- src/Makefile.am | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/src/Makefile.am b/src/Makefile.am index e1a7400..3b00c49 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -571,6 +571,11 @@ unittest_librgw_CXXFLAGS = ${CRYPTO_CFLAGS} ${AM_CXXFLAGS} ${UNITTEST_CXXFLAGS} check_PROGRAMS += unittest_librgw endif +unittest_interval_tree_SOURCES = test/TestIntervalTree.cc +unittest_interval_tree_LDADD = ${UNITTEST_LDADD} $(LIBGLOBAL_LDA) +unittest_interval_tree_CXXFLAGS = ${AM_CXXFLAGS} ${UNITTEST_CXXFLAGS} +check_PROGRAMS += unittest_interval_tree + test_librbd_SOURCES = test/test_librbd.cc test_librbd_LDADD = librbd.la librados.la ${UNITTEST_STATIC_LDADD} test_librbd_CXXFLAGS = ${AM_CXXFLAGS} ${UNITTEST_CXXFLAGS} -- 1.7.0.4