From: Owen R. <exo...@us...> - 2005-07-07 04:12:21
|
Update of /cvsroot/netreflector/NetReflector In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17772 Modified Files: reflector.build Log Message: updating build to work with ccnet.label and to output test results as xml Index: reflector.build =================================================================== RCS file: /cvsroot/netreflector/NetReflector/reflector.build,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** reflector.build 11 Mar 2005 13:23:22 -0000 1.8 --- reflector.build 7 Jul 2005 04:12:12 -0000 1.9 *************** *** 19,22 **** --- 19,23 ---- <property name="vil.executable" value="tools\vil\vil.exe" /> <property name="vil.assemblies" value="${core.dll},${test.dll}" /> + <property name="nunit.output" value="Plain"/> <!-- ALL --> *************** *** 106,110 **** <target name="test.unit" depends="compile" description="runs unit tests"> <nunit2> ! <formatter type="Plain" /> <test assemblyname="${build.dir}\${test.dll}"/> </nunit2> --- 107,111 ---- <target name="test.unit" depends="compile" description="runs unit tests"> <nunit2> ! <formatter type="${nunit.output}" /> <test assemblyname="${build.dir}\${test.dll}"/> </nunit2> *************** *** 151,168 **** <!-- FOR RUNNING CCNET AGAINST ITSELF --> <target name="ContinuousIntegration"> ! <ifnot test="${property::exists('label-to-apply')}"> ! <fail message="label-to-apply property not set, so can't create labelled distribution files" /> ! </ifnot> <call target="transform.build.number" /> <call target="createAssemblyInfo" /> ! <call target="all" /> <call target="dist.publish" /> <call target="reporting" /> ! <echo message="CI Run for build number ${label-to-apply} successfully completed" /> </target> <target name="transform.build.number" > ! <regex pattern="(?'major'\d+)_(?'minor'\d+)_(?'revision'\d+)_(?'build'\d+)" input="${label-to-apply}" /> <property name="build.number" value="${major}.${minor}.${revision}.${build}" /> <echo message="Build number: ${build.number}"/> --- 152,169 ---- <!-- FOR RUNNING CCNET AGAINST ITSELF --> <target name="ContinuousIntegration"> ! <if test="${not property::exists('ccnet.label')}"> ! <fail message="ccnet.label property not set, so can't create labelled distribution files" /> ! </if> <call target="transform.build.number" /> <call target="createAssemblyInfo" /> ! <call target="all.ccnet" /> <call target="dist.publish" /> <call target="reporting" /> ! <echo message="CI Run for build number ${ccnet.label} successfully completed" /> </target> <target name="transform.build.number" > ! <regex pattern="(?'major'\d+)_(?'minor'\d+)_(?'revision'\d+)_(?'build'\d+)" input="${ccnet.label}" /> <property name="build.number" value="${major}.${minor}.${revision}.${build}" /> <echo message="Build number: ${build.number}"/> *************** *** 200,204 **** failonerror="false"/> </target> - - </project> \ No newline at end of file --- 201,203 ---- |