From ead9692ab14a0e5abf4583a5d117ab9321519817 Mon Sep 17 00:00:00 2001 From: "N. Taylor Mullen" Date: Mon, 9 Jan 2017 15:25:20 -0800 Subject: [PATCH] Disable Cross plat tests for design time code gen tests. --- .../IntegrationTests/IntegrationTestBase.cs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/test/Microsoft.AspNetCore.Razor.Evolution.Test/IntegrationTests/IntegrationTestBase.cs b/test/Microsoft.AspNetCore.Razor.Evolution.Test/IntegrationTests/IntegrationTestBase.cs index 3e0aa9dcd3..8da9b93d74 100644 --- a/test/Microsoft.AspNetCore.Razor.Evolution.Test/IntegrationTests/IntegrationTestBase.cs +++ b/test/Microsoft.AspNetCore.Razor.Evolution.Test/IntegrationTests/IntegrationTestBase.cs @@ -161,6 +161,11 @@ namespace Microsoft.AspNetCore.Razor.Evolution.IntegrationTests protected void AssertDesignTimeDocumentMatchBaseline(RazorCodeDocument document) { + if (!RuntimeInformation.IsOSPlatform(OSPlatform.Windows)) + { + return; + } + if (Filename == null) { var message = $"{nameof(AssertDesignTimeDocumentMatchBaseline)} should only be called from an integration test ({nameof(Filename)} is null).";