System.Security_test.build 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. <?xml version="1.0" encoding="iso-8859-1"?>
  2. <!-- NAnt build file for System.Security_test.dll -->
  3. <!-- Target build (default) builds tests -->
  4. <!-- Target test runs tests -->
  5. <project name="System.Security_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.Security_test.dll" debug="${debug}">
  12. <arg value="/nowarn:1595"/>
  13. <sources>
  14. <includes name="**/*.cs"/>
  15. </sources>
  16. <references basedir="..\..\..\nunit">
  17. <includes name="NUnitCore.dll"/>
  18. <includes name="..\class\lib\corlib.dll"/>
  19. <includes name="..\class\lib\System.dll"/>
  20. <includes name="..\class\lib\System.Xml.dll"/>
  21. <includes name="..\class\lib\System.Security.dll"/>
  22. </references>
  23. <arg value="/r:..\..\lib\System.dll"/>
  24. <arg value="/r:..\..\lib\System.Xml.dll"/>
  25. <arg value="/r:..\..\lib\System.Security.dll"/>
  26. </csc>
  27. </target>
  28. <target name="test" depends="assemblies">
  29. <exec program="..\..\..\nunit\NUnitConsole" commandline="MonoTests.System.Security.AllTests,System.Security_test.dll" failonerror="false"/>
  30. </target>
  31. <target name="clean">
  32. <delete file="System.Security.dll" failonerror="false"/>
  33. <delete file="System.Security_test.dll" failonerror="false"/>
  34. </target>
  35. </project>