Skip to content
Merged
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
1 change: 1 addition & 0 deletions eng/testing/tests.ioslike.targets
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
<NativeLib>Static</NativeLib>
<CustomNativeMain>true</CustomNativeMain>
<_SuppressNativeLibEventSourceWarning>true</_SuppressNativeLibEventSourceWarning>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
</PropertyGroup>

<ItemGroup Condition="'$(UseNativeAOTRuntime)' == 'true' and '$(IncludesTestRunner)' != 'false' and '$(TargetFrameworkIdentifier)' == '.NETCoreApp'">
Expand Down
10 changes: 5 additions & 5 deletions src/libraries/Common/tests/AppleTestRunner/AppleTestRunner.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,14 @@
using Microsoft.DotNet.XHarness.TestRunners.Common;
using Microsoft.DotNet.XHarness.TestRunners.Xunit;

public class SimpleTestRunner : iOSApplicationEntryPoint, IDevice
public partial class SimpleTestRunner : iOSApplicationEntryPoint, IDevice
{
// to be wired once https://github.com/dotnet/xharness/pull/46 is merged
[DllImport("__Internal")]
public extern static void mono_ios_append_output (string value);
[LibraryImport("__Internal", EntryPoint = "mono_ios_append_output", StringMarshalling = StringMarshalling.Utf8)]
private static partial void mono_ios_append_output (string value);

[DllImport("__Internal")]
public extern static void mono_ios_set_summary (string value);
[LibraryImport("__Internal", EntryPoint = "mono_ios_set_summary", StringMarshalling = StringMarshalling.Utf8)]
private static partial void mono_ios_set_summary (string value);
Comment thread
kotlarmilos marked this conversation as resolved.
Comment thread
kotlarmilos marked this conversation as resolved.

private static List<string> s_testLibs = new List<string>();
private static List<Assembly>? s_testAssemblies;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
<PropertyGroup>
<OutputType>Exe</OutputType>
<Nullable>enable</Nullable>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<TargetFramework>$(NetCoreAppCurrent)</TargetFramework>
</PropertyGroup>
<ItemGroup>
Expand Down
Loading