[Clam-devel] Problems compiling UnitTests

Ferran Orriols ferran.orriols at gmail.com
Tue Jul 15 04:39:07 PDT 2008


Hi Clam-devel,

I have detected a problem compiling the tests in CLAM. The problem is when
you execute scons in clam/CLAM/test. The first error is:

Tests/include -IUnitTests/include
UnitTests/XMLAdaptersTests/XercesDomWriterTest.cxx
UnitTests/XMLAdaptersTests/XercesDomWriterTest.cxx: In member function
'virtual void CLAM::Test::XercesDomWriterTest::setUp()':
UnitTests/XMLAdaptersTests/XercesDomWriterTest.cxx:49: error: 'X' was not
declared in this scope

I have solved the problem. Change the SConstruct in the following way:

write this two lines inside "blacklist = ["
os.path.join('XMLAdaptersTests','XercesDomWriterTest.cxx'),
os.path.join('XMLAdaptersTests','XercesDomReadingContextTest.cxx'),

Thanks.

-- 
Ferran Orriols
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.clam-project.org/pipermail/clam-devel-clam-project.org/attachments/20080715/a8e15cf0/attachment-0002.htm>


More information about the clam-devel mailing list