6 Usage: '$0' [--nunit] [--prefix] [--monooption] [--test] all|Fixture
8 --nunit : path to nunit, if you want to use a different one than the default 2.0
9 --prefix : prefix to use to pass options to nunit. Default is /, newer nunits use - instead
10 --monooption : Options to pass on to mono, like --debug, --trace, etc.
11 --test : Specific test to run, if the nunit you''re using supports it
13 Fixture : Fixture is the name of the test you want to run. The MonoTests.System.Windows.Forms
14 namespace will be prepended automatically, so you don''t need to add it. You can
15 specify as many fixtures as you want, they will be run one after the other.
18 '$0' --debug --trace=N:MonoTests.System.Windows.Forms all
19 Runs all tests with debug and trace flags, roughly equivalent to:
20 "mono --debug --trace=N:MonoTests.System.Windows.Forms nunit.exe System.Windows.Forms_test_net_2_0.dll"
27 cp ../../System.Windows.Forms_test_net_2_0.dll .
30 NUNITCONSOLE=$topdir/class/lib/net_2_0/nunit-console.exe
31 MONO_PATH=$topdir/nunit20:$topdir/class/lib/net_2_0:.
45 NUNITCONSOLE="${i:8}/nunit-console.exe"
54 NUNITCONSOLE="${NUNITCONSOLE} ${prefix}labels"
58 ns="MonoTests.System.Windows.Forms."
78 *) fixture="${prefix}fixture:${ns}${i}" ;;
80 echo "MONO_PATH=$MONO_PATH mono $opts ${NUNITCONSOLE} System.Windows.Forms_test_net_2_0.dll $fixture $test"
81 MONO_PATH=$MONO_PATH mono $opts ${NUNITCONSOLE} System.Windows.Forms_test_net_2_0.dll $fixture $test