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