From 4c10d47e386c9d358e3b1c7c6e5df7af76aaa690 Mon Sep 17 00:00:00 2001 From: Dave Tryon <45672944+DaveTryon@users.noreply.github.com> Date: Wed, 27 Nov 2024 15:03:38 -0800 Subject: [PATCH] Skip broken test, tracked at #815 --- .../GenerateSbomE2ETests.cs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/test/Microsoft.Sbom.Targets.E2E.Tests/GenerateSbomE2ETests.cs b/test/Microsoft.Sbom.Targets.E2E.Tests/GenerateSbomE2ETests.cs index 0934a4ac2..a4fdcbf5e 100644 --- a/test/Microsoft.Sbom.Targets.E2E.Tests/GenerateSbomE2ETests.cs +++ b/test/Microsoft.Sbom.Targets.E2E.Tests/GenerateSbomE2ETests.cs @@ -310,6 +310,12 @@ public void SbomGenerationSkipsForUnsetGenerateSBOMFlag() [TestMethod] public void SbomGenerationSucceedsForMultiTargetedProject() { + if (!RuntimeInformation.FrameworkDescription.StartsWith(".NET Framework", StringComparison.Ordinal)) + { + Assert.Inconclusive("This test needs to be updated to work with Visual Studio 17.12 and .NET 8. This is tracked at https://github.com/microsoft/sbom-tool/issues/815."); + return; + } + if (!IsWindows) { Assert.Inconclusive("This test is not (yet) supported on non-Windows platforms.");