Files
mono/mcs/class/System.Data.ObjectSpaces/Test/run_test.sh
T
Tim Coleman a9ea0406c0 2003-11-26 Tim Coleman <[email protected]>
* ChangeLog run_test.sh
        * System.Data.ObjectSpaces/CommonObjectContextTests.cs:
                New classes added for test

svn path=/trunk/mcs/; revision=20497
2003-11-26 18:54:26 +00:00

28 lines
563 B
Bash
Executable File

#!/bin/sh
if [ $# -eq 0 ]; then
echo "You should give a list of test names such as: "
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/class/lib/nunit-console.exe
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} System.Data.ObjectSpaces_test.dll $fixture
done