From: Alexander Köplinger Date: Wed, 6 Sep 2017 20:24:07 +0000 (+0200) Subject: [WinForms/Drawing] Remove some leftover test scripts (#5518) X-Git-Url: http://wien.tomnetworks.com/gitweb/?p=mono.git;a=commitdiff_plain;h=a243301ee4e8c4299497f8f5d041385ffdcbb6ae [WinForms/Drawing] Remove some leftover test scripts (#5518) They're no longer used. --- 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 index 98b2c00dbe8..00000000000 --- a/mcs/class/System.Drawing/Test/System.Drawing.Imaging/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.Drawing.TestStringFormat" - echo "or" - echo "$0 all" - exit 1 -fi - -export MSNet=Yes -cp ../../System.Drawing_test.dll . -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 \ - ${NUNITCONSOLE} System.Drawing_test.dll $fixture -done - - - 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 index 511cfcd6ee6..00000000000 --- a/mcs/class/System.Drawing/Test/System.Drawing.Imaging/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.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 index 957903d11bb..00000000000 --- a/mcs/class/System.Drawing/Test/System.Drawing/README +++ /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 index 6e17f270393..00000000000 --- a/mcs/class/System.Drawing/Test/System.Drawing/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.Drawing.TestStringFormat" - echo "or" - echo "$0 all" - exit 1 -fi - -export MSNet=Yes -cp ../../System.Drawing_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.Drawing_test_default.dll $fixture -done - - - 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 index 511cfcd6ee6..00000000000 --- a/mcs/class/System.Drawing/Test/System.Drawing/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.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 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 <