Skip to content

Commit 0da0c62

Browse files
authored
Revert "This call is failing on the Darwin leg in installer. (#29916)"
1 parent a3d4c7f commit 0da0c62

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/Tests/Microsoft.NET.Publish.Tests/GivenThatWeWantToPublishAHelloWorldProject.cs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,10 +69,16 @@ public void It_publishes_portable_apps_to_the_publish_folder_and_the_app_should_
6969
}
7070

7171
[Theory]
72+
[InlineData("netcoreapp1.1")]
7273
[InlineData("netcoreapp2.0")]
7374
[InlineData(ToolsetInfo.CurrentTargetFramework)]
7475
public void It_publishes_self_contained_apps_to_the_publish_folder_and_the_app_should_run(string targetFramework)
7576
{
77+
if (!EnvironmentInfo.SupportsTargetFramework(targetFramework))
78+
{
79+
return;
80+
}
81+
7682
var rid = EnvironmentInfo.GetCompatibleRid(targetFramework);
7783

7884
var helloWorldAsset = _testAssetsManager

0 commit comments

Comments
 (0)