Set a couple extra test runner parameters for main project

This commit is contained in:
James Groom 2024-05-15 11:10:11 +10:00 committed by GitHub
parent 9fb98ef5ef
commit a2bcbbdfb8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 8 additions and 0 deletions

View File

@ -5,6 +5,7 @@
<Import Project="../TestProjects.props" />
<PropertyGroup>
<DefineConstants Condition=" '$(ContinuousIntegrationBuild)' == 'true' ">$(DefineConstants);SKIP_PLATFORM_TESTS</DefineConstants>
<RunSettingsFilePath>$(MSBuildProjectDirectory)/../MainSln.runsettings</RunSettingsFilePath>
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="$(ProjectDir)../BizHawk.Client.Common/BizHawk.Client.Common.csproj" />

7
src/MainSln.runsettings Normal file
View File

@ -0,0 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<RunSettings>
<RunConfiguration>
<TestSessionTimeout>300000</TestSessionTimeout> <!-- milliseconds (300k = 5 min) -->
<TreatNoTestsAsError>true</TreatNoTestsAsError> <!-- there's an error message either way, but this makes it `exit(1)` -->
</RunConfiguration>
</RunSettings>