mirror of
https://github.com/OpenRCT2/OpenRCT2.git
synced 2025-01-22 18:31:59 -05:00
Run scan-objects before the tests
This commit is contained in:
parent
6526f9f6cb
commit
4edb450594
1 changed files with 7 additions and 1 deletions
|
@ -185,7 +185,13 @@
|
|||
<MSBuild Projects="openrct2.sln" Targets="Rebuild" Properties="$(SlnProperties)" />
|
||||
</Target>
|
||||
|
||||
<Target Name="Test" DependsOnTargets="Build">
|
||||
<Target Name="Test">
|
||||
<!-- Scan repositories prior to running tests as it can take a while -->
|
||||
<Message Text="Building OpenRCT2 repository indexes..." Importance="high" />
|
||||
<Exec Command="$(TargetDir)openrct2.exe scan-objects"
|
||||
WorkingDirectory="$(TargetDir)" />
|
||||
|
||||
<Message Text="Running tests..." Importance="high" />
|
||||
<Exec Command="$(TargetDir)tests.exe "--gtest_output=xml:$(ArtifactsDir)test-results.xml""
|
||||
WorkingDirectory="$(TargetDir)" />
|
||||
</Target>
|
||||
|
|
Loading…
Reference in a new issue