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