From d8d8729327930aa10b7ef3908ef875b953e73626 Mon Sep 17 00:00:00 2001 From: Jeffrey Stedfast Date: Tue, 14 Feb 2023 16:50:28 -0500 Subject: [PATCH] Disable the PCL test on non-Windows --- tests/tool/Integration.Tests/E2ETest.cs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tests/tool/Integration.Tests/E2ETest.cs b/tests/tool/Integration.Tests/E2ETest.cs index 5e6b7d8ea..c5819154e 100644 --- a/tests/tool/Integration.Tests/E2ETest.cs +++ b/tests/tool/Integration.Tests/E2ETest.cs @@ -55,6 +55,11 @@ public E2ETest(ITestOutputHelper output) [Theory] public async Task UpgradeTest(string scenarioPath, string inputFileName, string entrypoint) { + if (!RuntimeInformation.IsOSPlatform(OSPlatform.Windows) && scenarioPath == "PCL") + { + return; + } + // Create a temporary working directory var workingDir = Path.Combine(Path.GetTempPath(), TempDirectoryName, Guid.NewGuid().ToString()); var dir = Directory.CreateDirectory(workingDir);