You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
StringAssertEx.ContainsRegex(@$"Using profile data file.*{filename}\.aotprofile",b.LastBuildOutput,"Should use default AOT profile",RegexOptions.IgnoreCase);
57
+
StringAssertEx.ContainsRegex(@$"Using profile data file.*dotnet\.aotprofile",b.LastBuildOutput,"Should use default AOT profile",RegexOptions.IgnoreCase);
StringAssertEx.DoesNotContainRegex(@$"Using profile data file.*{filename}\.aotprofile",b.LastBuildOutput,"Should not use default AOT profile",RegexOptions.IgnoreCase);
110
+
StringAssertEx.DoesNotContainRegex(@$"Using profile data file.*dotnet\.aotprofile",b.LastBuildOutput,"Should not use default AOT profile",RegexOptions.IgnoreCase);
113
111
}
114
112
115
113
[Test]
@@ -199,31 +197,9 @@ public void BuildAotApplicationWithNdkAndBundleAndÜmläüts (string supportedAb
199
197
using(varb=CreateApkBuilder(path)){
200
198
b.ThrowOnBuildFailure=false;
201
199
Assert.IsTrue(b.Build(proj),"Build should have succeeded.");
202
-
//NOTE: Windows has shortened paths such as: C:\Users\myuser\ANDROI~3\ndk\PLATFO~1\AN3971~1\arch-x86\usr\lib\libc.so
// LLVM passes a direct path to libc.so, and we need to use the libc.so
208
-
// which corresponds to the *minimum* SDK version specified in AndroidManifest.xml
209
-
// Since we overrode minSdkVersion=16, that means we should use libc.so from android-16.
210
-
if(ndk22OrNewer){
211
-
// NDK r22 or newer store libc in [toolchain]/sysroot/usr/lib/[ARCH]/[API]/libc.so
212
-
StringAssertEx.ContainsRegex(@"\s*\[aot-compiler stdout].*sysroot.*.usr.lib.*19.libc\.so",b.LastBuildOutput,"AOT+LLVM should use libc.so from minSdkVersion!");
213
-
}else{
214
-
StringAssertEx.ContainsRegex(@"\s*\[aot-compiler stdout].*android-19.arch-.*.usr.lib.libc\.so",b.LastBuildOutput,"AOT+LLVM should use libc.so from minSdkVersion!");
0 commit comments