[2019-12] [merp] Capture Environment.FailFast message in crash report (#18921)
* [merp] Capture Environment.FailFast message in crash report
* [test] merp-crash-test refactor crasher data; add optional validator
Switch from a Tuple<T1,T2> to a struct for the crash items. Add a third
optional validator field which is an action to run on the json blob that we get
back.
Not updating existing tests to do any json validation, yet.
* [test] Add new MERP crash test for Environment.FailFast
Check that the resulting json blob includes the failfast message.
Co-authored-by: Aleksey Kliger (λgeek) <akliger@gmail.com>
Showing
- mono/metadata/icall.c 5 additions, 0 deletionsmono/metadata/icall.c
- mono/tests/merp-crash-test.cs 69 additions, 15 deletionsmono/tests/merp-crash-test.cs
- mono/utils/mono-state.c 44 additions, 14 deletionsmono/utils/mono-state.c
- mono/utils/mono-state.h 6 additions, 0 deletionsmono/utils/mono-state.h
Loading
Please register or sign in to comment