Skip to content

Commit d424805

Browse files
committed
Run Full Aot for test
1 parent 3bc20ad commit d424805

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

tests/MSBuildDeviceIntegration/Tests/InstallAndRunTests.cs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ public void MonoSymbolicateAndroidStackTrace ()
184184
[TestCase (true, "テスト")]
185185
[TestCase (false, "随机生成器")]
186186
[TestCase (true, "随机生成器")]
187-
public void SmokeTestBuildAndRunWithSpecialCharacters (bool profileAot, string testName)
187+
public void SmokeTestBuildAndRunWithSpecialCharacters (bool fullAot, string testName)
188188
{
189189
AssertHasDevices ();
190190

@@ -193,7 +193,8 @@ public void SmokeTestBuildAndRunWithSpecialCharacters (bool profileAot, string t
193193
ProjectName = testName,
194194
IsRelease = true,
195195
};
196-
proj.SetProperty (proj.ReleaseProperties, "AndroidEnableProfiledAot", profileAot);
196+
if (fullAot)
197+
proj.SetProperty (proj.ReleaseProperties, "RunAOTCompilation", "true");
197198
proj.SetAndroidSupportedAbis ("armeabi-v7a", "x86", "x86_64");
198199
proj.SetDefaultTargetDevice ();
199200
using (var builder = CreateApkBuilder (Path.Combine (rootPath, proj.ProjectName))){

0 commit comments

Comments
 (0)