Skip to content

Commit ffef0f3

Browse files
committed
Disable two EH interop scenarios in ExecInDefAppDom
1 parent 19b4475 commit ffef0f3

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

src/tests/Interop/ExecInDefAppDom/ExecInDefAppDom.cs

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,10 +81,17 @@ public static int TestEntryPoint()
8181
result += TestExecuteInAppDomain(myPath, "FakeInjectedCode", "WrongReturnType", "None", COR_E_MISSINGMETHOD, 0);
8282
result += TestExecuteInAppDomain(myPath, "FakeInjectedCode", "Return0", "None", S_OK, 0);
8383
result += TestExecuteInAppDomain(myPath, "FakeInjectedCode", "Return1", "None", S_OK, 1);
84-
result += TestExecuteInAppDomain(myPath, "FakeInjectedCode", "ThrowAnything", "None", COR_E_EXCEPTION, 0);
84+
// Interpreter-FIXME: This requires EH interop which is not currently supported by the interpreter
85+
if (!TestLibrary.Utilities.IsClrInterpreterActive)
86+
{
87+
result += TestExecuteInAppDomain(myPath, "FakeInjectedCode", "ThrowAnything", "None", COR_E_EXCEPTION, 0);
88+
}
8589
result += TestExecuteInAppDomain(myPath, "FakeInjectedCode", "ParseArgument", "0", S_OK, 0);
8690
result += TestExecuteInAppDomain(myPath, "FakeInjectedCode", "ParseArgument", "200", S_OK, 200);
87-
result += TestExecuteInAppDomain(myPath, "FakeInjectedCode", "ParseArgument", "None", COR_E_FORMAT, 0);
91+
if (!TestLibrary.Utilities.IsClrInterpreterActive)
92+
{
93+
result += TestExecuteInAppDomain(myPath, "FakeInjectedCode", "ParseArgument", "None", COR_E_FORMAT, 0);
94+
}
8895
result += TestExecuteInAppDomain(injectedPath, "InjectedCode", "ParseArgument", "300", S_OK, 300);
8996

9097
return result;

0 commit comments

Comments
 (0)