Skip to content

Commit

Permalink
Improve CTest
Browse files Browse the repository at this point in the history
* Affects build only, not runtime
  • Loading branch information
dberzano committed Dec 9, 2016
1 parent 41457b9 commit 365a32b
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions test/load_library/LoadLib.C
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,13 @@ Int_t LoadLib(const TString &libName)
libName.Contains("TPHIC"))
gSystem->Load("libpythia6");

if (libName.Contains("MONITOR") ||
libName.Contains("Eve") ||
libName.Contains("HLT") ||
libName.Contains("ConverterCollada")) {
// Might load system-installed libraries (e.g. libdim.so)
gSystem->AddDynamicPath("/lib:/lib64:/usr/lib:/usr/lib64:/usr/local/lib:/usr/local/lib64:/usr/lib/x86_64-linux-gnu");
}

return gSystem->Load(libName);
}

0 comments on commit 365a32b

Please sign in to comment.