2003-06-30 Zoltan Varga <vargaz@freemail.hu>
authorZoltan Varga <vargaz@gmail.com>
Mon, 30 Jun 2003 14:56:48 +0000 (14:56 -0000)
committerZoltan Varga <vargaz@gmail.com>
Mon, 30 Jun 2003 14:56:48 +0000 (14:56 -0000)
* run_test.sh: Added 'all' option to run all tests. Add class libraries
to MONO_PATH.

svn path=/trunk/mcs/; revision=15757

mcs/class/corlib/Test/ChangeLog
mcs/class/corlib/Test/run_test.sh

index ae703d7ef1e0fb06e501c29384c469dc6fbd0e73..4c25054483299149600cb939f40d87b0f36f9ed8 100644 (file)
@@ -1,3 +1,8 @@
+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
index 4bbce13165c1b4ad1d2c41a5750989918bb4c265..083073f63986651080df3c10158dd7da2611300e 100755 (executable)
@@ -5,16 +5,23 @@ if [ $# -eq 0 ]; then
        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