Temporarily disable part of the GCTests on MacOS (#1949)
authorMike McLaughlin <mikem@microsoft.com>
Sat, 30 Jan 2021 21:38:09 +0000 (13:38 -0800)
committerGitHub <noreply@github.com>
Sat, 30 Jan 2021 21:38:09 +0000 (13:38 -0800)
Temporarily disable part of the GCTests on MacOS

src/SOS/SOS.UnitTests/Scripts/GCTests.script

index 8de6766df3ed084181fe042fde803997007a9f66..68704f177a6ae4690b9ec05f310eac3a235796dc 100644 (file)
@@ -173,6 +173,10 @@ IFDEF:CDB
 VERIFY:Break instruction exception - code 80000003
 ENDIF:CDB
 
+# DumpStackObjects does not work here on 6.0 MacOS
+# https://github.com/dotnet/diagnostics/issues/1950
+!IFDEF:OSX
+
 SOSCOMMAND:EEHeap -gc
 SOSCOMMAND:DumpStackObjects
 SOSCOMMAND:GCWhere <POUT>\w+\s+(<HEXVAL>)\s+([Gg][Cc]where!\$0_)*GCWhere\s+<POUT>
@@ -183,5 +187,7 @@ SOSCOMMAND:GCRoot <PREVPOUT>
 VERIFY:.*Thread <HEXVAL>:
 VERIFY:\s+<HEXVAL>\s+<HEXVAL>\s+GCWhere\.Main\(\)\s+\[.*[/|\\][Gg][Cc][Ww]here\.cs\s+@\s+49\]\s+
 
+ENDIF:OSX
+
 # Continue to the next DebugBreak
 CONTINUE