I believe multiple config files can be used at the same time. Updating to add a linux exclusion file for a test not supported on centos8

This commit is contained in:
Marc Paine 2023-04-14 15:31:01 -07:00
parent 3ce1414101
commit f9759ff4e6
2 changed files with 12 additions and 0 deletions

View file

@ -226,6 +226,11 @@
<TestArgs>$(TestArgs) -testConfigFile "$(MSBuildThisFileDirectory)TestsToSkipPortableLinux.xml"</TestArgs>
</PropertyGroup>
<PropertyGroup Condition=" '$(IsLinux)' == 'true' ">
<!-- Add list of tests to skip on Linux Portable -->
<TestArgs>$(TestArgs) -testConfigFile "$(MSBuildThisFileDirectory)TestsToSkipLinux.xml"</TestArgs>
</PropertyGroup>
<PropertyGroup Condition=" $([MSBuild]::IsOSPlatform('OSX')) ">
<!-- Add list of tests to skip on Linux Portable -->
<TestArgs>$(TestArgs) -testConfigFile "$(MSBuildThisFileDirectory)TestsToSkipOSX.xml"</TestArgs>

View file

@ -0,0 +1,7 @@
<Tests>
<SkippedTests>
<Method Name="Microsoft.NET.Build.Tests.GivenThatWeWantToBuildASelfContainedApp.It_builds_a_runnable_output"
Skip="true"
Reason="1.1 doesn't support building on centos8"/>
</SkippedTests>
</Tests>