System.XML_test.build 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. <?xml version="1.0" encoding="iso-8859-1"?>
  2. <!-- NAnt build file for System.XML_test.dll -->
  3. <!-- Target build (default) builds tests -->
  4. <!-- Target test runs tests -->
  5. <project name="System.XML_test" default="build">
  6. <property name="debug" value="false"/>
  7. <property name="nunit_home" value="..\..\..\nunit"/>
  8. <target name="build">
  9. </target>
  10. <target name="assemblies">
  11. <csc target="library" output="System.XML_test.dll" debug="${debug}">
  12. <arg value="/nowarn:1595"/>
  13. <sources>
  14. <includes name="**/*.cs"/>
  15. <excludes name="TheTests.cs"/>
  16. </sources>
  17. <references basedir="..\..\..\nunit">
  18. <includes name="NUnitCore.dll"/>
  19. </references>
  20. <arg value="/r:.\System.XML.dll"/>
  21. </csc>
  22. <csc target="exe" output="RunTests.System.XML.exe" debug="${debug}">
  23. <sources>
  24. <includes name="**/*.cs"/>
  25. <excludes name="**/AllTests.cs"/>
  26. <excludes name="**/MartinTests.cs"/>
  27. </sources>
  28. <references basedir="..\..\..\nunit">
  29. <includes name="NUnitBase.dll"/>
  30. </references>
  31. <arg value="/nowarn:1595"/>
  32. <arg value="/noconfig"/>
  33. <arg value="/r:.\System.XML.dll"/>
  34. </csc>
  35. </target>
  36. <target name="test" depends="assemblies">
  37. <exec program="..\..\..\nunit\NUnitConsole" commandline="Ximian.Mono.Tests.AllTests,System.XML_test.dll" failonerror="false"/>
  38. <exec program="..\..\..\nunit\NUnitConsole" commandline="Ximian.Mono.Tests.XPathScannerTests,System.XML_test.dll" failonerror="false"/>
  39. </target>
  40. <target name="clean">
  41. <delete file="System.XML.dll" failonerror="false"/>
  42. <delete file="System.XML_test.dll" failonerror="false"/>
  43. <delete file="System.XML_test.pdb" failonerror="false"/>
  44. </target>
  45. </project>