Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
msbuild script, running tests via Gallio
Signed-off-by: mausch <mauricioscheffer@gmail.com> Signed-off-by: Meinrad Recheis <meinrad.recheis@gmail.com>
- Loading branch information
Showing
22 changed files
with
24,029 additions
and
4,118 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,4 +8,5 @@ obj | |
*.user | ||
*.suo | ||
*.bak | ||
*.sln.cache | ||
_ReSharper* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003" DefaultTargets="Build" ToolsVersion="3.5"> | ||
<UsingTask AssemblyFile="$(MSBuildProjectDirectory)\extern\Gallio.MSBuildTasks.dll" TaskName="Gallio" /> | ||
<Target Name="Clean"> | ||
<MSBuild Projects="GitSharp.sln" StopOnFirstFailure="true" Properties="$(BuildConfigProp)" BuildInParallel="true" Targets="Clean"/> | ||
</Target> | ||
<Target Name="Build"> | ||
<MSBuild Projects="GitSharp.sln" StopOnFirstFailure="true" Properties="$(BuildConfigProp)" BuildInParallel="true" Targets="Rebuild"/> | ||
</Target> | ||
<Target Name="SetRelease"> | ||
<PropertyGroup> | ||
<BuildConfig>Release</BuildConfig> | ||
<BuildConfigProp>Configuration=$(BuildConfig)</BuildConfigProp> | ||
</PropertyGroup> | ||
</Target> | ||
<Target Name="Test" DependsOnTargets="Build"> | ||
<ItemGroup> | ||
<TestAssemblies Include="$(MSBuildProjectDirectory)\Tests\bin\Debug\GitSharp.Tests.dll"/> | ||
</ItemGroup> | ||
<Gallio IgnoreFailures="true" PluginDirectories="$(MSBuildProjectDirectory)\extern" Files="@(TestAssemblies)"> | ||
<Output TaskParameter="ExitCode" PropertyName="ExitCode"/> | ||
</Gallio> | ||
<Error Text="Tests execution failed" Condition="'$(ExitCode)' != 0" /> | ||
</Target> | ||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
Copyright 2005-2008 Gallio Project - http://www.gallio.org/ | ||
Portions Copyright 2000-2004 Jonathan de Halleux | ||
|
||
Licensed under the Apache License, Version 2.0 (the "License"); | ||
you may not use this file except in compliance with the License. | ||
You may obtain a copy of the License at | ||
|
||
http://www.apache.org/licenses/LICENSE-2.0 | ||
|
||
Unless required by applicable law or agreed to in writing, software | ||
distributed under the License is distributed on an "AS IS" BASIS, | ||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
See the License for the specific language governing permissions and | ||
limitations under the License. |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
<?xml version="1.0" encoding="utf-8" ?> | ||
<configuration> | ||
<runtime> | ||
<legacyUnhandledExceptionPolicy enabled="1" /> | ||
</runtime> | ||
|
||
<system.runtime.remoting> | ||
<customErrors mode="off"/> | ||
</system.runtime.remoting> | ||
|
||
<system.diagnostics> | ||
<assert assertuienabled="false" /> | ||
</system.diagnostics> | ||
|
||
<!-- We select the runtime version by setting the COMPLUS_Version environment variable. | ||
Unfortunately, these settings will override the contents of that variable, so | ||
we cannot use them for the host application. | ||
<startup> | ||
<supportedRuntime version="v4.0.20506" /> | ||
<supportedRuntime version="v2.0.50727" /> | ||
</startup> | ||
--> | ||
</configuration> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
<?xml version="1.0" encoding="utf-8" ?> | ||
<plugin pluginId="Gallio.MSBuildTasks" | ||
recommendedInstallationPath="" | ||
xmlns="http://www.gallio.org/"> | ||
<traits> | ||
<name>Gallio MSBuild Tasks</name> | ||
<version>0.0.0.0</version> | ||
<description>Provides MSBuild tasks for running tests with Gallio.</description> | ||
</traits> | ||
|
||
<dependencies> | ||
<dependency pluginId="Gallio" /> | ||
</dependencies> | ||
|
||
<files> | ||
<file path="Gallio.MSBuildTasks.plugin" /> | ||
<file path="Gallio.MSBuildTasks.dll" /> | ||
<file path="Gallio.MSBuildTasks.xml" /> | ||
</files> | ||
</plugin> |
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,104 @@ | ||
<?xml version="1.0" encoding="utf-8" ?> | ||
<plugin pluginId="Gallio.NUnitAdapter25" | ||
recommendedInstallationPath="NUnit\v2.5" | ||
xmlns="http://www.gallio.org/"> | ||
<traits> | ||
<name>NUnit v2.5 Adapter Plugin</name> | ||
<version>0.0.0.0</version> | ||
<description>Provides support for running NUnit v2.5 tests.</description> | ||
<icon>plugin://Gallio.NUnitAdapter25/Resources/NUnit.ico</icon> | ||
</traits> | ||
|
||
<dependencies> | ||
<dependency pluginId="Gallio" /> | ||
</dependencies> | ||
|
||
<files> | ||
<file path="Gallio.NUnitAdapter25.plugin" /> | ||
<file path="Gallio.NUnitAdapter25.dll" /> | ||
<file path="license.txt" /> | ||
<file path="Readme.txt" /> | ||
<file path="nunit.core.dll" /> | ||
<file path="nunit.core.interfaces.dll" /> | ||
<file path="nunit.framework.dll" /> | ||
<file path="nunit.framework.xml" /> | ||
<file path="nunit.mocks.dll" /> | ||
<file path="nunit.util.dll" /> | ||
<file path="addins\NUnit Addins Readme.txt" /> | ||
<file path="Resources\NUnit.ico" /> | ||
</files> | ||
|
||
<assemblies> | ||
<assembly fullName="Gallio.NUnitAdapter25, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null" | ||
codeBase="Gallio.NUnitAdapter25.dll"> | ||
<qualifyPartialName>true</qualifyPartialName> | ||
<bindingRedirects> | ||
<bindingRedirect oldVersion="0.0.0.0-65535.65535.65535.65535" /> | ||
</bindingRedirects> | ||
</assembly> | ||
|
||
<assembly fullName="nunit.core, Version=2.5.0.9122, Culture=neutral, PublicKeyToken=96d09a1eb7f44a77" | ||
codeBase="nunit.core.dll"> | ||
<bindingRedirects> | ||
<bindingRedirect oldVersion="2.5.0.0-2.5.0.65535" /> | ||
</bindingRedirects> | ||
</assembly> | ||
|
||
<assembly fullName="nunit.core.interfaces, Version=2.5.0.9122, Culture=neutral, PublicKeyToken=96d09a1eb7f44a77" | ||
codeBase="nunit.core.interfaces.dll"> | ||
<bindingRedirects> | ||
<bindingRedirect oldVersion="2.5.0.0-2.5.0.65535" /> | ||
</bindingRedirects> | ||
</assembly> | ||
|
||
<assembly fullName="nunit.util, Version=2.5.0.9122, Culture=neutral, PublicKeyToken=96d09a1eb7f44a77" | ||
codeBase="nunit.util.dll"> | ||
<bindingRedirects> | ||
<bindingRedirect oldVersion="2.5.0.0-2.5.0.65535" /> | ||
</bindingRedirects> | ||
</assembly> | ||
|
||
<!-- | ||
<assembly fullName="nunit.framework, Version=2.5.0.9122, Culture=neutral, PublicKeyToken=96d09a1eb7f44a77" | ||
codeBase="nunit.framework.dll"> | ||
<bindingRedirects> | ||
<bindingRedirect oldVersion="2.5.0.0-2.5.0.65535" /> | ||
</bindingRedirects> | ||
</assembly> | ||
<assembly fullName="nunit.mocks, Version=2.5.0.9122, Culture=neutral, PublicKeyToken=96d09a1eb7f44a77" | ||
codeBase="nunit.mocks.dll"> | ||
<bindingRedirects> | ||
<bindingRedirect oldVersion="2.5.0.0-2.5.0.65535" /> | ||
</bindingRedirects> | ||
</assembly> | ||
--> | ||
</assemblies> | ||
|
||
<probingPaths> | ||
<probingPath>v2.5</probingPath> | ||
</probingPaths> | ||
|
||
<components> | ||
<component componentId="NUnitAdapter25.TestFramework" | ||
serviceId="Gallio.TestFramework" | ||
componentType="Gallio.NUnitAdapter.Model.NUnitTestFramework, Gallio.NUnitAdapter25"> | ||
<traits> | ||
<name>NUnit v2.5</name> | ||
<frameworkAssemblies>nunit.framework, Version=2.5.0.0-2.5.0.65535</frameworkAssemblies> | ||
<version>2.5.0.9122</version> | ||
<fileTypes>Assembly</fileTypes> | ||
<icon>plugin://Gallio.NUnitAdapter25/Resources/NUnit.ico</icon> | ||
</traits> | ||
</component> | ||
|
||
<component componentId="NUnitAdapter25.TestKinds.MbUnitFramework" | ||
serviceId="Gallio.TestKind"> | ||
<traits> | ||
<name>NUnit v2.5 Framework</name> | ||
<description>NUnit v2.5 Test Framework</description> | ||
<icon>plugin://Gallio.NUnitAdapter25/Resources/NUnit.ico</icon> | ||
</traits> | ||
</component> | ||
</components> | ||
</plugin> |
Binary file not shown.
Oops, something went wrong.