Handle output parsing errors in DeqpTestRunner

Handle errors caused by interrupted ADB connection in the
instrumentation parser of the DeqpTestRunner. Prior to the fix the
errors were likely silently ignored first, which lead to corrupted
internal state.

Also added unit tests covering a couple of classes of errors.

Tested with unit tests.

Bug: 25815311
Change-Id: Ifed2bb3bde9aee5361b834b72b027a96ebc0ceda
2 files changed