diff options
author | Thomas Huth <thuth@redhat.com> | 2017-08-28 12:25:45 +0200 |
---|---|---|
committer | Thomas Huth <thuth@redhat.com> | 2017-09-15 09:05:18 +0200 |
commit | db221e66d8117f810c8046ce42c156580e4292aa (patch) | |
tree | 0c536c967bcd96722e8a5b217c7bd21ff48a4340 /tests/libqos | |
parent | 33ea6cf712c2e98bb4cb266034e59958027e4b00 (diff) |
tests/libqtest: Use a proper error message if QTEST_QEMU_BINARY is missing
The user can currently still cause an abort() if running certain tests
(like the prom-env-test) without setting the QTEST_QEMU_BINARY first.
A similar problem has been fixed with commit 7c933ad61b8f3f51337
already, but forgot to also take care of the qtest_get_arch() function,
so let's introduce a proper wrapper around getenv("QTEST_QEMU_BINARY")
that can be used in both locations now.
Buglink: https://bugs.launchpad.net/qemu/+bug/1713434
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: John Snow <jsnow@redhat.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
Diffstat (limited to 'tests/libqos')
0 files changed, 0 insertions, 0 deletions