If your version supports it, you can just tell NAnt to use net-4.0. If
not, exec a bat
file that set's COMPLUS_Version before running nunit-console to get the same
effect. That way, nunit-agent won't be used at all.
Charlie
On Fri, Oct 8, 2010 at 9:08 AM, Rob Burns <email address hidden> wrote:
> Hey Charlie, I just got latest and compiled the code (revision 3236)
> and it looks like this issue is still present. I am running Nunit-
> console as part of a Nant build and now every test fixture is leaving an
> nunit-agent process running. I am using .net 4.0 framework and running
> on a Windows server R2 machine.
>
> My NAnt lines are all in this format :
> <exec program="${NunitEXE}" failonerror="false" timeout="3000000">
> <arg line="/run:TestClasses.BTests ${TestDLL} /framework=4.0.30319 /noshadow /nologo /labels /out:${TextOutputPath}\BTest.txt /xml:${LogFilePath}\TestBTest.xml" />
> </exec>
>
> Any help would be greatly appreciated. Is there another way to run nunit
> to work around this issue?
>
> --
> nunit-agent hangs after tests complete
> https://bugs.launchpad.net/bugs/602761
> You received this bug notification because you are a member of NUnit
> Developers, which is subscribed to NUnit V2.
>
If your version supports it, you can just tell NAnt to use net-4.0. If
not, exec a bat
file that set's COMPLUS_Version before running nunit-console to get the same
effect. That way, nunit-agent won't be used at all.
Charlie
On Fri, Oct 8, 2010 at 9:08 AM, Rob Burns <email address hidden> wrote: "${NunitEXE} " failonerror="false" timeout="3000000"> run:TestClasses .BTests ${TestDLL} /framework= 4.0.30319 /noshadow /nologo /labels /out:${ TextOutputPath} \BTest. txt /xml:${ LogFilePath} \TestBTest. xml" /> /bugs.launchpad .net/bugs/ 602761
> Hey Charlie, I just got latest and compiled the code (revision 3236)
> and it looks like this issue is still present. I am running Nunit-
> console as part of a Nant build and now every test fixture is leaving an
> nunit-agent process running. I am using .net 4.0 framework and running
> on a Windows server R2 machine.
>
> My NAnt lines are all in this format :
> <exec program=
> <arg line="/
> </exec>
>
> Any help would be greatly appreciated. Is there another way to run nunit
> to work around this issue?
>
> --
> nunit-agent hangs after tests complete
> https:/
> You received this bug notification because you are a member of NUnit
> Developers, which is subscribed to NUnit V2.
>