adding libAliHLTGlobal to unit test
authorrichterm <richterm@f7af4fe6-9843-0410-8265-dc069ae4e863>
Sun, 8 Nov 2009 11:55:10 +0000 (11:55 +0000)
committerrichterm <richterm@f7af4fe6-9843-0410-8265-dc069ae4e863>
Sun, 8 Nov 2009 11:55:10 +0000 (11:55 +0000)
HLT/BASE/interface/test/testAliHLTExternalInterface.C

index 996362c..cfa4c20 100644 (file)
@@ -241,6 +241,18 @@ int main(int /*argc*/, const char** /*argv*/)
   }
 #endif //HLT_RCU
 
+#ifdef HLT_GLOBAL
+  module="Global";
+  libraryPath="../../../";
+  libraryPath+="global";
+  libraryPath+="/.libs/libAliHLT";
+  libraryPath+=module;
+  libraryPath+=".so";
+  if ((iResult=fctLoadLibrary(libraryPath.c_str()))<0) {
+    return iResult;
+  }
+#endif //HLT_GLOBAL
+
   libraryPath=".libs/libAliHLTTest.so";
   if ((iResult=fctLoadLibrary(libraryPath.c_str()))<0) {
     return iResult;