add bat file and project forgotten in r68500
authorAndrew Skiba <andrews@mono-cvs.ximian.com>
Mon, 27 Nov 2006 12:52:08 +0000 (12:52 -0000)
committerAndrew Skiba <andrews@mono-cvs.ximian.com>
Mon, 27 Nov 2006 12:52:08 +0000 (12:52 -0000)
svn path=/trunk/mcs/; revision=68507

mcs/class/System/System-tests20.vmwcsproj [new file with mode: 0644]
mcs/class/System/run-tests.bat [new file with mode: 0644]

diff --git a/mcs/class/System/System-tests20.vmwcsproj b/mcs/class/System/System-tests20.vmwcsproj
new file mode 100644 (file)
index 0000000..c33bff9
--- /dev/null
@@ -0,0 +1,301 @@
+<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">\r
+  <PropertyGroup>\r
+    <Configuration Condition=" '$(Configuration)' == '' ">Debug_Java</Configuration>\r
+    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>\r
+    <ProductVersion>8.0.50727</ProductVersion>\r
+    <SchemaVersion>2.0</SchemaVersion>\r
+    <ProjectGuid>{25EA16E1-E3B8-4433-8533-23B0FB0F93BA}</ProjectGuid>\r
+    <OutputType>Library</OutputType>\r
+    <AppDesignerFolder>Properties</AppDesignerFolder>\r
+    <AssemblyName>System_tests</AssemblyName>\r
+    <JDKName>1.5.0_05</JDKName>\r
+    <GHProjectType>1</GHProjectType>\r
+    <GHProjectKind>framework</GHProjectKind>\r
+    <MergeExternal>..\lib\apache_http_client.jar</MergeExternal>\r
+    <Version>2.0</Version>\r
+    <RootNamespace>MonoTest</RootNamespace>\r
+    <jarserver>iap2</jarserver>\r
+    <StartupObject>\r
+    </StartupObject>\r
+    <RunPostBuildEvent>OnOutputUpdated</RunPostBuildEvent>\r
+  </PropertyGroup>\r
+  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release_Java20_bootstrap|AnyCPU' ">\r
+    <OutputPath>bin\Release_Java20_bootstrap\</OutputPath>\r
+    <DefineConstants>TRACE;TARGET_JVM;NET_1_1;NET_2_0</DefineConstants>\r
+    <BaseAddress>285212672</BaseAddress>\r
+    <Optimize>true</Optimize>\r
+    <DebugType>pdbonly</DebugType>\r
+    <PlatformTarget>AnyCPU</PlatformTarget>\r
+    <ErrorReport>prompt</ErrorReport>\r
+    <SkipValidation>True</SkipValidation>\r
+    <KeepIntermediate>False</KeepIntermediate>\r
+    <GHProjectType>1</GHProjectType>\r
+    <PreCompile>false</PreCompile>\r
+    <AdditionalClassPath>\r
+    </AdditionalClassPath>\r
+    <ApplicationServerType>\r
+    </ApplicationServerType>\r
+    <Version>2.0</Version>\r
+    <JDKName>1.5.0_05</JDKName>\r
+    <jarserver>iap2</jarserver>\r
+    <TargetPlatform>0</TargetPlatform>\r
+  </PropertyGroup>\r
+  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release_Java20|AnyCPU' ">\r
+    <OutputPath>bin\Release_Java20\</OutputPath>\r
+    <DefineConstants>TRACE;TARGET_JVM;NET_1_1;NET_2_0;XML_DEP;CONFIGURATION_DEP;CONFIGURATION_2_0</DefineConstants>\r
+    <BaseAddress>285212672</BaseAddress>\r
+    <Optimize>true</Optimize>\r
+    <DebugType>pdbonly</DebugType>\r
+    <PlatformTarget>AnyCPU</PlatformTarget>\r
+    <ErrorReport>prompt</ErrorReport>\r
+    <SkipValidation>False</SkipValidation>\r
+    <KeepIntermediate>False</KeepIntermediate>\r
+    <GHProjectType>1</GHProjectType>\r
+    <PreCompile>false</PreCompile>\r
+    <AdditionalClassPath>\r
+    </AdditionalClassPath>\r
+    <ApplicationServerType>\r
+    </ApplicationServerType>\r
+    <Version>2.0</Version>\r
+    <JDKName>1.5.0_05</JDKName>\r
+    <jarserver>iap2</jarserver>\r
+    <TargetPlatform>0</TargetPlatform>\r
+  </PropertyGroup>\r
+  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug_Java|AnyCPU' ">\r
+    <DebugSymbols>true</DebugSymbols>\r
+    <DebugType>full</DebugType>\r
+    <Optimize>false</Optimize>\r
+    <OutputPath>bin\Debug_Java\</OutputPath>\r
+    <DefineConstants>TRACE;DEBUG;TARGET_JVM;NET_1_1;ONLY_1_1;XML_DEP;CONFIGURATION_DEP</DefineConstants>\r
+    <ErrorReport>prompt</ErrorReport>\r
+    <WarningLevel>4</WarningLevel>\r
+    <BaseAddress>285212672</BaseAddress>\r
+    <SkipValidation>True</SkipValidation>\r
+    <KeepIntermediate>False</KeepIntermediate>\r
+    <TargetPlatform>0</TargetPlatform>\r
+    <AdditionalClassPath>\r
+    </AdditionalClassPath>\r
+  </PropertyGroup>\r
+  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release_Java|AnyCPU' ">\r
+    <DebugType>pdbonly</DebugType>\r
+    <Optimize>true</Optimize>\r
+    <OutputPath>bin\Release_Java\</OutputPath>\r
+    <DefineConstants>TRACE;TARGET_JVM;NET_1_1;ONLY_1_1;XML_DEP;CONFIGURATION_DEP</DefineConstants>\r
+    <ErrorReport>prompt</ErrorReport>\r
+    <WarningLevel>4</WarningLevel>\r
+    <BaseAddress>285212672</BaseAddress>\r
+    <SkipValidation>false</SkipValidation>\r
+    <KeepIntermediate>false</KeepIntermediate>\r
+    <TargetPlatform>0</TargetPlatform>\r
+    <AdditionalClassPath>\r
+    </AdditionalClassPath>\r
+  </PropertyGroup>\r
+  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug_Java20|AnyCPU' ">\r
+    <DebugSymbols>true</DebugSymbols>\r
+    <OutputPath>bin\Debug_Java20\</OutputPath>\r
+    <DefineConstants>TRACE;DEBUG;TARGET_JVM;NET_1_1;NET_2_0;XML_DEP;CONFIGURATION_DEP;CONFIGURATION_2_0</DefineConstants>\r
+    <BaseAddress>285212672</BaseAddress>\r
+    <DebugType>full</DebugType>\r
+    <PlatformTarget>AnyCPU</PlatformTarget>\r
+    <ErrorReport>prompt</ErrorReport>\r
+    <SkipValidation>True</SkipValidation>\r
+    <KeepIntermediate>False</KeepIntermediate>\r
+    <GHProjectType>1</GHProjectType>\r
+    <PreCompile>false</PreCompile>\r
+    <AdditionalClassPath>\r
+    </AdditionalClassPath>\r
+    <ApplicationServerType>\r
+    </ApplicationServerType>\r
+    <Version>2.0</Version>\r
+    <JDKName>1.5.0_05</JDKName>\r
+    <jarserver>iap2</jarserver>\r
+    <GHProjectKind>framework</GHProjectKind>\r
+    <TargetPlatform>0</TargetPlatform>\r
+  </PropertyGroup>\r
+  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug_Java20_bootstrap|AnyCPU' ">\r
+    <DebugSymbols>true</DebugSymbols>\r
+    <OutputPath>bin\Debug_Java20_bootstrap\</OutputPath>\r
+    <DefineConstants>TRACE;TARGET_JVM;NET_1_1;NET_2_0;DEBUG</DefineConstants>\r
+    <BaseAddress>285212672</BaseAddress>\r
+    <DebugType>full</DebugType>\r
+    <PlatformTarget>AnyCPU</PlatformTarget>\r
+    <ErrorReport>prompt</ErrorReport>\r
+    <SkipValidation>false</SkipValidation>\r
+    <KeepIntermediate>false</KeepIntermediate>\r
+    <GHProjectType>1</GHProjectType>\r
+    <PreCompile>false</PreCompile>\r
+    <AdditionalClassPath>\r
+    </AdditionalClassPath>\r
+    <ApplicationServerType>\r
+    </ApplicationServerType>\r
+    <Version>2.0</Version>\r
+    <JDKName>1.5.0_05</JDKName>\r
+    <jarserver>iap2</jarserver>\r
+    <TargetPlatform>0</TargetPlatform>\r
+  </PropertyGroup>\r
+  <Import Project="$(MSBuildBinPath)\Microsoft.csharp.targets" />\r
+  <Import Project="$(VMW_HOME)\bin\Mainsoft.Common.targets" />\r
+  <!-- To modify your build process, add your task inside one of the targets below and uncomment it. \r
+       Other similar extension points exist, see Microsoft.Common.targets.\r
+  <Target Name="BeforeBuild">\r
+  </Target>\r
+  <Target Name="AfterBuild">\r
+  </Target>\r
+  -->\r
+  <ProjectExtensions>\r
+    <VisualStudio>\r
+      <UserProperties REFS-JarPath-nunit-framework="..\..\nunit20\core\bin\Debug_Java20\nunit.framework.jar" REFS-JarPath-system-xml="..\..\..\..\..\Program Files\Mainsoft\Visual MainWin for J2EE V2\jgac\vmw4j2ee_110\System.Xml.jar" REFS-JarPath-mscorlib="..\..\..\..\..\Program Files\Mainsoft\Visual MainWin for J2EE V2\jgac\vmw4j2ee_110\mscorlib.jar" REFS-JarPath-rt="..\..\..\..\..\Program Files\Mainsoft\Visual MainWin for J2EE V2\jre5\lib\rt.jar" REFS-JarPath-system-configuration="..\..\..\..\..\Program Files\Mainsoft\Visual MainWin for J2EE V2\jgac\vmw4j2ee_110\System.Configuration.jar" REFS-JarPath-system="..\..\..\..\..\Program Files\Mainsoft\Visual MainWin for J2EE V2\jgac\vmw4j2ee_110\System.jar" REFS-JarPath-system-drawing="..\..\..\..\..\Program Files\Mainsoft\Visual MainWin for J2EE V2\jgac\vmw4j2ee_110\System.Drawing.jar;..\..\..\..\..\Program Files\Mainsoft\Visual MainWin for J2EE V2\jgac\vmw4j2ee_110\jai_imageio.jar;..\..\..\..\..\Program Files\Mainsoft\Visual MainWin for J2EE V2\jgac\vmw4j2ee_110\jai_core.jar;..\..\..\..\..\Program Files\Mainsoft\Visual MainWin for J2EE V2\jgac\vmw4j2ee_110\jai_codec.jar;..\..\..\..\..\Program Files\Mainsoft\Visual MainWin for J2EE V2\jgac\vmw4j2ee_110\clibwrapper_jiio.jar;..\..\..\..\..\Program Files\Mainsoft\Visual MainWin for J2EE V2\jgac\vmw4j2ee_110\mlibwrapper_jai.jar" />\r
+    </VisualStudio>\r
+  </ProjectExtensions>\r
+  <ItemGroup>\r
+    <Reference Include="nunit.framework, Version=2.2.0.0, Culture=neutral, processorArchitecture=MSIL">\r
+      <SpecificVersion>False</SpecificVersion>\r
+      <HintPath>..\..\nunit20\framework\bin\Debug_Java20\nunit.framework.dll</HintPath>\r
+      <Private>True</Private>\r
+    </Reference>\r
+    <Reference Include="System">\r
+      <Private>False</Private>\r
+    </Reference>\r
+    <Reference Include="System.Configuration">\r
+      <Private>False</Private>\r
+    </Reference>\r
+    <Reference Include="System.Drawing" />\r
+    <Reference Include="System.XML" />\r
+  </ItemGroup>\r
+  <PropertyGroup>\r
+    <PostBuildEvent>\r
+    </PostBuildEvent>\r
+  </PropertyGroup>\r
+  <ItemGroup>\r
+    <Compile Include="Test\System.Collections.Generic\LinkedListTest.cs" />\r
+    <Compile Include="Test\System.Collections.Generic\QueueTest.cs" />\r
+    <Compile Include="Test\System.Collections.Generic\SortedDictionaryTest.cs" />\r
+    <Compile Include="Test\System.Collections.Generic\SortedListTest.cs" />\r
+    <Compile Include="Test\System.Collections.Generic\StackTest.cs" />\r
+    <Compile Include="Test\System.Collections.Specialized\BasicOperationsTest.cs" />\r
+    <Compile Include="Test\System.Collections.Specialized\BitVector32Test.cs" />\r
+    <Compile Include="Test\System.Collections.Specialized\HybridDictionaryTest.cs" />\r
+    <Compile Include="Test\System.Collections.Specialized\ListDictionaryTest.cs" />\r
+    <Compile Include="Test\System.Collections.Specialized\NameObjectCollectionBaseTest.cs" />\r
+    <Compile Include="Test\System.Collections.Specialized\NameValueCollectionTest.cs" />\r
+    <Compile Include="Test\System.Collections.Specialized\OrderedDictionaryTest.cs" />\r
+    <Compile Include="Test\System.Collections.Specialized\StringCollectionTest.cs" />\r
+    <Compile Include="Test\System.Collections.Specialized\StringDictionaryTest.cs" />\r
+    <Compile Include="Test\System.ComponentModel.Design.Serialization\InstanceDescriptorTest.cs" />\r
+    <Compile Include="Test\System.ComponentModel.Design\ServiceContainerTest.cs" />\r
+    <Compile Include="Test\System.ComponentModel\ArrayConverterTests.cs" />\r
+    <Compile Include="Test\System.ComponentModel\ByteConverterTests.cs" />\r
+    <Compile Include="Test\System.ComponentModel\CollectionConverterTest.cs" />\r
+    <Compile Include="Test\System.ComponentModel\ContainerTest.cs">\r
+      <SubType>Component</SubType>\r
+    </Compile>\r
+    <Compile Include="Test\System.ComponentModel\DateTimeConverterTests.cs" />\r
+    <Compile Include="Test\System.ComponentModel\DecimalConverterTests.cs" />\r
+    <Compile Include="Test\System.ComponentModel\DoubleConverterTests.cs" />\r
+    <Compile Include="Test\System.ComponentModel\EventHandlerListTests.cs" />\r
+    <Compile Include="Test\System.ComponentModel\Int16ConverterTests.cs" />\r
+    <Compile Include="Test\System.ComponentModel\Int32ConverterTests.cs" />\r
+    <Compile Include="Test\System.ComponentModel\Int64ConverterTests.cs" />\r
+    <Compile Include="Test\System.ComponentModel\LicenseManagerTests.cs" />\r
+    <Compile Include="Test\System.ComponentModel\PropertyDescriptorCollectionTests.cs" />\r
+    <Compile Include="Test\System.ComponentModel\PropertyDescriptorTests.cs" />\r
+    <Compile Include="Test\System.ComponentModel\SByteConverterTests.cs" />\r
+    <Compile Include="Test\System.ComponentModel\SingleConverterTests.cs" />\r
+    <Compile Include="Test\System.ComponentModel\ToolboxItemAttributeTests.cs" />\r
+    <Compile Include="Test\System.ComponentModel\TypeConverterTests.cs" />\r
+    <Compile Include="Test\System.ComponentModel\TypeDescriptorTests.cs">\r
+      <SubType>Component</SubType>\r
+    </Compile>\r
+    <Compile Include="Test\System.ComponentModel\UInt16ConverterTests.cs" />\r
+    <Compile Include="Test\System.ComponentModel\UInt32ConverterTests.cs" />\r
+    <Compile Include="Test\System.ComponentModel\UInt64ConverterTests.cs" />\r
+    <Compile Include="Test\System.Configuration.Provider\ProviderBaseTest.cs" />\r
+    <Compile Include="Test\System.Configuration\ApplicationSettingsBaseTest.cs" />\r
+    <Compile Include="Test\System.Configuration\LocalFileSettingsProviderTest.cs" />\r
+    <Compile Include="Test\System.Configuration\ProviderCollectionTest.cs" />\r
+    <Compile Include="Test\System.Configuration\SettingsPropertyCollectionTest.cs" />\r
+    <Compile Include="Test\System.Configuration\SettingsPropertyTest.cs" />\r
+    <Compile Include="Test\System.Configuration\SettingsPropertyValueCollectionTest.cs" />\r
+    <Compile Include="Test\System.Configuration\SettingsPropertyValueTest.cs" />\r
+    <Compile Include="Test\System.Net.Configuration\ConnectionManagementSectionTest.cs" />\r
+    <Compile Include="Test\System.Net.Configuration\HttpWebRequestElementTest.cs" />\r
+    <Compile Include="Test\System.Net.Configuration\WebRequestModulesSectionTest.cs" />\r
+    <Compile Include="Test\System.Net.Mail\AlternateViewCollectionTest.cs" />\r
+    <Compile Include="Test\System.Net.Mail\AlternateViewTest.cs" />\r
+    <Compile Include="Test\System.Net.Mail\AttachmentCollectionTest.cs" />\r
+    <Compile Include="Test\System.Net.Mail\AttachmentTest.cs" />\r
+    <Compile Include="Test\System.Net.Mail\LinkedResourceCollectionTest.cs" />\r
+    <Compile Include="Test\System.Net.Mail\LinkedResourceTest.cs" />\r
+    <Compile Include="Test\System.Net.Mail\MailAddressCollectionTest.cs" />\r
+    <Compile Include="Test\System.Net.Mail\MailAddressTest.cs" />\r
+    <Compile Include="Test\System.Net.Mail\MailMessageTest.cs" />\r
+    <Compile Include="Test\System.Net.Mail\SmtpClientTest.cs" />\r
+    <Compile Include="Test\System.Net.Mime\ContentDispositionTest.cs" />\r
+    <Compile Include="Test\System.Net.Mime\ContentTypeTest.cs" />\r
+    <Compile Include="Test\System.Net.Sockets\SocketTest.cs" />\r
+    <Compile Include="Test\System.Net.Sockets\TcpClientTest.cs" />\r
+    <Compile Include="Test\System.Net.Sockets\TcpListenerTest.cs" />\r
+    <Compile Include="Test\System.Net.Sockets\UdpClientTest.cs" />\r
+    <Compile Include="Test\System.Net\CookieCollectionTest.cs" />\r
+    <Compile Include="Test\System.Net\CookieContainerTest.cs" />\r
+    <Compile Include="Test\System.Net\CookieTest.cs" />\r
+    <Compile Include="Test\System.Net\CredentialCacheTest.cs" />\r
+    <Compile Include="Test\System.Net\DnsPermissionAttributeTest.cs" />\r
+    <Compile Include="Test\System.Net\DnsPermissionTest.cs" />\r
+    <Compile Include="Test\System.Net\DnsTest.cs" />\r
+    <Compile Include="Test\System.Net\FileWebRequestTest.cs" />\r
+    <Compile Include="Test\System.Net\FtpWebRequestTest.cs" />\r
+    <Compile Include="Test\System.Net\HttpListener2Test.cs" />\r
+    <Compile Include="Test\System.Net\HttpListenerBasicIdentityTest.cs" />\r
+    <Compile Include="Test\System.Net\HttpListenerPrefixCollectionTest.cs" />\r
+    <Compile Include="Test\System.Net\HttpListenerTest.cs" />\r
+    <Compile Include="Test\System.Net\HttpWebRequestTest.cs" />\r
+    <Compile Include="Test\System.Net\IPAddressTest.cs" />\r
+    <Compile Include="Test\System.Net\IPEndPointTest.cs" />\r
+    <Compile Include="Test\System.Net\ServicePointManagerTest.cs" />\r
+    <Compile Include="Test\System.Net\ServicePointTest.cs" />\r
+    <Compile Include="Test\System.Net\SocketPermissionAttributeTest.cs" />\r
+    <Compile Include="Test\System.Net\SocketPermissionTest.cs" />\r
+    <Compile Include="Test\System.Net\WebHeaderCollectionTest.cs" />\r
+    <Compile Include="Test\System.Net\WebPermissionAttributeTest.cs" />\r
+    <Compile Include="Test\System.Net\WebProxyTest.cs" />\r
+    <Compile Include="Test\System.Net\WebRequestTest.cs" />\r
+    <Compile Include="Test\System.Security.Permissions\ResourcePermissionBaseEntryTest.cs" />\r
+    <Compile Include="Test\System.Security.Permissions\ResourcePermissionBaseTest.cs" />\r
+    <Compile Include="Test\System.Security.Permissions\StorePermissionAttributeTest.cs" />\r
+    <Compile Include="Test\System.Security.Permissions\StorePermissionTest.cs" />\r
+    <Compile Include="Test\System.Text.RegularExpressions\GroupTest.cs" />\r
+    <Compile Include="Test\System.Text.RegularExpressions\MatchTest.cs" />\r
+    <Compile Include="Test\System.Text.RegularExpressions\PerlTest.cs" />\r
+    <Compile Include="Test\System.Text.RegularExpressions\PerlTrials.cs" />\r
+    <Compile Include="Test\System.Text.RegularExpressions\RegexBugs.cs" />\r
+    <Compile Include="Test\System.Text.RegularExpressions\RegexCompilationInfoTest.cs" />\r
+    <Compile Include="Test\System.Text.RegularExpressions\RegexReplace.cs" />\r
+    <Compile Include="Test\System.Text.RegularExpressions\RegexTest.cs" />\r
+    <Compile Include="Test\System.Text.RegularExpressions\RegexTrial.cs" />\r
+    <Compile Include="Test\System.Timers\TimersDescriptionAttributeTest.cs" />\r
+    <Compile Include="Test\System.Timers\TimerTest.cs" />\r
+    <Compile Include="Test\System\FileStyleUriParserTest.cs" />\r
+    <Compile Include="Test\System\FtpStyleUriParserTest.cs" />\r
+    <Compile Include="Test\System\GenericUriParserTest.cs" />\r
+    <Compile Include="Test\System\GopherStyleUriParserTest.cs" />\r
+    <Compile Include="Test\System\HttpStyleUriParserTest.cs" />\r
+    <Compile Include="Test\System\LdapStyleUriParserTest.cs" />\r
+    <Compile Include="Test\System\NetPipeStyleUriParserTest.cs" />\r
+    <Compile Include="Test\System\NetTcpStyleUriParserTest.cs" />\r
+    <Compile Include="Test\System\NewsStyleUriParserTest.cs" />\r
+    <Compile Include="Test\System\uri-test-generator.cs" />\r
+    <Compile Include="Test\System\UriBuilderTest.cs" />\r
+    <Compile Include="Test\System\UriParserTest.cs" />\r
+    <Compile Include="Test\System\UriTest.cs" />\r
+    <Compile Include="Test\System\UriTest2.cs" />\r
+    <Compile Include="Test\System\UriTest3.cs" />\r
+    <Compile Include="Test\System\UriTypeConverterTest.cs" />\r
+  </ItemGroup>\r
+  <ItemGroup>\r
+    <Folder Include="Test\System.Diagnostics\" />\r
+    <Folder Include="Test\System.IO.Compression\" />\r
+    <Folder Include="Test\System.IO\" />\r
+    <Folder Include="Test\System.Threading\" />\r
+  </ItemGroup>\r
+</Project>
\ No newline at end of file
diff --git a/mcs/class/System/run-tests.bat b/mcs/class/System/run-tests.bat
new file mode 100644 (file)
index 0000000..8ceefb5
--- /dev/null
@@ -0,0 +1,102 @@
+rem @echo off\r
+REM ********************************************************\r
+REM This batch file receives the follwing parameters:\r
+REM build/rebuild (optional): should the solution file be rebuilded \r
+REM                             or just builded before test run (default is rebuild)\r
+REM example run-tests build \r
+REM will cause to build (and not rebuild) test solutions,\r
+REM ********************************************************\r
+\r
+IF "%JAVA_HOME%"=="" GOTO ENVIRONMENT_EXCEPTION\r
+\r
+IF "%VMW_HOME%"=="" GOTO ENVIRONMENT_EXCEPTION\r
+IF "%GHROOT%"=="" set GHROOT=%VMW_HOME%\r
+\r
+REM ********************************************************\r
+REM Set parameters\r
+REM ********************************************************\r
+\r
+IF "%1"=="" (\r
+       set BUILD_OPTION=rebuild\r
+) ELSE (\r
+       set BUILD_OPTION=%1\r
+)\r
+set OUTPUT_FILE_PREFIX=GH_TEST\r
+\r
+\r
+REM ********************************************************\r
+REM @echo Set environment\r
+REM ********************************************************\r
+\r
+set JGAC_PATH=%VMW_HOME%\jgac\vmw4j2ee_110\r
+set RUNTIME_CLASSPATH=%JGAC_PATH%\mscorlib.jar;%JGAC_PATH%\System.jar;%JGAC_PATH%\System.Xml.jar;%JGAC_PATH%\J2SE.Helpers.jar;\r
+set NUNIT_OPTIONS=/exclude=NotWorking,CAS,InetAccess\r
+set PROJECT_CONFIGURATION=Debug_Java20\r
+set GH_OUTPUT_XML=nunit_results.xml\r
+set NUNIT_PATH=..\..\nunit20\r
+set NUNIT_CLASSPATH=%NUNIT_PATH%\nunit-console\bin\%PROJECT_CONFIGURATION%\nunit.framework.jar;%NUNIT_PATH%\nunit-console\bin\%PROJECT_CONFIGURATION%\nunit.util.jar;%NUNIT_PATH%\nunit-console\bin\%PROJECT_CONFIGURATION%\nunit.core.jar;%NUNIT_PATH%\nunit-console\bin\%PROJECT_CONFIGURATION%\nunit-console.jar\r
+set CLASSPATH="%RUNTIME_CLASSPATH%;%NUNIT_CLASSPATH%"\r
+\r
+REM ********************************************************\r
+@echo Building NUnit solution...\r
+REM ********************************************************\r
+\r
+if "%NUNIT_BUILD%" == "DONE" goto NUNITSKIP\r
+msbuild %NUNIT_PATH%\nunit20.java.sln /t:%BUILD_OPTION% /p:configuration=%PROJECT_CONFIGURATION% >build.log.txt 2<&1\r
+\r
+IF %ERRORLEVEL% NEQ 0 GOTO BUILD_EXCEPTION\r
+\r
+set NUNIT_BUILD=DONE\r
+\r
+:NUNITSKIP\r
+echo Skipping NUnit Build...\r
+\r
+\r
+\r
+REM ********************************************************\r
+@echo Build XmlTool\r
+REM ********************************************************\r
+set XML_TOOL_PATH=..\..\tools\mono-xmltool\r
+msbuild %XML_TOOL_PATH%\XmlTool20.sln /p:configuration=Debug >>build.log.txt 2<&1\r
+IF %ERRORLEVEL% NEQ 0 GOTO BUILD_EXCEPTION\r
+copy %XML_TOOL_PATH%\bin\Debug\xmltool20.exe .\r
+copy %XML_TOOL_PATH%\nunit_transform.xslt .\r
+\r
+REM ********************************************************\r
+@echo Building GH solution...\r
+REM ********************************************************\r
+msbuild System-tests20.sln /t:%BUILD_OPTION% /p:configuration=%PROJECT_CONFIGURATION% >>build.log.txt 2<&1\r
+IF %ERRORLEVEL% NEQ 0 GOTO BUILD_EXCEPTION\r
+\r
+REM ********************************************************\r
+@echo Running GH tests...\r
+REM ********************************************************\r
+@echo on\r
+"%JAVA_HOME%\bin\java" -Xmx1024M -cp %CLASSPATH% NUnit.Console.ConsoleUi /xml=%GH_OUTPUT_XML% bin\%PROJECT_CONFIGURATION%\System_tests.jar %NUNIT_OPTIONS%   >run.log.txt 2<&1\r
+@echo off\r
+\r
+REM ********************************************************\r
+@echo Analyze and print results\r
+REM ********************************************************\r
+@echo on\r
+xmltool20.exe --transform nunit_transform.xslt %GH_OUTPUT_XML%\r
+@echo off\r
+\r
+:FINALLY\r
+GOTO END\r
+\r
+:ENVIRONMENT_EXCEPTION\r
+@echo This test requires environment variables JAVA_HOME and VMW_HOME to be defined\r
+GOTO END\r
+\r
+:BUILD_EXCEPTION\r
+popd\r
+@echo Error in building solutions. See build.log.txt for details...\r
+GOTO END\r
+\r
+:RUN_EXCEPTION\r
+popd\r
+@echo Error in running fixture. See run.log.txt for details...\r
+GOTO END\r
+\r
+:END\r