diff --git a/DataFormats/FWLite/test/test.cppunit.cpp b/DataFormats/FWLite/test/test.cppunit.cpp index ecb62079b60c4..8cba240db8be0 100644 --- a/DataFormats/FWLite/test/test.cppunit.cpp +++ b/DataFormats/FWLite/test/test.cppunit.cpp @@ -55,6 +55,10 @@ class testRefInROOT: public CppUnit::TestFixture public: testRefInROOT() { } void setUp() { + if(!sWasRun_) { + AutoLibraryLoader::enable(); + sWasRun_ = true; + } tmpdir = "tmp/"; tmpdir += getenv("SCRAM_ARCH"); tmpdir += "/";