Skip to content

Commit

Permalink
Set GCStressIncompatible on GenericContext tests (#104686)
Browse files Browse the repository at this point in the history
Co-authored-by: Vladimir Sadov <vsadov@microsoft.com>
  • Loading branch information
steveisok and VSadov committed Jul 24, 2024
1 parent efb09a5 commit f76b387
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -801,6 +801,11 @@ void EmitConstrainedPrefix()
twOutputTest.WriteLine(" .custom instance void [xunit.core]Xunit.FactAttribute::.ctor() = (");
twOutputTest.WriteLine(" 01 00 00 00");
twOutputTest.WriteLine(" )");
twOutputTest.WriteLine(" // [SkipOnCoreClr(\"GC Stress Incompatible\", RuntimeTestModes.AnyGCStress)]");
twOutputTest.WriteLine(" .custom instance void [Microsoft.DotNet.XUnitExtensions]Xunit.SkipOnCoreClrAttribute::.ctor(string, valuetype [Microsoft.DotNet.XUnitExtensions]Xunit.RuntimeTestModes) = (");
twOutputTest.WriteLine(" 01 00 16 47 43 20 53 74 72 65 73 73 20 49 6e 63");
twOutputTest.WriteLine(" 6f 6d 70 61 74 69 62 6c 65 c0 00 00 00 00 00");
twOutputTest.WriteLine(" )");
twOutputTest.WriteLine(" .entrypoint");
twOutputTest.WriteLine(" .locals init (class [System.Runtime]System.Exception V_0)");
twOutputTest.Write(swMainMethodBody.ToString());
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19969,6 +19969,11 @@
.custom instance void [xunit.core]Xunit.FactAttribute::.ctor() = (
01 00 00 00
)
// [SkipOnCoreClr("GC Stress Incompatible", RuntimeTestModes.AnyGCStress)]
.custom instance void [Microsoft.DotNet.XUnitExtensions]Xunit.SkipOnCoreClrAttribute::.ctor(string, valuetype [Microsoft.DotNet.XUnitExtensions]Xunit.RuntimeTestModes) = (
01 00 16 47 43 20 53 74 72 65 73 73 20 49 6e 63
6f 6d 70 61 74 69 62 6c 65 c0 00 00 00 00 00
)
.entrypoint
.locals init (class [System.Runtime]System.Exception V_0)
.try {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19969,6 +19969,11 @@
.custom instance void [xunit.core]Xunit.FactAttribute::.ctor() = (
01 00 00 00
)
// [SkipOnCoreClr("GC Stress Incompatible", RuntimeTestModes.AnyGCStress)]
.custom instance void [Microsoft.DotNet.XUnitExtensions]Xunit.SkipOnCoreClrAttribute::.ctor(string, valuetype [Microsoft.DotNet.XUnitExtensions]Xunit.RuntimeTestModes) = (
01 00 16 47 43 20 53 74 72 65 73 73 20 49 6e 63
6f 6d 70 61 74 69 62 6c 65 c0 00 00 00 00 00
)
.entrypoint
.locals init (class [System.Runtime]System.Exception V_0)
.try {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19969,6 +19969,11 @@
.custom instance void [xunit.core]Xunit.FactAttribute::.ctor() = (
01 00 00 00
)
// [SkipOnCoreClr("GC Stress Incompatible", RuntimeTestModes.AnyGCStress)]
.custom instance void [Microsoft.DotNet.XUnitExtensions]Xunit.SkipOnCoreClrAttribute::.ctor(string, valuetype [Microsoft.DotNet.XUnitExtensions]Xunit.RuntimeTestModes) = (
01 00 16 47 43 20 53 74 72 65 73 73 20 49 6e 63
6f 6d 70 61 74 69 62 6c 65 c0 00 00 00 00 00
)
.entrypoint
.locals init (class [System.Runtime]System.Exception V_0)
.try {
Expand Down

0 comments on commit f76b387

Please sign in to comment.