From bd871ef9e946e2f4703cbd7d54d1a245e9f59cdf Mon Sep 17 00:00:00 2001 From: Ajay Bhargav Baaskaran Date: Wed, 18 Apr 2018 15:46:06 -0700 Subject: [PATCH] Handle Travis failure on ubuntu --- .../IntegrationTests/BuildIncrementalismTest.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/Microsoft.AspNetCore.Razor.Design.Test/IntegrationTests/BuildIncrementalismTest.cs b/test/Microsoft.AspNetCore.Razor.Design.Test/IntegrationTests/BuildIncrementalismTest.cs index b7682b894f..288c46cf6a 100644 --- a/test/Microsoft.AspNetCore.Razor.Design.Test/IntegrationTests/BuildIncrementalismTest.cs +++ b/test/Microsoft.AspNetCore.Razor.Design.Test/IntegrationTests/BuildIncrementalismTest.cs @@ -35,9 +35,9 @@ namespace Microsoft.AspNetCore.Razor.Design.IntegrationTests Path.Combine(directoryPath, "SimpleMvc.csproj.FileListAbsolute.txt"), }; - if (RuntimeInformation.IsOSPlatform(OSPlatform.OSX)) + if (RuntimeInformation.IsOSPlatform(OSPlatform.OSX) || RuntimeInformation.IsOSPlatform(OSPlatform.Linux)) { - // There is some quirkiness with MsBuild in osx high sierra where it regenerates this file + // There is some quirkiness with MsBuild in unix where it regenerates this file // even though it shouldn't. This is tracked here https://github.com/aspnet/Razor/issues/2219. filesToIgnore.Add(Path.Combine(directoryPath, "SimpleMvc.TagHelpers.input.cache")); }