From: František Dvořák Date: Wed, 3 Sep 2008 14:42:07 +0000 (+0000) Subject: Work around the need for symlinks {glite,lb} -> . (make check before staging) X-Git-Tag: myproxy-config-R_2_0_2_1~41 X-Git-Url: http://scientific.zcu.cz/git/?a=commitdiff_plain;h=375b70f37c204f6d7751eea480cba37f083d26a6;p=jra1mw.git Work around the need for symlinks {glite,lb} -> . (make check before staging) --- diff --git a/org.glite.lb.common/test/il_int_test.cpp b/org.glite.lb.common/test/il_int_test.cpp index 9da319c..f547019 100644 --- a/org.glite.lb.common/test/il_int_test.cpp +++ b/org.glite.lb.common/test/il_int_test.cpp @@ -2,7 +2,11 @@ extern "C" { +#ifdef BUILDING_LB_COMMON +#include "il_string.h" +#else #include "glite/lb/il_string.h" +#endif } class IlIntTest: public CppUnit::TestFixture diff --git a/org.glite.lb.common/test/il_msg_test.cpp b/org.glite.lb.common/test/il_msg_test.cpp index 6ae5cb0..da81962 100644 --- a/org.glite.lb.common/test/il_msg_test.cpp +++ b/org.glite.lb.common/test/il_msg_test.cpp @@ -3,8 +3,13 @@ extern "C" { #include +#ifdef BUILDING_LB_COMMON +#include "il_string.h" +#include "il_msg.h" +#else #include "glite/lb/il_string.h" #include "glite/lb/il_msg.h" +#endif } class IlMsgTest : public CppUnit::TestFixture diff --git a/org.glite.lb.common/test/il_string_test.cpp b/org.glite.lb.common/test/il_string_test.cpp index e1217f5..8a11841 100644 --- a/org.glite.lb.common/test/il_string_test.cpp +++ b/org.glite.lb.common/test/il_string_test.cpp @@ -2,7 +2,11 @@ extern "C" { #include +#ifdef BUILDING_LB_COMMON +#include "il_string.h" +#else #include "glite/lb/il_string.h" +#endif } class IlStringTest : public CppUnit::TestFixture diff --git a/org.glite.lb.common/test/parse.cpp.T b/org.glite.lb.common/test/parse.cpp.T index 3a9620c..e5cd14a 100644 --- a/org.glite.lb.common/test/parse.cpp.T +++ b/org.glite.lb.common/test/parse.cpp.T @@ -3,8 +3,11 @@ #include #include - +#ifdef BUILDING_LB_COMMON +#include "events_parse.h" +#else #include "glite/lb/events_parse.h" +#endif class EventParseTest: public CppUnit::TestFixture {