From 43c1333c7a780f2a9f100aeaadee16dce32ad1f9 Mon Sep 17 00:00:00 2001 From: Dean Ellis Date: Thu, 2 Feb 2023 13:33:11 +0000 Subject: [PATCH] Run Full Aot for test --- tests/MSBuildDeviceIntegration/Tests/InstallAndRunTests.cs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tests/MSBuildDeviceIntegration/Tests/InstallAndRunTests.cs b/tests/MSBuildDeviceIntegration/Tests/InstallAndRunTests.cs index 315a766d368..ae965a748e8 100644 --- a/tests/MSBuildDeviceIntegration/Tests/InstallAndRunTests.cs +++ b/tests/MSBuildDeviceIntegration/Tests/InstallAndRunTests.cs @@ -184,7 +184,7 @@ public void MonoSymbolicateAndroidStackTrace () [TestCase (true, "テスト")] [TestCase (false, "随机生成器")] [TestCase (true, "随机生成器")] - public void SmokeTestBuildAndRunWithSpecialCharacters (bool profileAot, string testName) + public void SmokeTestBuildAndRunWithSpecialCharacters (bool fullAot, string testName) { AssertHasDevices (); @@ -193,7 +193,8 @@ public void SmokeTestBuildAndRunWithSpecialCharacters (bool profileAot, string t ProjectName = testName, IsRelease = true, }; - proj.SetProperty (proj.ReleaseProperties, "AndroidEnableProfiledAot", profileAot); + if (fullAot) + proj.SetProperty (proj.ReleaseProperties, "RunAOTCompilation", "true"); proj.SetAndroidSupportedAbis ("armeabi-v7a", "x86", "x86_64"); proj.SetDefaultTargetDevice (); using (var builder = CreateApkBuilder (Path.Combine (rootPath, proj.ProjectName))){