diff options
author | Alexander Köplinger <alex.koeplinger@outlook.com> | 2016-12-21 20:20:21 +0300 |
---|---|---|
committer | Alexander Köplinger <alex.koeplinger@outlook.com> | 2016-12-22 03:09:38 +0300 |
commit | 8027e0bb3954cb57870fd18071330e28030caee2 (patch) | |
tree | 07cc56ef6bc69a9df3c8acedc6f4b885aee8289c /mcs/class/System.Configuration | |
parent | 801cc685833e8db61816c879db0ef2f4bf5d3abd (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.Configuration')
-rwxr-xr-x | mcs/class/System.Configuration/makefile.build | 42 | ||||
-rw-r--r-- | mcs/class/System.Configuration/run-tests.bat | 20 | ||||
-rw-r--r-- | mcs/class/System.Configuration/run-tests.test.bat | 183 |
3 files changed, 0 insertions, 245 deletions
diff --git a/mcs/class/System.Configuration/makefile.build b/mcs/class/System.Configuration/makefile.build deleted file mode 100755 index c6f0660ad20..00000000000 --- a/mcs/class/System.Configuration/makefile.build +++ /dev/null @@ -1,42 +0,0 @@ -<!--Minimalistic buildfile -->
-<project name="Mainsoft.Web.PortalControls20" 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.Configuration20.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.Configuration.jar"/>
- <include name="${ghconfiguration_ver}\System.Configuration.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.Configuration/run-tests.bat b/mcs/class/System.Configuration/run-tests.bat deleted file mode 100644 index aca403870ce..00000000000 --- a/mcs/class/System.Configuration/run-tests.bat +++ /dev/null @@ -1,20 +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
-)
-
-set OUTPUT_FILE_PREFIX=MonoTests.System.DirectoryServices
-set RUNNING_FIXTURE=MonoTests.System.Configuration
-
-call run-tests.test.bat %BUILD_OPTION% %SECURE_MODE% %OUTPUT_FILE_PREFIX% %RUNNING_FIXTURE%
diff --git a/mcs/class/System.Configuration/run-tests.test.bat b/mcs/class/System.Configuration/run-tests.test.bat deleted file mode 100644 index e1b1189e231..00000000000 --- a/mcs/class/System.Configuration/run-tests.test.bat +++ /dev/null @@ -1,183 +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=System_Configuration_MonoTests -set RUNNING_FIXTURE=MonoTests.System.Configuration -set TEST_SOLUTION=Test\System.Configuration.Test20.sln -set TEST_ASSEMBLY=System.Configuration.Test20.jar -set PROJECT_CONFIGURATION=Debug_Java20 - - -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%System.Web.jar -set RUNTIME_CLASSPATH=%RUNTIME_CLASSPATH%;%JGAC_PATH%System.Configuration.jar -set RUNTIME_CLASSPATH=%RUNTIME_CLASSPATH%;%JGAC_PATH%J2SE.Helpers.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 BUILD_LOG=%COMMON_PREFIX%.build.log -set RUN_LOG=%COMMON_PREFIX%.run.log - -set NUNIT_PATH=..\..\nunit20\ -set NUNIT_CLASSPATH=%NUNIT_PATH%nunit-console\bin\%PROJECT_CONFIGURATION%\nunit.framework.jar -set NUNIT_CLASSPATH=%NUNIT_CLASSPATH%;%NUNIT_PATH%nunit-console\bin\%PROJECT_CONFIGURATION%\nunit.util.jar -set NUNIT_CLASSPATH=%NUNIT_CLASSPATH%;%NUNIT_PATH%nunit-console\bin\%PROJECT_CONFIGURATION%\nunit.core.jar -set NUNIT_CLASSPATH=%NUNIT_CLASSPATH%;%NUNIT_PATH%nunit-console\bin\%PROJECT_CONFIGURATION%\nunit-console.jar -set NUNIT_CLASSPATH=%NUNIT_CLASSPATH%;. -set NUNIT_CLASSPATH=%NUNIT_CLASSPATH%;%TEST_ASSEMBLY% - -set CLASSPATH="%RUNTIME_CLASSPATH%;%NUNIT_CLASSPATH%" - -REM ******************************************************** -@echo Building GH solution... -REM ******************************************************** - -rem devenv %TEST_SOLUTION% /%BUILD_OPTION% %PROJECT_CONFIGURATION% >>%RUNNING_FIXTURE%_build.log.txt 2<&1 -msbuild %TEST_SOLUTION% /t:%BUILD_OPTION% /p:Configuration=%PROJECT_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% %PROJECT_CONFIGURATION% >>%RUNNING_FIXTURE%_build.log.txt 2<&1 -msbuild ..\..\nunit20\nunit20.java.sln /t:%BUILD_OPTION% /p:Configuration=%PROJECT_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 Running GH tests... -REM ******************************************************** - -REM ******************************************************** -@echo Running fixture "%RUNNING_FIXTURE%" -REM ******************************************************** - -copy Test\bin\%PROJECT_CONFIGURATION%\%TEST_ASSEMBLY% . - -@echo on -"%JAVA_HOME%\bin\java" -Xmx1024M -cp %CLASSPATH% NUnit.Console.ConsoleUi %TEST_ASSEMBLY% /fixture=%RUNNING_FIXTURE% %NUNIT_OPTIONS% /xml=%GH_OUTPUT_XML% >>%RUN_LOG% 2<&1 -@echo off - -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% %PROJECT_CONFIGURATION% >>%RUNNING_FIXTURE%_build.log.txt 2<&1 -msbuild %XML_TOOL_PATH%\XmlTool20.csproj /t:%BUILD_OPTION% /p:Configuration=%PROJECT_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_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 |