tests-ms.sh 550 B

12345678910111213141516171819202122232425262728
  1. #!/bin/sh
  2. if [ $# -eq 0 ]; then
  3. echo "You should give a list of test names such as: "
  4. echo "$0 System.Drawing.TestStringFormat"
  5. echo "or"
  6. echo "$0 all"
  7. exit 1
  8. fi
  9. export MSNet=Yes
  10. cp ../../System.Drawing_test.dll .
  11. topdir=../../../..
  12. NUNITCONSOLE=$topdir/class/lib/nunit-console.exe
  13. MONO_PATH=$topdir/nunit20:$topdir/class/lib:.
  14. for i in $@; do
  15. if [ "$i" = "all" ]; then
  16. fixture=""
  17. else
  18. fixture="/fixture:MonoTests.${i}"
  19. fi
  20. MONO_PATH=$MONO_PATH \
  21. ${NUNITCONSOLE} System.Drawing_test.dll $fixture
  22. done