Work around the need for symlinks {glite,lb} -> . (make check before staging)
authorFrantišek Dvořák <valtri@civ.zcu.cz>
Wed, 3 Sep 2008 14:42:07 +0000 (14:42 +0000)
committerFrantišek Dvořák <valtri@civ.zcu.cz>
Wed, 3 Sep 2008 14:42:07 +0000 (14:42 +0000)
org.glite.lb.common/test/il_int_test.cpp
org.glite.lb.common/test/il_msg_test.cpp
org.glite.lb.common/test/il_string_test.cpp
org.glite.lb.common/test/parse.cpp.T

index 9da319c..f547019 100644 (file)
@@ -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
index 6ae5cb0..da81962 100644 (file)
@@ -3,8 +3,13 @@
 
 extern "C" {
 #include <string.h>
+#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 
index e1217f5..8a11841 100644 (file)
@@ -2,7 +2,11 @@
 
 extern "C" {
 #include <string.h>
+#ifdef BUILDING_LB_COMMON
+#include "il_string.h"
+#else
 #include "glite/lb/il_string.h"
+#endif
 }
 
 class IlStringTest : public CppUnit::TestFixture 
index 3a9620c..e5cd14a 100644 (file)
@@ -3,8 +3,11 @@
 #include <cppunit/extensions/HelperMacros.h>
 #include <cppunit/TestFixture.h>
 
-
+#ifdef BUILDING_LB_COMMON
+#include "events_parse.h"
+#else
 #include "glite/lb/events_parse.h"
+#endif
 
 class EventParseTest: public  CppUnit::TestFixture
 {