Skip to content

Commit

Permalink
[mono][tests] Add support for mobile devices in processinfo3 test (#8…
Browse files Browse the repository at this point in the history
…8655)

* Add support for devices in processinfo3 test

* Add support for android portable RID OS
  • Loading branch information
kotlarmilos committed Jul 17, 2023
1 parent 2fc318d commit 84e09f9
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/tests/tracing/eventpipe/processinfo3/processinfo3.cs
Original file line number Diff line number Diff line change
Expand Up @@ -312,6 +312,14 @@ public static int Main()
}
Logger.logger.Log("Finished checking process modules.");
}
else if (OperatingSystem.IsIOS() || OperatingSystem.IsTvOS())
{
expectedPortableRidOs = "unix";
}
else if (OperatingSystem.IsAndroid())
{
expectedPortableRidOs = "linux-bionic";
}

Utils.Assert(!string.IsNullOrEmpty(expectedPortableRidOs), $"Unable to calculate expected portable RID OS.");

Expand Down

0 comments on commit 84e09f9

Please sign in to comment.