project/qemu: Dump system log on test failure

If an android test returns a non-zero status code, whether due
to a timeout or a test failure, mark that the session encountered
an error. This ensures that the system log gets printed when the
emulator environment shuts down.

Bug: None
Test: manually, set timeout for pincputest to 30s; then run
build.py qemu-generic-arm64-test-debug --test "^android.*com.android.kernel.pincputest"

Change-Id: I4f76d8cde75dbfb72c8e69c9ff3e7a4bfc506b48
1 file changed
tree: bf262b810a744ac4e3cd2155580eede72f74af9f
  1. project/
  2. .clang-format
  3. LICENSE
  4. PREUPLOAD.cfg