From f5d04845aaf5f15c1e5f821ebfbe8cbb956ab69f Mon Sep 17 00:00:00 2001 From: JT Date: Tue, 25 Jul 2023 23:05:49 -0700 Subject: [PATCH] Assert Inconclusive on Junction tests on linux --- StabilityMatrix.Tests/ReparsePoints/JunctionTests.cs | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/StabilityMatrix.Tests/ReparsePoints/JunctionTests.cs b/StabilityMatrix.Tests/ReparsePoints/JunctionTests.cs index d8aaa16e..af2515ad 100644 --- a/StabilityMatrix.Tests/ReparsePoints/JunctionTests.cs +++ b/StabilityMatrix.Tests/ReparsePoints/JunctionTests.cs @@ -1,4 +1,6 @@ -using StabilityMatrix.Core.ReparsePoints; +using System.Runtime.Versioning; +using StabilityMatrix.Core.Helper; +using StabilityMatrix.Core.ReparsePoints; namespace StabilityMatrix.Tests.ReparsePoints; @@ -13,6 +15,12 @@ public class JunctionTest [TestInitialize] public void Initialize() { + if (!Compat.IsWindows) + { + Assert.Inconclusive("Test cannot be run on anything but Windows currently."); + return; + } + tempFolder = Path.GetTempFileName(); File.Delete(tempFolder); Directory.CreateDirectory(tempFolder);