echo "$0 System.IO.FileTest System.Text.StringBuilderTest"
echo "or"
echo "$0 System.AllTests"
+ echo "or"
+ echo "$0 all"
echo "and so on..."
exit 1
fi
topdir=../../..
-NUNITCONSOLE=${topdir}/nunit/src/NUnitConsole/NUnitConsole_mono.exe
-NUNIT_MONO_PATH=${topdir}/nunit/src/NUnitCore:.
+NUNITCONSOLE=$topdir/nunit20/nunit-console.exe
+MONO_PATH=$topdir/nunit20:$topdir/class/lib:.
for i in $@; do
- MONO_PATH=../../../nunit/src/NUnitCore:. \
- mono ${NUNITCONSOLE} MonoTests.${i},corlib_linux_test.dll
+ if [ "$i" = "all" ]; then
+ fixture=""
+ else
+ fixture="/fixture:MonoTests.${i}"
+ fi
+ MONO_PATH=$MONO_PATH \
+ mono --debug ${NUNITCONSOLE} corlib_test.dll $fixture
done