* run_test.sh: Added 'all' option to run all tests. Add class libraries
to MONO_PATH.
svn path=/trunk/mcs/; revision=15757
+2003-06-30 Zoltan Varga <vargaz@freemail.hu>
+
+ * run_test.sh: Added 'all' option to run all tests. Add class libraries
+ to MONO_PATH.
+
2003-06-29 Sebastien Pouliot <spouliot@videotron.ca>
* corlib_test.args: Added ReflectionPermissionAttributeTest.cs and
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/nunit20/nunit-console.exe
-MONO_PATH=$topdir/nunit20:.
+MONO_PATH=$topdir/nunit20:$topdir/class/lib:.
for i in $@; do
+ if [ "$i" = "all" ]; then
+ fixture=""
+ else
+ fixture="/fixture:MonoTests.${i}"
+ fi
MONO_PATH=$MONO_PATH \
- mono --debug ${NUNITCONSOLE} corlib_test.dll /fixture:MonoTests.${i}
+ mono --debug ${NUNITCONSOLE} corlib_test.dll $fixture
done