2010-06-21 Atsushi Enomoto <atsushi@ximian.com>
[mcs.git] / class / corlib / Test / run_test.sh
blob4a5fd5e7b7987e49703eb9b769d0454ec535fa49
1 #!/bin/sh
3 if [ $# -eq 0 ]; then
4 echo "You should give a list of test names such as: "
5 echo "$0 System.IO.FileTest System.Text.StringBuilderTest"
6 echo "or"
7 echo "$0 System.AllTests"
8 echo "or"
9 echo "$0 all"
10 echo "and so on..."
11 exit 1
14 topdir=../../..
15 NUNITCONSOLE=$topdir/class/lib/net_2_0/nunit-console.exe
16 MONO_PATH=$topdir/nunit20:$topdir/class/lib:.
18 for i in $@; do
19 if [ "$i" = "all" ]; then
20 fixture=""
21 else
22 fixture="/fixture:MonoTests.${i}"
24 MONO_PATH=$MONO_PATH \
25 mono --debug ${NUNITCONSOLE} corlib_test.dll $fixture
26 done