From: <dr...@us...> - 2003-09-26 10:33:15
|
Update of /cvsroot/sharpcvslib/sharpcvslib/src/ICSharpCode.Tests/SharpCvsLib In directory sc8-pr-cvs1:/tmp/cvs-serv23147/src/ICSharpCode.Tests/SharpCvsLib Added Files: Tests.build Log Message: Changes to build scripts to get project working on linux and to prepare for internalize helper methods in the api. --- NEW FILE: Tests.build --- <!-- Build test classes for library and other apps. --> <project name="ICSharpCode.SharpCvsLib" default="debug"> <target name="build-net-1.0"> <csc target="library" warnaserror="${compile.warnaserror}" output="${dir.build}/${name.top-level}.${name.project}.${name.tests}.dll" debug="${compile.debug}" define="${compile.define}"> <arg value="${compile.unsafe}" /> <arg value="${compile.checked}" /> <sources basedir="${dir.src}"> <!-- // TODO: Change to internalize helpers (accessor) --> <includes name="ICSharpCode/**/*.cs" /> <includes name="ICSharpCode.Tests/**/*.cs" /> </sources> <references> <includes name="System.dll" /> <includes name="${dir.lib}/${lib.zip}" /> <includes name="${dir.lib.ext}/${lib.log4net}" /> <includes name="${dir.lib.ext}/${lib.nunit}" /> <!-- // TODO: Change to internalize helpers (lib.accessor) --> <!-- <includes name="${dir.build}/${lib.name}.dll" />--> </references> </csc> </target> <target name="build-mono-1.0-linux"> <csc target="library" warnaserror="${compile.warnaserror}" output="${dir.build}/${name.top-level}.${name.project}.${name.tests}.dll" debug="${compile.debug}" define="${compile.define}"> <arg value="${compile.unsafe}" /> <arg value="${compile.checked}" /> <sources basedir="${dir.src}"> <!-- // TODO: Change to internalize helpers (accessor) --> <includes name="ICSharpCode/**/*.cs" /> <includes name="ICSharpCode.Tests/**/*.cs" /> </sources> <references> <includes name="System.dll" /> <includes name="${dir.lib}/${lib.zip}" /> <includes name="${dir.lib.ext}/${lib.log4net}" /> <includes name="${dir.lib.ext}/${lib.nunit}" /> <!-- // TODO: Change to internalize helpers (lib.accessor) --> <!-- <includes name="${dir.build}/${lib.name}.dll" />--> </references> </csc> </target> <target name="run-tests"> <nunit2> <test assemblyname="${dir.build}/${tests.name}.dll"/> </nunit2> </target> </project> |