Skip to content

Commit 83ebb65

Browse files
committed
Revert test attribute for core only
1 parent 54d6b64 commit 83ebb65

File tree

1 file changed

+14
-4
lines changed

1 file changed

+14
-4
lines changed

test/Microsoft.NET.Build.Tests/GivenThatWeWantToGenerateADepsFileForATool.cs

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,15 @@ public GivenThatWeWantToGenerateADepsFileForATool(ITestOutputHelper log) : base(
1717
{
1818
}
1919

20-
// https://github.com/dotnet/sdk/issues/49665
21-
[PlatformSpecificFact(TestPlatforms.Any & ~TestPlatforms.OSX)]
20+
[CoreMSBuildOnlyFact]
2221
public void It_creates_a_deps_file_for_the_tool_and_the_tool_runs()
2322
{
23+
if (RuntimeInformation.IsOSPlatform(OSPlatform.OSX))
24+
{
25+
// https://github.com/dotnet/sdk/issues/49665
26+
return;
27+
}
28+
2429
TestProject toolProject = new()
2530
{
2631
Name = "TestTool",
@@ -37,10 +42,15 @@ public void It_creates_a_deps_file_for_the_tool_and_the_tool_runs()
3742
.And.HaveStdOutContaining("Hello World!");
3843
}
3944

40-
// https://github.com/dotnet/sdk/issues/49665
41-
[PlatformSpecificFact(TestPlatforms.Any & ~TestPlatforms.OSX)]
45+
[CoreMSBuildOnlyFact]
4246
public void It_handles_conflicts_when_creating_a_tool_deps_file()
4347
{
48+
if (RuntimeInformation.IsOSPlatform(OSPlatform.OSX))
49+
{
50+
// https://github.com/dotnet/sdk/issues/49665
51+
return;
52+
}
53+
4454
TestProject toolProject = new()
4555
{
4656
Name = "DependencyContextTool",

0 commit comments

Comments
 (0)