System.Security_test.build 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839
  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. <sources>
  13. <includes name="**/*.cs"/>
  14. </sources>
  15. <references basedir="..\..\..\nunit20">
  16. <includes name="NUnit.Framework.dll"/>
  17. <includes name="..\class\lib\corlib.dll"/>
  18. <includes name="..\class\lib\System.XML.dll"/>
  19. <includes name="..\class\lib\System.Security.dll"/>
  20. </references>
  21. </csc>
  22. <copy file="../../lib/System.Security.dll" tofile="System.Security.dll"/>
  23. <copy file="../../lib/System.XML.dll" tofile="System.XML.dll"/>
  24. </target>
  25. <target name="test" depends="assemblies">
  26. <exec program="..\..\..\nunit20\nunit-console.exe" commandline="System.Security_test.dll" failonerror="false"/>
  27. </target>
  28. <target name="clean">
  29. <delete file="System.Security_test.dll" failonerror="false"/>
  30. <delete file="System.Security.dll" failonerror="false"/>
  31. <delete file="System.XML.dll" failonerror="false"/>
  32. </target>
  33. </project>