Commit 4372c1a3 authored by Sebastien Hertz's avatar Sebastien Hertz
Browse files

JDWP: fail test if debuggee does not exit normally

Makes a test fail if the debuggee exits with an error. This prevents
from passing a test while the debuggee aborts (during runtime
shutdown for instance).

By default, we expect the debuggee to exit with code 0. The tests
related to VirtualMachine.Exit command (that forces the runtime to
exit with a given error code) can specify a different exit code with
JDWPUnitDebuggeeProcessWrapper.setExpectedExitCode method.

Bug: 22907762
Bug: 17941266
Change-Id: I1acd4a4251d8cb3a335e581aef1792ea1049ba74
parent aab7dfb8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment