diff --git a/tests/common/BinLog.cs b/tests/common/BinLog.cs index 36fdc413452d..a832cbb2af6e 100644 --- a/tests/common/BinLog.cs +++ b/tests/common/BinLog.cs @@ -175,7 +175,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)