Skip to content

Commit a3a3217

Browse files
committed
Remove test that self-contained tools should fail
1 parent 9aecd06 commit a3a3217

File tree

1 file changed

+11
-9
lines changed

1 file changed

+11
-9
lines changed

test/Microsoft.NET.ToolPack.Tests/GivenThatWeWantToPackAToolSelfContainedProject.cs

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -17,17 +17,19 @@ public GivenThatWeWantToPackAToolSelfContainedProject(ITestOutputHelper log) : b
1717

1818
}
1919

20-
[Fact]
21-
public void It_should_fail_with_error_message()
22-
{
23-
TestAsset helloWorldAsset = CreateAsset();
20+
// TODO: Add tests for Self-contained / AOT tools, which are now supported
2421

25-
var packCommand = new PackCommand(Log, helloWorldAsset.TestRoot);
22+
//[Fact]
23+
//public void It_should_fail_with_error_message()
24+
//{
25+
// TestAsset helloWorldAsset = CreateAsset();
2626

27-
CommandResult result = packCommand.Execute("--property:SelfContained=true");
28-
result.ExitCode.Should().NotBe(0);
29-
result.StdOut.Should().Contain(Strings.PackAsToolCannotSupportSelfContained);
30-
}
27+
// var packCommand = new PackCommand(Log, helloWorldAsset.TestRoot);
28+
29+
// CommandResult result = packCommand.Execute("--property:SelfContained=true");
30+
// result.ExitCode.Should().NotBe(0);
31+
// result.StdOut.Should().Contain(Strings.PackAsToolCannotSupportSelfContained);
32+
//}
3133

3234
// Reproduce of https://github.com/dotnet/cli/issues/10607
3335
[Fact]

0 commit comments

Comments
 (0)