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:
parent
3ce1414101
commit
f9759ff4e6
2 changed files with 12 additions and 0 deletions
|
@ -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>
|
||||
|
|
7
test/SdkTests/TestsToSkipLinux.xml
Normal file
7
test/SdkTests/TestsToSkipLinux.xml
Normal 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>
|
Loading…
Add table
Add a link
Reference in a new issue