8000 Explicitly set xUnit MSBuild WorkingFolder property · thatfrankdev/libgit2sharp@0cbd3aa · GitHub
[go: up one dir, main page]

Skip to content

Commit 0cbd3aa

Browse files
committed
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.
1 parent 302c162 commit 0cbd3aa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CI/build.msbuild

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
</Target>
3838

3939
<Target Name="Test" DependsOnTargets="Build">
40-
<xunit Assemblies="$(TestBuildDir)/LibGit2Sharp.Tests.dll" ShadowCopy="false" Xml="$(DeployFolder)/Test-result.xml" />
40+
<xunit Assemblies="$(TestBuildDir)/LibGit2Sharp.Tests.dll" ShadowCopy="false" WorkingFolder="$(TestBuildDir)" Xml="$(DeployFolder)/Test-result.xml" />
4141
</Target>
4242

4343
<Target Name="Deploy" DependsOnTargets="Test">

0 commit comments

Comments
 (0)
0