diff --git a/tests/common/BinLog.cs b/tests/common/BinLog.cs index 4ae578ca46c7..3220cae9e7f4 100644 --- a/tests/common/BinLog.cs +++ b/tests/common/BinLog.cs @@ -176,7 +176,12 @@ public static IEnumerable PrintToLines (string path) public static IEnumerable GetBuildLogWarnings (string path) { - return GetBuildMessages (path).Where (v => v.Type == BuildLogEventType.Warning); + return GetBuildMessages (path) + // Filter to warnings + .Where (v => v.Type == BuildLogEventType.Warning) + // We're often referencing earlier .NET projects (Touch.Unit/MonoTouch.Dialog), so ignore any out-of-support warnings. + .Where (v => v.Message?.Contains ("is out of support and will not receive security updates in the future") != true) + ; } public static IEnumerable GetBuildLogErrors (string path)