mirror of
https://github.com/BepInEx/dotnet-runtime.git
synced 2026-11-22 14:09:34 -10:00
- Both EAT, and AOT builds are completely green now. - Number of tests for EAT goes from 147 -> 185 - Number of tests for AOT goes from 147 -> 174 (the difference is because of aot only failures) - Test run on a regular wasm build runs 206 libraries
47 lines
2.9 KiB
XML
47 lines
2.9 KiB
XML
<Project>
|
|
<PropertyGroup>
|
|
<TestProjectName Condition="'$(TestProjectName)' == ''">$(MSBuildProjectName)</TestProjectName>
|
|
<TestFramework Condition="'$(TestFramework)' == ''">xunit</TestFramework>
|
|
<!-- Implicit test build support when invoking the Test target on the project directly. -->
|
|
<TestDependsOn Condition="'$(TestNoBuild)' != 'true' and '$(BuildAllProjects)' != 'true'">Build</TestDependsOn>
|
|
<TestDependsOn>$(TestDependsOn);GenerateRunScript;RunTests</TestDependsOn>
|
|
<VSTestNoLogo>true</VSTestNoLogo>
|
|
<ILLinkDescriptorsPath>$(MSBuildThisFileDirectory)ILLinkDescriptors\</ILLinkDescriptorsPath>
|
|
</PropertyGroup>
|
|
|
|
<PropertyGroup>
|
|
<!-- Default and user defined categories -->
|
|
<_withCategories Condition="'$(WithCategories)' != ''">;$(WithCategories.Trim(';'))</_withCategories>
|
|
<_withoutCategories Condition="'$(WithoutCategories)' != ''">;$(WithoutCategories.Trim(';'))</_withoutCategories>
|
|
|
|
<TestScope Condition="'$(TestScope)' == '' and '$(Outerloop)' == 'true'">all</TestScope>
|
|
<_withCategories Condition="'$(TestScope)' == 'outerloop'">$(_withCategories);OuterLoop</_withCategories>
|
|
<_withoutCategories Condition="'$(ArchiveTests)' == 'true'">$(_withoutCategories);IgnoreForCI</_withoutCategories>
|
|
<_withoutCategories Condition="'$(TestScope)' == '' or '$(TestScope)' == 'innerloop'">$(_withoutCategories);OuterLoop</_withoutCategories>
|
|
<_withoutCategories Condition="!$(_withCategories.Contains('failing'))">$(_withoutCategories);failing</_withoutCategories>
|
|
</PropertyGroup>
|
|
|
|
<PropertyGroup Condition="'$(TargetsMobile)' == 'true'">
|
|
<!-- Test runners are built as part of libs.pretest so we need to use libraries configuration -->
|
|
<MobileRunnersDirSuffix>$(NetCoreAppCurrent)-$(Configuration)</MobileRunnersDirSuffix>
|
|
<AppleTestRunnerDir>$([MSBuild]::NormalizeDirectory('$(ArtifactsBinDir)', 'AppleTestRunner', '$(MobileRunnersDirSuffix)'))</AppleTestRunnerDir>
|
|
<AndroidTestRunnerDir>$([MSBuild]::NormalizeDirectory('$(ArtifactsBinDir)', 'AndroidTestRunner', '$(MobileRunnersDirSuffix)'))</AndroidTestRunnerDir>
|
|
<WasmTestRunnerDir>$([MSBuild]::NormalizeDirectory('$(ArtifactsBinDir)', 'WasmTestRunner', '$(MobileRunnersDirSuffix)'))</WasmTestRunnerDir>
|
|
|
|
<RuntimeIdentifier>$(PackageRID)</RuntimeIdentifier>
|
|
<SelfContained>true</SelfContained>
|
|
</PropertyGroup>
|
|
|
|
<!-- Provide runtime options to Mono (interpreter, aot, debugging, etc) -->
|
|
<ItemGroup Condition="'$(MonoEnvOptions)' != '' and '$(TargetsMobile)' != 'true'">
|
|
<RunScriptCommands Condition="'$(TargetsWindows)' == 'true'" Include="set MONO_ENV_OPTIONS='$(MonoEnvOptions)'" />
|
|
<RunScriptCommands Condition="'$(TargetsWindows)' != 'true'" Include="export MONO_ENV_OPTIONS='$(MonoEnvOptions)'" />
|
|
</ItemGroup>
|
|
|
|
<!--
|
|
Unit/Functional/Integration test support.
|
|
Supported runners: xunit.
|
|
-->
|
|
<Import Project="$(MSBuildThisFileDirectory)xunit\xunit.props" Condition="'$(TestFramework)' == 'xunit'" />
|
|
</Project>
|