diff options
author | Alexander Köplinger <alex.koeplinger@outlook.com> | 2017-09-06 23:24:07 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-09-06 23:24:07 +0300 |
commit | a243301ee4e8c4299497f8f5d041385ffdcbb6ae (patch) | |
tree | ac280200e50d4c9571376b461686d2e80ff00dd4 /mcs/class/System.Windows.Forms | |
parent | 2f61cd998ff118098b0e633443917bc77e21b3ec (diff) |
[WinForms/Drawing] Remove some leftover test scripts (#5518)
They're no longer used.
Diffstat (limited to 'mcs/class/System.Windows.Forms')
4 files changed, 0 insertions, 164 deletions
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 index d30fb697ca8..00000000000 --- a/mcs/class/System.Windows.Forms/Test/System.Windows.Forms/tests-ms.sh +++ /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 index 4e5dd142da1..00000000000 --- a/mcs/class/System.Windows.Forms/Test/System.Windows.Forms/tests-ms2.sh +++ /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 index d440326d899..00000000000 --- a/mcs/class/System.Windows.Forms/Test/System.Windows.Forms/tests.sh +++ /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 index 6a01dcb4fd0..00000000000 --- a/mcs/class/System.Windows.Forms/Test/System.Windows.Forms/tests2.sh +++ /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 |