From 375b70f37c204f6d7751eea480cba37f083d26a6 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Franti=C5=A1ek=20Dvo=C5=99=C3=A1k?= Date: Wed, 3 Sep 2008 14:42:07 +0000 Subject: [PATCH] Work around the need for symlinks {glite,lb} -> . (make check before staging) --- org.glite.lb.common/test/il_int_test.cpp | 4 ++++ org.glite.lb.common/test/il_msg_test.cpp | 5 +++++ org.glite.lb.common/test/il_string_test.cpp | 4 ++++ org.glite.lb.common/test/parse.cpp.T | 5 ++++- 4 files changed, 17 insertions(+), 1 deletion(-) 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 { -- 1.8.2.3