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

github.com/mono/libgit2sharp.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrandon Ording <bording@gmail.com>2015-07-05 01:19:16 +0300
committerBrandon Ording <bording@gmail.com>2015-07-05 01:19:16 +0300
commit0cbd3aac94aeb918c40d1c82f6336bb50c33380c (patch)
treefea2f4cd2d69968179db0a1e8773742009efdcbe
parent302c162bd54384f28b7615778574dde2f3a3e97d (diff)
Explicitly set xUnit MSBuild WorkingFolder property
It seems that the xUnit.net 2.0 MSBuild test runner does not play nicely with mono 3.12.1, which is being used on the linux Travis CI builds. Setting this property appears to stop the intermittent failures by preventing xUnit from forgetting how to find the Resources folder in the middle of running the tests.
-rw-r--r--CI/build.msbuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/CI/build.msbuild b/CI/build.msbuild
index 77717ee6..97c50335 100644
--- a/CI/build.msbuild
+++ b/CI/build.msbuild
@@ -37,7 +37,7 @@
</Target>
<Target Name="Test" DependsOnTargets="Build">
- <xunit Assemblies="$(TestBuildDir)/LibGit2Sharp.Tests.dll" ShadowCopy="false" Xml="$(DeployFolder)/Test-result.xml" />
+ <xunit Assemblies="$(TestBuildDir)/LibGit2Sharp.Tests.dll" ShadowCopy="false" WorkingFolder="$(TestBuildDir)" Xml="$(DeployFolder)/Test-result.xml" />
</Target>
<Target Name="Deploy" DependsOnTargets="Test">