[Mono-devel-list] Merging NUnit 2.1 into cvs

Gert Driesen gert.driesen at pandora.be
Sat Sep 27 05:01:25 EDT 2003


log4net (http://log4net.sourceforge.net) has already been targeting multiple
frameworks (.NET 1.0 - 1.1, .NET CF 1.0, SSCLI 1.0, Mono) with success for a
quite while using a single NAnt build file.

Gert

----- Original Message ----- 
From: "Ian MacLean" <ianm at ActiveState.com>
To: "A Rafael D Teixeira" <rafaelteixeirabr at hotmail.com>
Cc: <bmaurer at users.sourceforge.net>; <mono-devel-list at lists.ximian.com>;
<mono-br at redesolbrasil.org>
Sent: Saturday, September 27, 2003 7:09 AM
Subject: Re: [Mono-devel-list] Merging NUnit 2.1 into cvs


> I repeated the same procedure but using the latest cvs build of NAnt. To
> get it to build I needed to do your step 2 only. (mcs was called
> automatically ) I then did a quick test of the newly built
> nunit-console.exe and it seems ok.
> The nant developers recently submitted patches to the ndoc project to
> fix their build process to use the multiple framework targetting
> features of nant - specifically to support compilation on mono as well
> as ms .net. I'd like to do the same for NUnit. It won't be too much work
> - just excluding the windows only parts from a mono targetted build.
>
> on another note - is the old version of nant thats in the mcs cvs tree
> being used for anything ? The new build system no longer uses nant so
> maybe it would be better to remove it and use one of the newer nant
> releases instead.
>
> Ian
>
> > Well I had to:
> >
> > -Change a lot of things in nant.build (csc to mcs action, eliminate
> > lots of gui-dependent targets)
> > -Rename lots of files in nant/util from '.cs' to '.cs.out' to get them
> > out of  compilation
> > -Copy the config files by hand, as our aged nant, would fail without
> > explaining after compiling all
> >
> > but then:
> >
> > <capture>
> >
> > [rafael at redhat9 build]$ mono nunit-console.exe
> > NUnit version 2.1.4
> > Copyright (C) 2002-2003 James W. Newkirk, Michael C. Two, Alexei A.
> > Vorontsov, Charlie Poole.
> > Copyright (C) 2000-2003 Philip Craig.
> > All Rights Reserved.
> >
> > fatal error: no inputs specified
> >
> > NUNIT-CONSOLE [inputfiles] [options]
> >
> > Runs a set of NUnit tests from the console.
> >
> > You may specify one or more assemblies or a single
> > project file of type .nunit.
> >
> > Options:
> > /fixture=STR         Fixture to test
> > /xml=STR             Name of XML output file
> > /transform=STR       Name of transform file
> > /nologo              Do not display the logo
> > /help                Display help (Short format: /?)
> > /wait                Require input to close console window
> > /xmlConsole          Display XML to the console
> > /config=STR          Project configuration to load
> >
> > </capture>
> >
> > I'll have yet to really use it, but looks as a good starting point...
> >
> > Best regards,
> >
> > Rafael Teixeira
> > Brazilian Polymath
> > Mono Hacker since 16 Jul 2001
> >
> > _________________________________________________________________
> > MSN Messenger: instale gratis e converse com seus amigos.
> > http://messenger.msn.com.br
> >
> > _______________________________________________
> > Mono-devel-list mailing list
> > Mono-devel-list at lists.ximian.com
> > http://lists.ximian.com/mailman/listinfo/mono-devel-list
>
>
>
>
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list
>
>




More information about the Mono-devel-list mailing list