From 54622428a97d1ef9bb6bbf018decce32b30e7251 Mon Sep 17 00:00:00 2001 From: Rolf Bjarne Kvinge Date: Mon, 24 Aug 2020 17:55:10 +0200 Subject: [PATCH] [monotouch-test] Don't run the mono tests for the System.Drawing types in .NET (#9464) A System.Drawing.Point test fails because it tests GetHashCode, which returns a different value in .NET. None of the System.Drawing tests actually test any of our code (when using .NET), so the fix is to just not include the System.Drawing tests in the first place. Fixes this test failure: MonoTests.System.Drawing.PointTest [FAIL] GetHashCodeTest : #1 Expected: 32 But was: 1527927283 at MonoTests.System.Drawing.PointTest.GetHashCodeTest() in /Users/rolf/work/maccore/squashed-onedotnet/xamarin-macios/builds/mono-ios-sdk-destdir/ios-sources/mcs/class/System.Drawing/Test/System.Drawing/TestPoint.cs:line 198 --- .../dotnet/iOS/monotouch-test.csproj | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/tests/monotouch-test/dotnet/iOS/monotouch-test.csproj b/tests/monotouch-test/dotnet/iOS/monotouch-test.csproj index 60f8ce5a3b02..dcb8e5beebde 100644 --- a/tests/monotouch-test/dotnet/iOS/monotouch-test.csproj +++ b/tests/monotouch-test/dotnet/iOS/monotouch-test.csproj @@ -48,24 +48,6 @@ - - System.Drawing\TestPoint.cs - - - System.Drawing\TestPointF.cs - - - System.Drawing\TestRectangle.cs - - - System.Drawing\TestRectangleF.cs - - - System.Drawing\TestSize.cs - - - System.Drawing\TestSizeF.cs - shared\ObjCRuntime\RegistrarTest.cs