From 22e73ce31cda7bb1dcc49b0347679d4bd14385f1 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Franti=C5=A1ek=20Dvo=C5=99=C3=A1k?= Date: Thu, 23 Oct 2008 14:11:35 +0000 Subject: [PATCH] Better fix of make dependencies, forgotten initialization. --- org.glite.lb.common/Makefile | 2 +- org.glite.lb.common/test/test_main.cpp | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/org.glite.lb.common/Makefile b/org.glite.lb.common/Makefile index d55c727..ea74ab3 100644 --- a/org.glite.lb.common/Makefile +++ b/org.glite.lb.common/Makefile @@ -233,7 +233,7 @@ clean: %.o: %.c ${COMPILE} ${CFLAGS} -c $< -il_int_test.o il_string_test.o il_test.o il_msg_test.o parse.o: %.o: %.cpp +il_int_test.o il_string_test.o il_test.o il_msg_test.o parse.o: %.o: %.cpp test_main.cpp ${CXX} -c ${CFLAGS} ${TEST_INC} $< %.thr.o: %.c diff --git a/org.glite.lb.common/test/test_main.cpp b/org.glite.lb.common/test/test_main.cpp index 43ebc57..1caa44e 100644 --- a/org.glite.lb.common/test/test_main.cpp +++ b/org.glite.lb.common/test/test_main.cpp @@ -12,6 +12,8 @@ int main (int argc,const char *argv[]) { + edg_wll_initConnections(); + CppUnit::Test *suite = CppUnit::TestFactoryRegistry::getRegistry().makeTest(); assert(argc == 2); @@ -30,6 +32,7 @@ int main (int argc,const char *argv[]) xout.write(); tout.write(); + // for leak hunting edg_wll_poolFree(); return result.wasSuccessful() ? 0 : 1 ; -- 1.8.2.3