Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Köplinger <alex.koeplinger@outlook.com>2016-12-21 20:20:21 +0300
committerAlexander Köplinger <alex.koeplinger@outlook.com>2016-12-22 03:09:38 +0300
commit8027e0bb3954cb57870fd18071330e28030caee2 (patch)
tree07cc56ef6bc69a9df3c8acedc6f4b885aee8289c /mcs/class/System.Drawing
parent801cc685833e8db61816c879db0ef2f4bf5d3abd (diff)
[bcl] Clean up old run-test.bat and *.csproj files
They .bat files haven't been used for a long time and don't work anymore. The csproj files for the facades have a different name now.
Diffstat (limited to 'mcs/class/System.Drawing')
-rwxr-xr-xmcs/class/System.Drawing/makefile.build42
-rw-r--r--mcs/class/System.Drawing/run-tests.bat52
-rw-r--r--mcs/class/System.Drawing/run-tests.test.bat237
-rw-r--r--mcs/class/System.Drawing/runmonotestfixture.bat1
-rw-r--r--mcs/class/System.Drawing/runtestfixture.bat1
5 files changed, 0 insertions, 333 deletions
diff --git a/mcs/class/System.Drawing/makefile.build b/mcs/class/System.Drawing/makefile.build
deleted file mode 100755
index 963910d6980..00000000000
--- a/mcs/class/System.Drawing/makefile.build
+++ /dev/null
@@ -1,42 +0,0 @@
-<!--Minimalistic buildfile -->
-<project name="System.Drawing" default="all">
-<property name="ghroot" value="${project::get-base-directory()}\..\..\..\.."/>
- <!--Allways at the beginning-->
- <include buildfile="${ghroot}\vsbuild\properties.xml" />
-
- <!--MANDATORY SECTION-->
-
- <!--Could be GH ANT .NET-->
- <property name="projecttype" value=".NET2005"/>
- <!--Could be RUNTIME TOOLS ... -->
- <property name="rules" value="RUNTIME"/>
-
- <property name="msbuild_file" value="System.Drawing20.csproj"/>
- <property name="override_config" value="${ghconfiguration_ver}"/>
-
- <!--Fileset describing project output files. Uset by copy/delete rules in framework-->
- <fileset id="output" basedir="${project::get-base-directory()}\bin" failonempty="true">
- <include name="${ghconfiguration_ver}\System.Drawing.jar"/>
- <include name="${ghconfiguration_ver}\System.Drawing.dll"/>
- </fileset>
-
- <!--END MANDATORY SECTION-->
-
- <!--OPTIONAL SECTION-->
-<!--
- <target name="postbuild">
-
- </target>
--->
- <!--
- <property name="cvnsrc" value="svn://svn.myrealbox.com/source/trunk/mcs/<cvn_folder>"/>
- <target name="prebuild">
- Put something there if you need
- </target>
- -->
- <!--END OPTIONAL SECTION-->
-
-
- <!--Allways at the end-->
- <include buildfile="${ghroot}\vsbuild\framework.xml" />
-</project>
diff --git a/mcs/class/System.Drawing/run-tests.bat b/mcs/class/System.Drawing/run-tests.bat
deleted file mode 100644
index c1171713089..00000000000
--- a/mcs/class/System.Drawing/run-tests.bat
+++ /dev/null
@@ -1,52 +0,0 @@
-@echo off
-REM ********************************************************
-REM This batch call all the test batches with default parameters
-REM ********************************************************
-REM ********************************************************
-REM This batch file receives the follwing parameters:
-REM build/rebuild (optional): should the solution file be rebuilded
-REM or just builded before test run (default is rebuild)
-REM ********************************************************
-
-IF "%1"=="" (
- set BUILD_OPTION=rebuild
-) ELSE (
- set BUILD_OPTION=%1
-)
-
-IF "%2"=="" (
- set OUTPUT_FILE_PREFIX=System_Drawing_MonoTests
-) ELSE (
- set OUTPUT_FILE_PREFIX=%2
-)
-
-
-IF "%3"=="" (
- set RUNNING_FIXTURE=MonoTests
-) ELSE (
- set RUNNING_FIXTURE=%3
-)
-
-call run-tests.test.bat %BUILD_OPTION% %OUTPUT_FILE_PREFIX% %RUNNING_FIXTURE% "" ""
-
-IF "%1"=="" (
- set BUILD_OPTION=rebuild
-) ELSE (
- set BUILD_OPTION=%1
-)
-
-IF "%2"=="" (
- set OUTPUT_FILE_PREFIX=System_Drawing_Test
-) ELSE (
- set OUTPUT_FILE_PREFIX=%2
-)
-
-
-IF "%3"=="" (
- set RUNNING_FIXTURE=Test
-) ELSE (
- set RUNNING_FIXTURE=%3
-)
-
-@echo on
-call run-tests.test.bat %BUILD_OPTION% %OUTPUT_FILE_PREFIX% %RUNNING_FIXTURE% "Test\DrawingTest\Test" "..\..\..\" \ No newline at end of file
diff --git a/mcs/class/System.Drawing/run-tests.test.bat b/mcs/class/System.Drawing/run-tests.test.bat
deleted file mode 100644
index ee3fc84c267..00000000000
--- a/mcs/class/System.Drawing/run-tests.test.bat
+++ /dev/null
@@ -1,237 +0,0 @@
-@echo off
-REM ********************************************************
-REM This batch file receives the follwing parameters:
-REM build/rebuild (optional): should the solution file be rebuilded
-REM or just builded before test run (default is rebuild)
-REM output files name prefix (mandratory) : prefix for naming output xml files
-REM test fixture name (optional) : if you want to run some particular test fixture
-REM directory to run tests (optional)
-REM path back to root directory (opposite to previous param)
-REM example run-tests build GhTests Test.Sys.Drawing Test\DrawingTest\Test ..\..\..\
-REM will cause to build (and not rebuild) test solutions,
-REM running Test.Sys.Drawing fixture in directory Test\DrawingTest\Test
-REM with output files named GhTests.Net.xml and GhTests.GH.xml
-REM ********************************************************
-
-IF "%1"=="" GOTO USAGE
-
-IF "%VMW_HOME%"=="" GOTO ENVIRONMENT_EXCEPTION
-
-
-
-IF "%1"=="" (
- set BUILD_OPTION=rebuild
-) ELSE (
- set BUILD_OPTION=%1
-)
-
-REM ********************************************************
-REM Set parameters
-REM ********************************************************
-
-set BUILD_OPTION=%1
-set OUTPUT_FILE_PREFIX=%2
-set RUNNING_FIXTURE=%3
-set RUNNING_DIR=%~4
-set BACK_TO_ROOT_DIR=%~5
-
-set TEST_J2EE_SOLUTION=Test\System.Drawing.Test20.J2EE.sln
-set TEST_NET_SOLUTION=Test\System.Drawing.Test20.sln
-set TEST_J2EE_ASSEMBLY=System.Drawing.Test20.J2EE.jar
-set TEST_NET_ASSEMBLY=System.Drawing.Test.dll
-set PROJECT_J2EE_CONFIGURATION=Debug_Java20
-set PROJECT_NET_CONFIGURATION=Debug
-
-set startDate=%date%
-set startTime=%time%
-set sdy=%startDate:~10%
-set /a sdm=1%startDate:~4,2% - 100
-set /a sdd=1%startDate:~7,2% - 100
-set /a sth=%startTime:~0,2%
-set /a stm=1%startTime:~3,2% - 100
-set /a sts=1%startTime:~6,2% - 100
-set TIMESTAMP=%sdy%_%sdm%_%sdd%_%sth%_%stm%
-
-
-REM ********************************************************
-REM @echo Set environment
-REM ********************************************************
-
-set JGAC_PATH=%VMW_HOME%\java_refs\framework\
-set JAVA_HOME=%VMW_HOME%\jre
-
-set RUNTIME_CLASSPATH=%JGAC_PATH%mscorlib.jar
-set RUNTIME_CLASSPATH=%RUNTIME_CLASSPATH%;%JGAC_PATH%System.jar
-set RUNTIME_CLASSPATH=%RUNTIME_CLASSPATH%;%JGAC_PATH%System.Xml.jar
-set RUNTIME_CLASSPATH=%RUNTIME_CLASSPATH%;%JGAC_PATH%J2SE.Helpers.jar
-set RUNTIME_CLASSPATH=%RUNTIME_CLASSPATH%;%JGAC_PATH%jai_imageio.jar
-set RUNTIME_CLASSPATH=%RUNTIME_CLASSPATH%;%JGAC_PATH%System.Drawing.jar;
-set NUNIT_OPTIONS=/exclude=NotWorking
-
-if "%GH_VERSION%"=="" (
- set GH_VERSION=0_0_0_0
-)
-
-set COMMON_PREFIX=%TIMESTAMP%_%OUTPUT_FILE_PREFIX%.GH_%GH_VERSION%.1.%USERNAME%
-set GH_OUTPUT_XML=%COMMON_PREFIX%.xml
-set NET_OUTPUT_XML=%TIMESTAMP%_%OUTPUT_FILE_PREFIX%.Net.1.%USERNAME%.xml
-set BUILD_LOG=%COMMON_PREFIX%.build.log
-set RUN_LOG=%COMMON_PREFIX%.run.log
-
-set NUNIT_PATH=%BACK_TO_ROOT_DIR%..\..\nunit20\
-set NUNIT_CLASSPATH=%NUNIT_PATH%nunit-console\bin\%PROJECT_J2EE_CONFIGURATION%\nunit.framework.jar
-set NUNIT_CLASSPATH=%NUNIT_CLASSPATH%;%NUNIT_PATH%nunit-console\bin\%PROJECT_J2EE_CONFIGURATION%\nunit.util.jar
-set NUNIT_CLASSPATH=%NUNIT_CLASSPATH%;%NUNIT_PATH%nunit-console\bin\%PROJECT_J2EE_CONFIGURATION%\nunit.core.jar
-set NUNIT_CLASSPATH=%NUNIT_CLASSPATH%;%NUNIT_PATH%nunit-console\bin\%PROJECT_J2EE_CONFIGURATION%\nunit-console.jar
-set NUNIT_CLASSPATH=%NUNIT_CLASSPATH%;.
-set NUNIT_CLASSPATH=%NUNIT_CLASSPATH%;%TEST_J2EE_ASSEMBLY%
-
-set CLASSPATH="%RUNTIME_CLASSPATH%;%NUNIT_CLASSPATH%"
-
-REM ********************************************************
-@echo Building GH solution...
-REM ********************************************************
-
-REM devenv Test\DrawingTest\System.Drawing.Test.sln /%BUILD_OPTION% Debug_Java >>%RUNNING_FIXTURE%_build.log.txt 2<&1
-msbuild %TEST_J2EE_SOLUTION% /t:%BUILD_OPTION% /p:Configuration=%PROJECT_J2EE_CONFIGURATION% >>%BUILD_LOG% 2<&1
-
-IF %ERRORLEVEL% NEQ 0 GOTO BUILD_EXCEPTION
-
-REM ********************************************************
-@echo Building NUnit solution...
-REM ********************************************************
-
-if "%NUNIT_BUILD%" == "DONE" goto NUNITSKIP
-
-REM devenv ..\..\nunit20\nunit.java.sln /%BUILD_OPTION% Debug_Java >>%RUNNING_FIXTURE%_build.log.txt 2<&1
-msbuild ..\..\nunit20\nunit20.java.sln /t:%BUILD_OPTION% /p:Configuration=%PROJECT_J2EE_CONFIGURATION% >>%BUILD_LOG% 2<&1
-
-goto NUNITREADY
-
-:NUNITSKIP
-echo Skipping NUnit Build...
-
-:NUNITREADY
-set NUNIT_BUILD=DONE
-
-IF %ERRORLEVEL% NEQ 0 GOTO BUILD_EXCEPTION
-
-REM ********************************************************
-@echo Building .Net solution...
-REM ********************************************************
-
-REM devenv Test\DrawingTest\System.Drawing.Test.dotnet.sln /%BUILD_OPTION% Debug >%RUNNING_FIXTURE%_build.log.txt 2<&1
-msbuild %TEST_NET_SOLUTION% /t:%BUILD_OPTION% /p:Configuration=%PROJECT_NET_CONFIGURATION% >>%BUILD_LOG% 2<&1
-
-IF %ERRORLEVEL% NEQ 0 GOTO BUILD_EXCEPTION
-
-REM ********************************************************
-@echo Running Net reference tests...
-REM ********************************************************
-
-REM ********************************************************
-@echo Running fixture "%RUNNING_FIXTURE%" (in .NET)
-REM ********************************************************
-
-if "%RUNNING_DIR%" NEQ "" (
- cd %RUNNING_DIR% )
-
-if not exist Exocortex.DSP.v1.dll (
- copy %BACK_TO_ROOT_DIR%Test\DrawingTest\Test\Exocortex.DSP.v1.dll .)
-
-if not exist DrawingTest.dll (
- copy %BACK_TO_ROOT_DIR%Test\DrawingTest\Test\DrawingTest.dll . )
-
-if not exist %TEST_NET_ASSEMBLY% (
- copy %BACK_TO_ROOT_DIR%Test\DrawingTest\Test\%TEST_NET_ASSEMBLY% . )
-
-copy "%NUNIT_PATH%nunit-console\bin\%PROJECT_J2EE_CONFIGURATION%\nunit-console.exe" .
-copy "%NUNIT_PATH%nunit-console\bin\%PROJECT_J2EE_CONFIGURATION%\nunit.util.dll" .
-copy "%NUNIT_PATH%nunit-console\bin\%PROJECT_J2EE_CONFIGURATION%\nunit.core.dll" .
-copy "%NUNIT_PATH%nunit-console\bin\%PROJECT_J2EE_CONFIGURATION%\nunit.framework.dll" .
-echo "==== .NET reference ===" >> %RUN_LOG%
-nunit-console.exe /fixture:%RUNNING_FIXTURE% %TEST_NET_ASSEMBLY% %NUNIT_OPTIONS% /xml=%NET_OUTPUT_XML% >>%RUN_LOG% 2<&1
-echo "==== End .NET reference ===" >> %RUN_LOG%
-
-REM ********************************************************
-@echo Running GH tests...
-REM ********************************************************
-
-REM ********************************************************
-@echo Running fixture "%RUNNING_FIXTURE%"
-REM ********************************************************
-
-copy %BACK_TO_ROOT_DIR%Test\DrawingTest\Test\bin\%PROJECT_J2EE_CONFIGURATION%\Exocortex.DSP.v1.jar .
-copy %BACK_TO_ROOT_DIR%Test\DrawingTest\Test\bin\%PROJECT_J2EE_CONFIGURATION%\DrawingTest.jar .
-copy %BACK_TO_ROOT_DIR%Test\DrawingTest\Test\bin\%PROJECT_J2EE_CONFIGURATION%\%TEST_J2EE_ASSEMBLY% .
-
-
-REM @echo on
-"%JAVA_HOME%\bin\java" -Xmx1024M -cp %CLASSPATH% NUnit.Console.ConsoleUi %TEST_J2EE_ASSEMBLY% /fixture=%RUNNING_FIXTURE% %NUNIT_OPTIONS% /xml=%GH_OUTPUT_XML% >>%RUN_LOG% 2<&1
-REM @echo off
-
-if "%RUNNING_DIR%" NEQ "" (
- copy %NET_OUTPUT_XML% %BACK_TO_ROOT_DIR%
- copy %GH_OUTPUT_XML% %BACK_TO_ROOT_DIR%
- copy %RUN_LOG% %BACK_TO_ROOT_DIR%
- cd %BACK_TO_ROOT_DIR% )
-
-REM ********************************************************
-@echo Build XmlTool
-REM ********************************************************
-set XML_TOOL_PATH=..\..\tools\mono-xmltool
-
-if "%XMLTOOL_BUILD%" == "DONE" goto XMLTOOLSKIP
-
-REM devenv %XML_TOOL_PATH%\XmlTool.sln /%BUILD_OPTION% Debug_Java >>%RUNNING_FIXTURE%_build.log.txt 2<&1
-msbuild %XML_TOOL_PATH%\XmlTool20.csproj /t:%BUILD_OPTION% /p:Configuration=%PROJECT_J2EE_CONFIGURATION% >>%BUILD_LOG% 2<&1
-
-IF %ERRORLEVEL% NEQ 0 GOTO BUILD_EXCEPTION
-
-goto XMLTOOLREADY
-
-:XMLTOOLSKIP
-echo Skipping XmlToll build...
-
-:XMLTOOLREADY
-set XMLTOOL_BUILD=DONE
-
-copy %XML_TOOL_PATH%\bin\%PROJECT_J2EE_CONFIGURATION%\xmltool.exe .
-copy %XML_TOOL_PATH%\nunit_transform.xslt .
-
-REM ********************************************************
-@echo Analyze and print results
-REM ********************************************************
-@echo on
-xmltool.exe --transform nunit_transform.xslt %GH_OUTPUT_XML%
-@echo off
-
-:FINALLY
-GOTO END
-
-:ENVIRONMENT_EXCEPTION
-@echo This test requires environment variable VMW_HOME to be defined
-GOTO END
-
-:BUILD_EXCEPTION
-@echo Error in building solutions. See %BUILD_LOG% for details...
-REM EXIT 1
-GOTO END
-
-:RUN_EXCEPTION
-@echo Error in running fixture %RUNNING_FIXTURE%. See %RUN_LOG% for details...
-REM EXIT 1
-GOTO END
-
-:USAGE
-@echo Parameters: "[build|rebuild] <output_file_name_prefix> <test_fixture> <relative_Working_directory> <back_path (..\..\.....) >"
-GOTO END
-
-:END
-
-
-copy %RUN_LOG% ..\
-copy %BUILD_LOG% ..\
-copy %GH_OUTPUT_XML% ..\
-
-REM EXIT 0
diff --git a/mcs/class/System.Drawing/runmonotestfixture.bat b/mcs/class/System.Drawing/runmonotestfixture.bat
deleted file mode 100644
index 0f201c89d4b..00000000000
--- a/mcs/class/System.Drawing/runmonotestfixture.bat
+++ /dev/null
@@ -1 +0,0 @@
-run-tests.test.bat build %1 %1 "" "" \ No newline at end of file
diff --git a/mcs/class/System.Drawing/runtestfixture.bat b/mcs/class/System.Drawing/runtestfixture.bat
deleted file mode 100644
index 306dab973ee..00000000000
--- a/mcs/class/System.Drawing/runtestfixture.bat
+++ /dev/null
@@ -1 +0,0 @@
-run-tests.test.bat build %1 %1 Test\DrawingTest\Test ..\..\..\ \ No newline at end of file