Hi all,
is someone of you guys able to run the <nunit2> task on Linux?
I always get the following error message:
** (/usr/local/share/NAnt/bin/NAnt.exe:20511): WARNING **:
Could not find assembly nunit.framework, references from
/home/genius/projects/thermota/build/
Thermota.Core-0.7-debug/bin/Thermota.Core.Tests.dll
(assemblyref_index=2)
Major/Minor: 2,2
Build: 0,0
Token: 96d09a1eb7f44a77
System error: No such file or directory
Here below is a fragment of my build file
(the <csc> task executes successfully):
<target
name="test"
depends="build"
description="Tests the current configuration">
<csc
target="library"
debug="${build.debug}"
output="${build.dir}/bin/${nant.project.name}.Tests.dll">
<sources basedir="${nant.project.name}.Tests" failonempty="true">
<include name="*.cs" />
</sources>
<references basedir="${build.dir}/bin">
<include name="${nant.project.name}.dll" />
<include name="${nunit.dir}/nunit.framework.dll" />
</references>
</csc>
<nunit2>
<formatter type="Plain" />
<formatter type="Xml" usefile="true" extension=".xml"
outputdir="${build.dir}/test-results" />
<test
assemblyname="${build.dir}/bin/${nant.project.name}.Tests.dll"
appconfig="${nant.project.name}.Tests.dll.config" />
</nunit2>
</target>
Is there something special/new I need to do in order to get that
stuff working on Linux? Has someone of you an appconfig file that
works on Linux?
Thanks,
j3d.
--
----------------------------------------
Giuseppe Greco
::agamura::
phone: +41 (0)91 604 67 65
mobile: +41 (0)79 602 99 27
email: [EMAIL PROTECTED]
web: www.agamura.com
----------------------------------------
-------------------------------------------------------
SF.Net email is sponsored by: Tell us your software development plans!
Take this survey and enter to win a one-year sub to SourceForge.net
Plus IDC's 2005 look-ahead and a copy of this survey
Click here to start! http://www.idcswdc.com/cgi-bin/survey?id=105hix
_______________________________________________
Nant-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nant-users