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.Data.OracleClient | |
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.Data.OracleClient')
-rwxr-xr-x | mcs/class/System.Data.OracleClient/makefile.build | 42 | ||||
-rw-r--r-- | mcs/class/System.Data.OracleClient/run-tests.bat | 20 | ||||
-rw-r--r-- | mcs/class/System.Data.OracleClient/run-tests.test.bat | 188 |
3 files changed, 0 insertions, 250 deletions
diff --git a/mcs/class/System.Data.OracleClient/makefile.build b/mcs/class/System.Data.OracleClient/makefile.build deleted file mode 100755 index 0dc3914df57..00000000000 --- a/mcs/class/System.Data.OracleClient/makefile.build +++ /dev/null @@ -1,42 +0,0 @@ -<!--Minimalistic buildfile -->
-<project name="System.Data.OracleClient" 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.Data.OracleClient20.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.Data.OracleClient.jar"/>
- <include name="${ghconfiguration_ver}\System.Data.OracleClient.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.Data.OracleClient/run-tests.bat b/mcs/class/System.Data.OracleClient/run-tests.bat deleted file mode 100644 index 046c9be683d..00000000000 --- a/mcs/class/System.Data.OracleClient/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 -) - - -call run-tests.test.bat %BUILD_OPTION% - - diff --git a/mcs/class/System.Data.OracleClient/run-tests.test.bat b/mcs/class/System.Data.OracleClient/run-tests.test.bat deleted file mode 100644 index 20d982c4d92..00000000000 --- a/mcs/class/System.Data.OracleClient/run-tests.test.bat +++ /dev/null @@ -1,188 +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_Data_OracleClient -set RUNNING_FIXTURE=MonoTests.System.Data.OracleClient -set TEST_SOLUTION=Test\System.Data.OracleClient.Tests20.J2EE.sln -set TEST_ASSEMBLY=System.Data.OracleClient.Tests20.J2EE.jar -set PROJECT_CONFIGURATION=Debug_Java20 -set APP_CONFIG_FILE=Test\System.Data.OracleClient.J2EE.config - - -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.Data.jar -set RUNTIME_CLASSPATH=%RUNTIME_CLASSPATH%;%JGAC_PATH%J2SE.Helpers.jar -set RUNTIME_CLASSPATH=%RUNTIME_CLASSPATH%;%JGAC_PATH%System.Data.OracleClient.jar - -set RUNTIME_CLASSPATH=%RUNTIME_CLASSPATH%;%VMW_HOME%\java_refs\jdbc\ojdbc14.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% . -copy %APP_CONFIG_FILE% nunit-console.exe.config - -REM @echo on -"%JAVA_HOME%\bin\java" -Xmx1024M -cp %CLASSPATH% NUnit.Console.ConsoleUi %TEST_ASSEMBLY% %NUNIT_OPTIONS% /xml=%GH_OUTPUT_XML% >>%RUN_LOG% 2<&1 -REM @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% Debug_Java >>%RUNNING_FIXTURE%_build.log.txt 2<&1 -msbuild %XML_TOOL_PATH%\XmlTool20.vmwcsproj /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]" -GOTO END - -:END -copy %RUN_LOG% ..\ -copy %BUILD_LOG% ..\ -copy %GH_OUTPUT_XML% ..\ - -REM EXIT 0 |