-
Notifications
You must be signed in to change notification settings - Fork 564
Bump Mono to 2017-10 #943
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bump Mono to 2017-10 #943
Conversation
|
@monojenkins build |
| if (string.Compare (expectedRuntime, "debug", StringComparison.OrdinalIgnoreCase) == 0) { | ||
| Assert.IsNotNull (inApk, "libmono-profiler-log.so should exist in the apk."); | ||
| if (inApk == null) | ||
| Assert.Fail ("libmono-profiler-log.so should exist in the apk."); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why replace Assert.IsNotNull with if (inapt != null) Assert.Fail()? Aren't those semantically the same?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I cherry-picked that from the abandoned #723 so I don't have a lot of context, but the commit message says this: Avoid dumping the content of libmono-profiler-log.so when test is falling which makes sense to me since Assert.IsNotNull would dump the value of inApk to the log.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah. Good reason. :-)
| psi.StandardOutputEncoding = Encoding.UTF8; | ||
| var p = Process.Start (psi); | ||
| var ranToCompletion = p.WaitForExit ((int)new TimeSpan (0,10,0).TotalMilliseconds); | ||
| var ranToCompletion = p.WaitForExit ((int)new TimeSpan (0,15,0).TotalMilliseconds); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is the new mono slower and that's why we need to increase timeouts?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a debugging aid I added to investigate failures I saw before the msbuild tests got broken in master. I'll take a closer look once those are fixed again.
5cbfa58 to
121874a
Compare
|
@jonpryor the error on And for the Are these knows failures? Or do they seem to be introduced by the mono bump? |
|
@luhenry the Linux error is expected because there's no Mono 5.8 for Linux yet (the integration guide says this should be dealt with at the end). The VSTS Windows error I think is expected as well since it relies on the Mono bundle, which won't be uploaded until this lands in master. This means it tries to build Mono from source which won't work on Windows (out of the box). |
5f85022 to
6407581
Compare
|
@monojenkins build |
0b4b5be to
4df96d4
Compare
Using an explicit version there is just a recipe for outdated info, instead rewrite it to be generic since the build will complain on an outdated Mono anyway
It's behind the CDN and way faster outside US.
eglib was moved into a subdirectory in mono/mono#5297 eglib/config.h doesn't exist anymore, mono doesn't use a separate autoconf for eglib anymore
It isn't required to build the monodroid profile and saves a lot of build time. The tools needed by XA are taken from the new monodroid_tools profile instead.
The target in Mono builds without errors now when using the monodroid profile.
Those are used in the new System.Reflection.Emit.SaveTest ().
Xamarin.Android.Common.props is generated as part of the build. The build/ directory contains .rawproto files created by the Android Gradle plugin and should be excluded.
4df96d4 to
d2b197a
Compare
No description provided.