Set tests output directory to bin

This is the easiest way to allow the tests to use the OpenRCT2 data for msbuild.
This commit is contained in:
Ted John 2018-04-10 18:00:02 +01:00
parent 9a10de7442
commit 58306e8055
2 changed files with 3 additions and 3 deletions

View File

@ -186,8 +186,8 @@
</Target>
<Target Name="Test" DependsOnTargets="Build">
<Exec Command="$(TargetDir)tests\tests.exe &quot;--gtest_output=xml:$(ArtifactsDir)test-results.xml&quot;"
WorkingDirectory="$(TargetDir)tests" />
<Exec Command="$(TargetDir)tests.exe &quot;--gtest_output=xml:$(ArtifactsDir)test-results.xml&quot;"
WorkingDirectory="$(TargetDir)" />
</Target>
<!-- Target to build g2.dat containing OpenRCT2 sprites -->

View File

@ -32,7 +32,7 @@
</PropertyGroup>
<Import Project="..\..\openrct2.common.props" />
<PropertyGroup>
<OutDir>$(SolutionDir)bin\tests\</OutDir>
<OutDir>$(SolutionDir)bin\</OutDir>
<IncludePath>$(GtestDir);$(GtestDir)\include;$(IncludePath)</IncludePath>
<LibraryPath>$(SolutionDir)bin;$(LibraryPath)</LibraryPath>
</PropertyGroup>