Skip to content

Commit

Permalink
Run Full Aot for test
Browse files Browse the repository at this point in the history
  • Loading branch information
dellis1972 committed Feb 27, 2023
1 parent dd73f7c commit f2dac50
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions tests/MSBuildDeviceIntegration/Tests/InstallAndRunTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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 ();

Expand All @@ -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))){
Expand Down

0 comments on commit f2dac50

Please sign in to comment.