Skip failing SDK tests on Linux
This commit is contained in:
parent
3ce1414101
commit
8810add5ec
2 changed files with 15 additions and 0 deletions
|
@ -226,6 +226,11 @@
|
|||
<TestArgs>$(TestArgs) -testConfigFile "$(MSBuildThisFileDirectory)TestsToSkipPortableLinux.xml"</TestArgs>
|
||||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup Condition=" $([MSBuild]::IsOSPlatform('Linux')) ">
|
||||
<!-- Add list of tests to skip on Linux -->
|
||||
<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>
|
||||
|
|
10
test/SdkTests/TestsToSkipLinux.xml
Normal file
10
test/SdkTests/TestsToSkipLinux.xml
Normal file
|
@ -0,0 +1,10 @@
|
|||
<Tests>
|
||||
<SkippedTests>
|
||||
<Method Name="Microsoft.NET.Publish.Tests.GivenThatWeWantToPublishAHelloWorldProject.It_publishes_self_contained_apps_to_the_publish_folder_and_the_app_should_run"
|
||||
Skip="true"
|
||||
Reason=".NET Core 1.1 fails to publish on distributions with unsupported RIDs."/>
|
||||
<Method Name="Microsoft.NET.Build.Tests.GivenThatWeWantToBuildASelfContainedApp.It_builds_a_runnable_output"
|
||||
Skip="true"
|
||||
Reason=".NET Core 1.1 fails to publish on distributions with unsupported RIDs."/>
|
||||
</SkippedTests>
|
||||
</Tests>
|
Loading…
Reference in a new issue