Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -370,7 +370,7 @@ static void DEL_ThrowExceptionException(int _)
{
// Not yet implemented For NativeAOT.
// https://github.com/dotnet/runtime/issues/80985
if (!TestLibrary.Utilities.IsNativeAot)
// if (!TestLibrary.Utilities.IsNativeAot)
{
var lastMethod = (MethodInfo)MethodBase.GetMethodFromHandle(lastMethodHandle);
Assert.True(lastMethod != null);
Expand Down
2 changes: 0 additions & 2 deletions src/tests/Interop/PInvoke/Decimal/DecimalTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ public static void RunDecimalTests()
}

[Fact]
[ActiveIssue("https://github.com/dotnet/runtimelab/issues/175", typeof(TestLibrary.Utilities), nameof(TestLibrary.Utilities.IsNativeAot))]
public static void RunLPDecimalTests()
{
Assert.Equal((decimal)StartingIntValue, DecimalTestNative.CreateLPDecimalFromInt(StartingIntValue));
Expand All @@ -60,7 +59,6 @@ public static void RunLPDecimalTests()

[Fact]
[PlatformSpecific(TestPlatforms.Windows)]
[ActiveIssue("https://github.com/dotnet/runtimelab/issues/175", typeof(TestLibrary.Utilities), nameof(TestLibrary.Utilities.IsNativeAot))]
public static void RunCurrencyTests()
{
Assert.Throws<MarshalDirectiveException>(() => DecimalTestNative.CreateCurrencyFromInt(StartingIntValue));
Expand Down
3 changes: 3 additions & 0 deletions src/tests/baseservices/callconvs/TestCallingConventions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,9 @@ static void NonblittableFunctionPointers()
[Fact]
public static int TestEntryPoint()
{
if (string.IsNullOrEmpty(typeof(object).Assembly.Location))
return 3989374;

try
{
BlittableFunctionPointers();
Expand Down