Skip to content
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

[libmonodroid] Add an exported monodroid_clear_gdb_wait () function w… #354

Closed
wants to merge 1 commit into from

Conversation

vargaz
Copy link
Contributor

@vargaz vargaz commented Jan 6, 2017

…hich can be called by a native debugger to break waits. This is better than setting the 'monodroid_gdb_wait' variable since the variable might not be accessible if libmondroid is compiled with optimizations on or its stripped.

…hich can be called by a native debugger to break waits. This is better than setting the 'monodroid_gdb_wait' variable since the variable might not be accessible if libmondroid is compiled with optimizations on or its stripped.
@@ -66,6 +66,8 @@
#include "xamarin_getifaddrs.h"
#endif

#define MONO_API_EXPORT __attribute__ ((visibility ("default")))
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why do you need to add MONO_API_EXPORT? Using MONO_API should work, as is done for 18 other functions in this file.

@jonpryor
Copy link
Member

jonpryor commented Jan 9, 2017

This has been applied as bf1bc93.

@jonpryor jonpryor closed this Jan 9, 2017
jonpryor added a commit that referenced this pull request Jan 10, 2017
…#357)

Reverts #337

Commit a7beb70 broke unit test execution. [Jenkins build #190][b190]
ran 128 tests, while [Jenkins build #191][b190] executed *6*.
Build #191 only contains two commits, and commit bf1bc93 --
[PR #354][pr354] -- doesn't look like a plausible source of error.

The cause of the "broken unit test execution" is that the on-device
unit tests are exiting [with an error][x191]:

    Task "RunInstrumentationTests"
            ....
            INSTRUMENTATION_RESULT: shortMsg=android.runtime.JavaProxyThrowable
            INSTRUMENTATION_RESULT: longMsg=android.runtime.JavaProxyThrowable: System.IO.FileNotFoundException: Could not load file or assembly 'System.Runtime.Serialization, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e' or one of its dependencies.
    ...
    xamarin-android/build-tools/scripts/UnitTestApks.targets:  warning : No `nunit2-results-path` bundle value found in command output! Cannot find NUnit2 XML output!

Commit a7beb70 stopped deploying facade assemblies, including
`System.Runtime.Serialization`, which is why it can't be found.

Revert commit a7beb70 so that on-device unit tests execute.


[b190]: https://jenkins.mono-project.com/view/Xamarin.Android/job/xamarin-android/190/testReport/
[b191]: https://jenkins.mono-project.com/view/Xamarin.Android/job/xamarin-android/191/testReport/
[x191]: https://jenkins.mono-project.com/view/Xamarin.Android/job/xamarin-android/191/consoleText
[pr354]: #354
@github-actions github-actions bot locked and limited conversation to collaborators Feb 6, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants