[netcore] Disable some SafeWaitHandle tests everywhere, not just Linux (mono/mono...
authorAlexander Köplinger <alex.koeplinger@outlook.com>
Tue, 8 Oct 2019 15:39:41 +0000 (17:39 +0200)
committerGitHub <noreply@github.com>
Tue, 8 Oct 2019 15:39:41 +0000 (17:39 +0200)
The tests are kinda bogus since they create a SafeWaitHandle from `new IntPtr(1)` which causes a crash during finalization when releasing that handle.

See https://github.com/mono/mono/issues/17224

Commit migrated from https://github.com/mono/mono/commit/209c4bae3ec1827d1b0e4799b12a51e88012554c

src/mono/netcore/CoreFX.issues.rsp
src/mono/netcore/CoreFX.issues_linux.rsp

index d0d2911..77f69ee 100644 (file)
 -nomethod System.Runtime.Tests.ProfileOptimizationTest.ProfileOptimization_CheckFileExists
 
 ####################################################################
+##  System.Runtime.Handles.Tests
+####################################################################
+
+# NRE in SafeHandle.Dispose
+# https://github.com/mono/mono/issues/17224
+-noclass SafeWaitHandleExtensions_4000_Tests
+-noclass SafeWaitHandle_4000_Tests
+
+####################################################################
 ##  System.Reflection.TypeExtensions.Tests
 ####################################################################
 
index cc24e5e..0ad7f8f 100644 (file)
 # StackOverflow somewhere here
 -nonamespace System.Threading.Tasks.Tests
 
-# NRE in SafeHandle.Dispose
--noclass SafeWaitHandleExtensions_4000_Tests
--noclass SafeWaitHandle_4000_Tests
--noclass SafeHandle_4000_Tests
--noclass CriticalHandle_4000_Tests
-
 # Requires precise GC (should be ignored in dotnet/corefx for mono)
 -nomethod System.Collections.Concurrent.Tests.ConcurrentQueueTests.ReferenceTypes_NulledAfterDequeue