Welcome to mirror list, hosted at ThFree Co, Russian Federation.

tests.sh « System.Windows.Forms « Test « Managed.Windows.Forms « class « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: d440326d899e36b3c7ef58267a35f0b3ba99ed96 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#!/bin/sh

if [ $# -eq 0 ]; then
	echo "You should give a list of test names such as: "
	echo "$0 System.Windows.Forms.ListViewItemTest"
	echo "or"
	echo "$0 all"
	exit 1
fi

cp ../../System.Windows.Forms_test_default.dll .

topdir=../../../..
NUNITCONSOLE=$topdir/class/lib/default/nunit-console.exe
MONO_PATH=$topdir/nunit20:$topdir/class/lib/default:.


for i in $@; do
	if [ "$i" = "all" ]; then
		fixture=""
	else
		fixture="/fixture:MonoTests.${i}"
	fi
	MONO_PATH=$MONO_PATH \
		mono --debug ${NUNITCONSOLE} System.Windows.Forms_test_default.dll $fixture
done