The Wayback Machine - https://web.archive.org/web/20201128040924/https://github.com/mono/mono/issues/9257
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

Tests wanted: run monodis and pedump #9257

Open
lambdageek opened this issue Jun 21, 2018 · 3 comments
Open

Tests wanted: run monodis and pedump #9257

lambdageek opened this issue Jun 21, 2018 · 3 comments

Comments

@lambdageek
Copy link
Member

@lambdageek lambdageek commented Jun 21, 2018

Every time we unwittingly change how the mono runtime is supposed to be initialized, we forget to update main() in monodis and pedump. They don't have any tests, so we end up shipping binaries that segfault on startup.

Test plan:

  • run monodis on some small assembly and check that it exits with exit code 0
  • run pedump on some small assembly and check that it exits with exit code 0

Add that to run-jenkins.sh

@akoeplinger
Copy link
Member

@akoeplinger akoeplinger commented Jun 21, 2018

Another good step would be to run the tools and ensure the only output is from the tools and not some warning messages from the runtime like we had in https://bugzilla.xamarin.com/show_bug.cgi?id=56608.

@alexischr
Copy link
Contributor

@alexischr alexischr commented Jun 21, 2018

@akoeplinger the implementer can follow a similar path to e.g mono-symbolicate's test setup for output validation: https://github.com/mono/mono/blob/88d853487e7b61c8b3d358c3fd9ca7ce4f782eb0/mcs/tools/mono-symbolicate/Makefile

@marek-safar
Copy link
Member

@marek-safar marek-safar commented Jun 25, 2018

We already test pedump as part of mono runtime tests, see test-pedump target.

@marek-safar marek-safar added this to Needs triage in Proposals Review Oct 26, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Proposals Review
Needs triage
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
4 participants
You can’t perform that action at this time.