]> git.proxmox.com Git - mirror_qemu.git/commit
tests: minor cleanups in usb-hcd-uhci-test
authorLaurent Vivier <lvivier@redhat.com>
Thu, 6 Oct 2016 14:50:48 +0000 (16:50 +0200)
committerDavid Gibson <david@gibson.dropbear.id.au>
Thu, 13 Oct 2016 23:06:47 +0000 (10:06 +1100)
commit44a3dd9b8718a7f0a94053c57782886748a43d7a
treeaedebcb4f11546ef4093c732894a42e9df0423a9
parent6aa5a3679449cdf0b6fe5a6829b22e642ded57fd
tests: minor cleanups in usb-hcd-uhci-test

Two minor cleanups:
- exit gracefully in case on unsupported target,
- put machine command line in a constant to avoid
  to duplicate it.

Signed-off-by: Laurent Vivier <lvivier@redhat.com>
Reviewed-by: Gerd Hoffmann <kraxel@redhat.com>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
tests/usb-hcd-uhci-test.c