Make run_emu.sh into user-friendly run-test.sh

The script was meant to be a wrapper around QEMU that parses the result
of a kvm-unit-tests' instance from the logs. Make the script more useful
for users by adding new command-line flags and making most flags
optional.

Users can now run a single test case without having to wait for Make to
check if dependencies need to be rebuilt, run a test case with GDB
enabled, while still being able to provide a custom kernel and/or pass
flags directly to QEMU.

Example usage:
  $ make -j40
  $ build/kvm-unit-tests/run_test.sh -G psci # run with GDB

Change-Id: Icf4f4cf4d9f37f518e3621a5ab13814c4e54647a
4 files changed
tree: 0bafff3cf3da358b25dbf15506c72480cab8c330
  1. aarch64/
  2. aarch64-unit-tests/
  3. kvm-unit-tests/
  4. common.inc
  5. Makefile