From 7fbba5c9b751d8538b489698f45a0e40bee0c17f Mon Sep 17 00:00:00 2001 From: Jeremy Koritzinsky Date: Tue, 10 Sep 2024 10:15:43 -0700 Subject: [PATCH] All mobile platforms go down the RunTests.sh path, not just browser. (#107563) --- src/tests/Common/helixpublishwitharcade.proj | 20 +++++++++++++------ .../PInvoke/Vector2_3_4/Vector2_3_4.cs | 4 ++-- 2 files changed, 16 insertions(+), 8 deletions(-) diff --git a/src/tests/Common/helixpublishwitharcade.proj b/src/tests/Common/helixpublishwitharcade.proj index f961f5a7aa9bc..5a44eaeb79463 100644 --- a/src/tests/Common/helixpublishwitharcade.proj +++ b/src/tests/Common/helixpublishwitharcade.proj @@ -336,8 +336,8 @@ <_MergedWrapperMarker Include="$(TestBinDir)**\*.MergedTestAssembly" Exclude="$(TestBinDir)**\supportFiles\*.MergedTestAssembly" /> <_MergedWrapperMarker Update="@(_MergedWrapperMarker)"> - $([System.IO.Path]::ChangeExtension('%(Identity)', '.$(TestScriptExtension)')) - %(RootDir)%(Directory)AppBundle/RunTests.$(TestScriptExtension) + $([System.IO.Path]::ChangeExtension('%(Identity)', '.$(TestScriptExtension)')) + %(RootDir)%(Directory)AppBundle/RunTests.$(TestScriptExtension) @@ -473,11 +473,15 @@ <_MergedWrapperDirectory>%(_MergedWrapperMarker.RootDir)%(Directory) <_MergedWrapperName>%(_MergedWrapperMarker.FileName) + + <_MergedApkName>$(_MergedWrapperName.Replace('-', '_')) - <_MergedPayloadGroups Include="$(_MergedWrapperName)" /> - <_MergedPayloadFiles Include="@(_MergedPayloadGroups->'$(_MergedWrapperDirectory)AppBundle/bin/%(Identity).apk')" /> + <_MergedPayloadGroups Include="$(_MergedWrapperName)"> + $(_MergedApkName) + + <_MergedPayloadFiles Include="@(_MergedPayloadGroups->'$(_MergedWrapperDirectory)AppBundle/bin/%(ApkPackageName).apk')" /> @@ -801,7 +805,11 @@ %(FileName)%(Extension) - $(MergedPayloadsRootDirectory)%(FileName)%(Extension)/%(FileName)%(Extension).apk + + $([System.String]::new('%(FileName)%(Extension)').Replace('-', '_')) + + + $(MergedPayloadsRootDirectory)%(FileName)%(Extension)/%(ApkFileName).apk $(MergedPayloadsRootDirectory)%(FileName)%(Extension)/%(FileName)%(Extension).app @@ -890,7 +898,7 @@ --arg=env:TestExclusionListPath=TestExclusionList.txt - net.dot.%(PayloadGroup) + net.dot.%(ApkFileName) net.dot.MonoRunner $([System.TimeSpan]::FromMinutes($(TimeoutPerTestCollectionInMinutes))) diff --git a/src/tests/Interop/PInvoke/Vector2_3_4/Vector2_3_4.cs b/src/tests/Interop/PInvoke/Vector2_3_4/Vector2_3_4.cs index 4a79cdbb18192..ca230a92c1c15 100644 --- a/src/tests/Interop/PInvoke/Vector2_3_4/Vector2_3_4.cs +++ b/src/tests/Interop/PInvoke/Vector2_3_4/Vector2_3_4.cs @@ -56,7 +56,7 @@ public static void RunVector2Tests() } [Fact] - [ActiveIssue("https://github.com/dotnet/runtime/issues/93669", TestPlatforms.Browser)] + [ActiveIssue("https://github.com/dotnet/runtime/issues/91388", typeof(TestLibrary.PlatformDetection), nameof(TestLibrary.PlatformDetection.PlatformDoesNotSupportNativeTestAssets))] public static void RunVector3Tests() { Console.WriteLine($"Running {nameof(RunVector3Tests)}... "); @@ -100,7 +100,7 @@ public static void RunVector3Tests() } [Fact] - [ActiveIssue("https://github.com/dotnet/runtime/issues/93669", TestPlatforms.Browser)] + [ActiveIssue("https://github.com/dotnet/runtime/issues/91388", typeof(TestLibrary.PlatformDetection), nameof(TestLibrary.PlatformDetection.PlatformDoesNotSupportNativeTestAssets))] public static void RunVector4Tests() { Console.WriteLine($"Running {nameof(RunVector4Tests)}... ");