Skip to content

Commit 35d0de9

Browse files
committed
Since the fix is in the CoreCLR VM side, we need to disable the tests in JitStress (as they won't be fixed when the JIT introduces these extra checks when not asking the VM)
1 parent 79b1cd2 commit 35d0de9

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/tests/Interop/IJW/CopyConstructorMarshaler/CopyConstructorMarshaler.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ public static int TestEntryPoint()
6262
}
6363

6464
[Fact]
65+
[SkipOnCoreClr("JitStress and MinOpts can introduce extra copies that won't happen in production scenarios.", RuntimeTestModes.JitStress | RuntimeTestModes.JitMinOpts)]
6566
public static void CopyConstructorsInArgumentStackSlots()
6667
{
6768
Assembly ijwNativeDll = Assembly.Load("IjwCopyConstructorMarshaler");
@@ -73,6 +74,7 @@ public static void CopyConstructorsInArgumentStackSlots()
7374
}
7475

7576
[Fact]
77+
[SkipOnCoreClr("JitStress and MinOpts can introduce extra copies that won't happen in production scenarios.", RuntimeTestModes.JitStress | RuntimeTestModes.JitMinOpts)]
7678
public static void CopyConstructorsInArgumentStackSlotsWithUnsafeValueType()
7779
{
7880
Assembly ijwNativeDll = Assembly.Load("IjwCopyConstructorMarshaler");

0 commit comments

Comments
 (0)