[Mono-dev] Running regression tests on windows

Matt Jones mattj at google.com
Tue Jun 26 17:47:03 EDT 2007


Right, so the problem is I'm trying to figure out why mono has difficulties
running under wine, and the 1.2 series is much less usable under wine. I
ended up figuring out this bug - nunit and mono were getting confused about
running under cygwin.


On 6/24/07, Andreia Gaita <shana.ufie at gmail.com> wrote:
>
> It looks like you're using Mono v.1.1.13, judging from your install
> dir. That is a seriously outdated version (not to say pre-historic),
> so you should first of all update to the latest one before anything
> else.
>
> andreia gaita
>
> On 6/21/07, Matt Jones <mattj at google.com> wrote:
> > Hi -
> >
> > I'm having some problems running the various tests on windows. In
> > particular, I get the following error:
> >
> > OS Version: Microsoft Windows NT 5.1.2600.0    Mono Version:
> 1.1.4322.2032
> >
> > Unhandled Exception:
> > System.Configuration.ConfigurationException: Cannot find
> > \usr\src\mono\mono-1.1.13.6\runtime\etc\mono\1.0\machine.config
> > ()
> > in [0x00043] (at
> > C:\cygwin\usr\src\mono\mono-
> 1.1.13.6\mcs\class\System\System.Configuration\ConfigurationSettings.cs:163
> > ) System.Configuration.DefaultConfig:Init ()
> > in [0x00001] (at
> > C:\cygwin\usr\src\mono\mono-
> 1.1.13.6\mcs\class\System\System.Configuration\ConfigurationSettings.cs:149
> )
> > System.Configuration.DefaultConfig:GetConfig (System.String
> > sectionName)
> > in [0x00006] (at
> > C:\cygwin\usr\src\mono\mono-
> 1.1.13.6\mcs\class\System\System.Configuration\ConfigurationSettings.cs:63
> )
> > System.Configuration.ConfigurationSettings:GetConfig
> > (System.String sectionName)
> >  in [0x00005] (at
> > C:\cygwin\usr\src\mono\mono-
> 1.1.13.6\mcs\class\System\System.Configuration\ConfigurationSettings.cs:79
> )
> > System.Configuration.ConfigurationSettings:get_AppSettings
> > ()
> > in [0x00006] (at C:\cygwin\usr\src\mono\mono-
> > 1.1.13.6\mcs\nunit20\util\TestDomain.cs:489)
> > NUnit.Util.TestDomain:ConfigureCachePath (System.AppDomain
> > domain)
> > in [0x0007c] (at
> > C:\cygwin\usr\src\mono\mono-1.1.13.6\mcs\nunit20\util\TestDomain.cs:478)
> > NUnit.Util.TestDomain:MakeAppDomain (System.String
> > domainName, System.String appBase, System.String configFile,
> System.String
> > binPath)
> > in [0x0003e] (at
> > C:\cygwin\usr\src\mono\mono-1.1.13.6\mcs\nunit20\util\TestDomain.cs:423)
> > NUnit.Util.TestDomain:CreateDomain (System.String
> > assemblyFileName)
> > in [0x00008] (at
> > C:\cygwin\usr\src\mono\mono-1.1.13.6\mcs\nunit20\util\TestDomain.cs:190)
> > NUnit.Util.TestDomain:Load (System.String assemblyFileName,
> System.String
> > testFixture)
> >
> >  I assume this has something to do with nunit not using the correct path
> > separator / not using cygwin paths correctly. Is this a known bug, or
> does
> > anyone know of a workaround short of digging around in the nunit source?
> > Mono/mcs can compile and build things correctly inside of cygwin, so I'm
> > assuming this a nunit-specific bug.
> >
> > Thanks,
> > Matt Jones
> >
> > _______________________________________________
> > Mono-devel-list mailing list
> > Mono-devel-list at lists.ximian.com
> > http://lists.ximian.com/mailman/listinfo/mono-devel-list
> >
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20070626/63f5ae7e/attachment.html 


More information about the Mono-devel-list mailing list