[Mono-devel-list] Re: NUnit 2.0 conversion of System.XML assembly

Martin Willemoes Hansen mwh at sysrq.dk
Thu Mar 13 13:14:14 EST 2003


On Thu, 2003-03-13 at 18:55, ginga at kit.hi-ho.ne.jp wrote:
> Hello,
> 
> > I just converted the System.XML assembly tests to NUnit 2.0.
> > If nobody objects ill commit this later tonight.
> 
> It's great improvement! Thanks.
> I fixed System.XML_test.build for nant. Please commit it together.

Great! 
I was wondering how to get NAnt going in linux.
Does it work in Linux/Unix? Maybe its just my build of NAnt which is
working badly.

What is the correct way to run NAnt from linux, I just run NAnt.exe in
the dir with the tests and get this error:

/mono/mcs/class/System.XML/Test$ ../../../nant/src/NAnt.exe 
Buildfile:
/home/mwh/fun/cvs/mono/mcs/class/System.XML/Test/System.XML_test.build

INTERNAL ERROR
System.ArgumentException: Empty path not allowed
in <0x000a8> 00 System.IO.StreamReader:.ctor
(string,System.Text.Encoding,bool,int)
in <0x0002a> 00 System.IO.StreamReader:.ctor (string)
in <0x0009a> 00 System.Xml.XmlTextReader:.ctor
(string,System.Xml.XmlNameTable)
in <0x0008f> 00 System.Xml.XmlTextReader:.ctor (string)
in <0x000bc> 00 SourceForge.NAnt.XPathTextPositionMap:.ctor (string)
in <0x0033a> 00 SourceForge.NAnt.Project:Initialize
(System.Xml.XmlDocument)
in <0x00299> 00 SourceForge.NAnt.Project:Run ()

> 
> > It is the XmlTextWriterTests.cs which has the failures.
> 
> With my Windows build, it seems the same as before.
> 
> > Umh Im a bit confused about the TheTests.cs, is it still used?
> 
> I assume not. And also AllTests.cs is also in the way.
> 
> Thanks again,
>   Atsushi Eno
-- 
Martin Willemoes Hansen

--------------------------------------------------------
E-Mail	mwh at sysrq.dk	Website	mwh.sysrq.dk
IRC     MWH, freenode.net	
--------------------------------------------------------               




More information about the Mono-devel-list mailing list