Skip to content

Commit e57ae38

Browse files
committed
Fix Regex for unit test
1 parent 3a19c12 commit e57ae38

File tree

1 file changed

+1
-1
lines changed
  • src/Xamarin.Android.Build.Tasks/Tests/Xamarin.Android.Build.Tests

1 file changed

+1
-1
lines changed

src/Xamarin.Android.Build.Tasks/Tests/Xamarin.Android.Build.Tests/BuildTest.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -673,7 +673,7 @@ public void BuildAotApplication (string supportedAbis, bool enableLLVM, bool exp
673673
// LLVM passes a direct path to libc.so, and we need to use the libc.so
674674
// which corresponds to the *minimum* SDK version specified in AndroidManifest.xml
675675
// Since we overrode minSdkVersion=10, that means we should use libc.so from android-9.
676-
var rightLibc = new Regex (@"^\s*\[AOT\].*cross-.*--llvm.*,ld-flags=.*android-9.arch-.*.usr.lib.libc\.so", RegexOptions.Multiline);
676+
var rightLibc = new Regex (@"\s*\[aot-compiler stdout].*android-9.arch-.*.usr.lib.libc\.so", RegexOptions.Multiline);
677677
var m = rightLibc.Match (string.Join ("\n",b.LastBuildOutput));
678678
Assert.IsTrue (m.Success, "AOT+LLVM should use libc.so from minSdkVersion!");
679679
}

0 commit comments

Comments
 (0)