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