[WinForms/Drawing] Remove some leftover test scripts (#5518)
authorAlexander Köplinger <alex.koeplinger@outlook.com>
Wed, 6 Sep 2017 20:24:07 +0000 (22:24 +0200)
committerGitHub <noreply@github.com>
Wed, 6 Sep 2017 20:24:07 +0000 (22:24 +0200)
They're no longer used.

mcs/class/System.Drawing/Test/System.Drawing.Imaging/tests-ms.sh [deleted file]
mcs/class/System.Drawing/Test/System.Drawing.Imaging/tests.sh [deleted file]
mcs/class/System.Drawing/Test/System.Drawing/README [deleted file]
mcs/class/System.Drawing/Test/System.Drawing/tests-ms.sh [deleted file]
mcs/class/System.Drawing/Test/System.Drawing/tests.sh [deleted file]
mcs/class/System.Windows.Forms/Test/System.Windows.Forms/tests-ms.sh [deleted file]
mcs/class/System.Windows.Forms/Test/System.Windows.Forms/tests-ms2.sh [deleted file]
mcs/class/System.Windows.Forms/Test/System.Windows.Forms/tests.sh [deleted file]
mcs/class/System.Windows.Forms/Test/System.Windows.Forms/tests2.sh [deleted file]

diff --git a/mcs/class/System.Drawing/Test/System.Drawing.Imaging/tests-ms.sh b/mcs/class/System.Drawing/Test/System.Drawing.Imaging/tests-ms.sh
deleted file mode 100755 (executable)
index 98b2c00..0000000
+++ /dev/null
@@ -1,28 +0,0 @@
-#!/bin/sh\r
-\r
-if [ $# -eq 0 ]; then\r
-       echo "You should give a list of test names such as: "\r
-       echo "$0 System.Drawing.TestStringFormat"\r
-       echo "or"\r
-       echo "$0 all"   \r
-       exit 1\r
-fi\r
-\r
-export MSNet=Yes\r
-cp ../../System.Drawing_test.dll .\r
-topdir=../../../..\r
-NUNITCONSOLE=$topdir/class/lib/nunit-console.exe\r
-MONO_PATH=$topdir/nunit20:$topdir/class/lib:.\r
-\r
-for i in $@; do\r
-       if [ "$i" = "all" ]; then\r
-               fixture=""\r
-       else\r
-               fixture="/fixture:MonoTests.${i}"\r
-       fi\r
-       MONO_PATH=$MONO_PATH \\r
-               ${NUNITCONSOLE} System.Drawing_test.dll $fixture\r
-done\r
-\r
-\r
-\r
diff --git a/mcs/class/System.Drawing/Test/System.Drawing.Imaging/tests.sh b/mcs/class/System.Drawing/Test/System.Drawing.Imaging/tests.sh
deleted file mode 100755 (executable)
index 511cfcd..0000000
+++ /dev/null
@@ -1,29 +0,0 @@
-#!/bin/sh
-
-if [ $# -eq 0 ]; then
-       echo "You should give a list of test names such as: "
-       echo "$0 System.Drawing.TestStringFormat"
-       echo "or"
-       echo "$0 all"
-       exit 1
-fi
-
-cp ../../System.Drawing_test_default.dll .
-
-topdir=../../../..
-NUNITCONSOLE=$topdir/class/lib/default/nunit-console.exe
-MONO_PATH=$topdir/nunit20:$topdir/class/lib/default:.
-
-
-for i in $@; do
-       if [ "$i" = "all" ]; then
-               fixture=""
-       else
-               fixture="/fixture:MonoTests.${i}"
-       fi
-       MONO_PATH=$MONO_PATH \
-               mono --debug ${NUNITCONSOLE} System.Drawing_test_default.dll $fixture
-done
-
-
-
diff --git a/mcs/class/System.Drawing/Test/System.Drawing/README b/mcs/class/System.Drawing/Test/System.Drawing/README
deleted file mode 100644 (file)
index 957903d..0000000
+++ /dev/null
@@ -1,12 +0,0 @@
-README
-
-* To run the tests using the Mono rutime
-
-cd mcs/class/System.Drawing
-make run-test
-
-* test-ms.sh runs the test using the MS .Net runtime and stores the bimaps 
-created by tests in the directory called MsNet.
-
-
-
diff --git a/mcs/class/System.Drawing/Test/System.Drawing/tests-ms.sh b/mcs/class/System.Drawing/Test/System.Drawing/tests-ms.sh
deleted file mode 100755 (executable)
index 6e17f27..0000000
+++ /dev/null
@@ -1,28 +0,0 @@
-#!/bin/sh\r
-\r
-if [ $# -eq 0 ]; then\r
-       echo "You should give a list of test names such as: "\r
-       echo "$0 System.Drawing.TestStringFormat"\r
-       echo "or"\r
-       echo "$0 all"   \r
-       exit 1\r
-fi\r
-\r
-export MSNet=Yes\r
-cp ../../System.Drawing_test_default.dll .\r
-topdir=../../../..\r
-NUNITCONSOLE=$topdir/class/lib/default/nunit-console.exe\r
-MONO_PATH=$topdir/nunit20:$topdir/class/lib:.\r
-\r
-for i in $@; do\r
-       if [ "$i" = "all" ]; then\r
-               fixture=""\r
-       else\r
-               fixture="/fixture:MonoTests.${i}"\r
-       fi\r
-       MONO_PATH=$MONO_PATH \\r
-               ${NUNITCONSOLE} System.Drawing_test_default.dll $fixture\r
-done\r
-\r
-\r
-\r
diff --git a/mcs/class/System.Drawing/Test/System.Drawing/tests.sh b/mcs/class/System.Drawing/Test/System.Drawing/tests.sh
deleted file mode 100755 (executable)
index 511cfcd..0000000
+++ /dev/null
@@ -1,29 +0,0 @@
-#!/bin/sh
-
-if [ $# -eq 0 ]; then
-       echo "You should give a list of test names such as: "
-       echo "$0 System.Drawing.TestStringFormat"
-       echo "or"
-       echo "$0 all"
-       exit 1
-fi
-
-cp ../../System.Drawing_test_default.dll .
-
-topdir=../../../..
-NUNITCONSOLE=$topdir/class/lib/default/nunit-console.exe
-MONO_PATH=$topdir/nunit20:$topdir/class/lib/default:.
-
-
-for i in $@; do
-       if [ "$i" = "all" ]; then
-               fixture=""
-       else
-               fixture="/fixture:MonoTests.${i}"
-       fi
-       MONO_PATH=$MONO_PATH \
-               mono --debug ${NUNITCONSOLE} System.Drawing_test_default.dll $fixture
-done
-
-
-
diff --git a/mcs/class/System.Windows.Forms/Test/System.Windows.Forms/tests-ms.sh b/mcs/class/System.Windows.Forms/Test/System.Windows.Forms/tests-ms.sh
deleted file mode 100755 (executable)
index d30fb69..0000000
+++ /dev/null
@@ -1,28 +0,0 @@
-#!/bin/sh
-
-if [ $# -eq 0 ]; then
-       echo "You should give a list of test names such as: "
-       echo "$0 System.Windows.Forms.ListViewItemTest"
-       echo "or"
-       echo "$0 all"   
-       exit 1
-fi
-
-export MSNet=Yes
-cp ../../System.Windows.Forms_test_default.dll .
-topdir=../../../..
-NUNITCONSOLE=$topdir/class/lib/default/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 \
-               ${NUNITCONSOLE} System.Windows.Forms_test_default.dll $fixture
-done
-
-
-
diff --git a/mcs/class/System.Windows.Forms/Test/System.Windows.Forms/tests-ms2.sh b/mcs/class/System.Windows.Forms/Test/System.Windows.Forms/tests-ms2.sh
deleted file mode 100644 (file)
index 4e5dd14..0000000
+++ /dev/null
@@ -1,25 +0,0 @@
-#!/bin/sh
-
-if [ $# -eq 0 ]; then
-       echo "You should give a list of test names such as: "
-       echo "$0 System.Windows.Forms.ListViewItemTest"
-       echo "or"
-       echo "$0 all"
-       exit 1
-fi
-
-export MSNet=Yes
-cp ../../System.Windows.Forms_test_NET_2_0.dll .
-topdir=../../../..
-NUNITCONSOLE=$topdir/class/lib/net_2_0/nunit-console.exe
-MONO_PATH=$topdir/nunit20:$topdir/class/lib/net_2_0:.
-
-for i in $@; do
-       if [ "$i" = "all" ]; then
-               fixture=""
-       else
-               fixture="/fixture:MonoTests.${i}"
-       fi
-       MONO_PATH=$MONO_PATH \
-               ${NUNITCONSOLE} System.Windows.Forms_test_NET_2_0.dll $fixture
-done
\ No newline at end of file
diff --git a/mcs/class/System.Windows.Forms/Test/System.Windows.Forms/tests.sh b/mcs/class/System.Windows.Forms/Test/System.Windows.Forms/tests.sh
deleted file mode 100755 (executable)
index d440326..0000000
+++ /dev/null
@@ -1,29 +0,0 @@
-#!/bin/sh
-
-if [ $# -eq 0 ]; then
-       echo "You should give a list of test names such as: "
-       echo "$0 System.Windows.Forms.ListViewItemTest"
-       echo "or"
-       echo "$0 all"
-       exit 1
-fi
-
-cp ../../System.Windows.Forms_test_default.dll .
-
-topdir=../../../..
-NUNITCONSOLE=$topdir/class/lib/default/nunit-console.exe
-MONO_PATH=$topdir/nunit20:$topdir/class/lib/default:.
-
-
-for i in $@; do
-       if [ "$i" = "all" ]; then
-               fixture=""
-       else
-               fixture="/fixture:MonoTests.${i}"
-       fi
-       MONO_PATH=$MONO_PATH \
-               mono --debug ${NUNITCONSOLE} System.Windows.Forms_test_default.dll $fixture
-done
-
-
-
diff --git a/mcs/class/System.Windows.Forms/Test/System.Windows.Forms/tests2.sh b/mcs/class/System.Windows.Forms/Test/System.Windows.Forms/tests2.sh
deleted file mode 100644 (file)
index 6a01dcb..0000000
+++ /dev/null
@@ -1,82 +0,0 @@
-#!/bin/bash
-
-function usage {
-if [ $# -eq 0 ]; then
-       echo <<EOF '
-       Usage:  '$0' [--nunit] [--prefix] [--monooption] [--test] all|Fixture
-
-       --nunit            : path to nunit, if you want to use a different one than the default 2.0
-       --prefix           : prefix to use to pass options to nunit. Default is /, newer nunits use - instead
-       --monooption   : Options to pass on to mono, like --debug, --trace, etc.
-       --test             : Specific test to run, if the nunit you''re using supports it
-       all            : run all tests
-       Fixture        : Fixture is the name of the test you want to run. The MonoTests.System.Windows.Forms
-                                        namespace will be prepended automatically, so you don''t need to add it. You can
-                                        specify as many fixtures as you want, they will be run one after the other.
-
-       Example:
-               '$0' --debug --trace=N:MonoTests.System.Windows.Forms all
-               Runs all tests with debug and trace flags, roughly equivalent to:
-               "mono --debug --trace=N:MonoTests.System.Windows.Forms nunit.exe System.Windows.Forms_test_net_2_0.dll"
-'
-EOF
-       exit 1
-fi
-}
-
-cp ../../System.Windows.Forms_test_net_2_0.dll .
-
-topdir=../../../..
-NUNITCONSOLE=$topdir/class/lib/net_2_0/nunit-console.exe
-MONO_PATH=$topdir/nunit20:$topdir/class/lib/net_2_0:.
-
-opts=""
-test=""
-prefix="/"
-ns="MonoTests."
-
-for i in $@; do
-       case $i in
-               --prefix*)
-                       prefix=${i:9}
-                       shift
-               ;;
-               --nunit*)
-                       NUNITCONSOLE="${i:8}/nunit-console.exe"
-                       MONO_PATH="${i:8}:."
-                       shift
-               ;;
-               --test*)
-                       test="-run=${i:7}"
-                       shift
-               ;;
-               -labels)
-                       NUNITCONSOLE="${NUNITCONSOLE} ${prefix}labels"
-                       shift
-               ;;
-               -defns)
-                       ns="MonoTests.System.Windows.Forms."
-                       shift
-               ;;
-               --*)
-                       opts="$opts $i"
-                       shift
-          ;;
-          *) continue ;;
-       esac
-done
-
-if [ $# -eq 0 ]; then
-       usage
-       exit 1
-fi
-
-
-for i in $@; do
-       case $i in
-               all) fixture="" ;;
-               *) fixture="${prefix}fixture:${ns}${i}" ;;
-       esac
-       echo "MONO_PATH=$MONO_PATH mono $opts ${NUNITCONSOLE} System.Windows.Forms_test_net_2_0.dll $fixture $test"
-       MONO_PATH=$MONO_PATH mono $opts ${NUNITCONSOLE} System.Windows.Forms_test_net_2_0.dll $fixture $test
-done