base: refactor ImmediateCrashTest.ExpectedOpcodeSequence
This change refactors this test by: 1) Splitting out the library & bytecode-snarfing logic to a helper function 2) Deduplicating some code that existed on each platform, via use of a couple of typedefs 3) Has the test not hang onto the shared library if one of the gtest asserts fail - I don't think this is a problem in practice, but. Bug: None Change-Id: Iea33973b141de7cb5fe1aaeae5eb1d6773d31c06 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2414684Reviewed-by:Mark Mentovai <mark@chromium.org> Commit-Queue: Elly Fong-Jones <ellyjones@chromium.org> Cr-Commit-Position: refs/heads/master@{#810407}
Showing
Please register or sign in to comment