[Clam-devel] Problems compiling UnitTests
Ferran Orriols
ferran.orriols at gmail.com
Wed Jul 16 07:03:03 PDT 2008
I have changed the X by an U and it works :-). With this changes you don't
need to change the SConstruct.
I have attached the patch with this changes and another with a new file
called INSTALL with some instructions if you want to compile the test.
Ferran,
2008/7/15 David García Garzón <dgarcia at iua.upf.edu>:
Just change the X by an U. I forgot to update the tests for some changes i
> did
> on the xml for unicode.
>
> That error was to be detected by test farm but testfarm in linux is not
> working since June. Pau, can you wake it up.
>
> Also testfarm in windows is broken due to wine problems i was unable to
> solve
> last week. Wine is resetting the PATH settings once and again so it cannot
> find the pkg-config and any dll. I'll try to solve it now but i don't have
> any clue on how.
>
> David.
>
>
>
> On Dimarts 15 Juliol 2008, Ferran Orriols wrote:
> > 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.
>
>
>
> --
> David García Garzón
> (Work) dgarcia at iua dot upf anotherdot es
> http://www.iua.upf.edu/~dgarcia <http://www.iua.upf.edu/%7Edgarcia>
>
--
Ferran Orriols
--
Ferran Orriols
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.clam-project.org/pipermail/clam-devel-clam-project.org/attachments/20080716/7d3efb60/attachment-0004.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test_install.patch
Type: text/x-diff
Size: 518 bytes
Desc: not available
URL: <http://lists.clam-project.org/pipermail/clam-devel-clam-project.org/attachments/20080716/7d3efb60/attachment-0010.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: XMLAdaptersTests.patch
Type: text/x-diff
Size: 29354 bytes
Desc: not available
URL: <http://lists.clam-project.org/pipermail/clam-devel-clam-project.org/attachments/20080716/7d3efb60/attachment-0011.patch>
More information about the clam-devel
mailing list