Re: SVN Not building?

"Charlie Poole" <[email protected]> Thu, 28 Aug 2008 10:30:25 -0700
Newsgroups gmane.comp.windows.dotnet.nunit.devel
Message-ID <006501c90933$c3d0e880$6401a8c0@ferrari>
Hi Cory, 

Thanks for the fixes - I have to confess I haven't built it for
on mono for a few weeks since my build system was being used
for something else.

Charlie

> -----Original Message-----
> From: [email protected] 
> [mailto:[email protected]] On 
> Behalf Of Cory Foy
> Sent: Thursday, August 28, 2008 10:00 AM
> To: Charlie Poole
> Cc: [email protected]
> Subject: Re: [nunit-developer] SVN Not building?
> 
> Charlie Poole wrote:
>  > The build-all target builds the current config for all targets.
>  > So it's ignoring your setting of the target as mono-2.0 
> and  > attempting to build debug for all the supported 
> targets you  > have installed.
>  >
>  > I'm guessing you meant to use
>  >    nant mono-2.0 build
>  >
> 
> Ah, thanks. Ok, here are the other files that need to be modified. 
> Mostly missing references.
> 
> src/NUnitCore/core/nunit.core.build
> src/ClientUtilities/util/nunit.util.build
> src/GuiRunner/nunit-gui/nunit-gui.build
> src/PNUnit/agent/pnunit-agent.build
> src/PNUnit/launcher/pnunit-launcher.build
> src/NUnitFramework/framework/nunit.framework.build
> src/NUnitFramework/tests/nunit.framework.tests.build
> src/NUnitFramework/tests/NullableTypesTests.cs
> 
> With these changes, everything builds. Almost everything was 
> either missing references or missing includes. The only 
> exception was the NullableTypesTests - that whole thing 
> doesn't compile, complaining that:
> 
> [csc]
> /Users/foyc/Workspace/nunit/nunit20/src/NUnitFramework/tests/N
> ullableTypesTests.cs(35,20): 
> error CS1502: The best overloaded method match for 
> `NUnit.Framework.Assert.Greater(int, int)' has some invalid arguments
>                    [csc]
> /Users/foyc/Workspace/nunit/nunit20/build/mono/2.0/debug/lib/n
> unit.framework.dll
> (Location of the symbol related to previous error)
>                    [csc]
> /Users/foyc/Workspace/nunit/nunit20/src/NUnitFramework/tests/N
> ullableTypesTests.cs(35,20): 
> error CS1503: Argument 1: Cannot convert type `int?' to `int'
> 
> 
> and about 70 other similar errors. So I just added to the 
> preprocess #if to ignore the tests if MONO.
> 
> Next up is to run the tests and see where we can get. ;)
> 
> --
> Cory Foy
> http://www.cornetdesign.com
> http://www.agileflorida.com
> 



-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/