mirror of
https://github.com/xemu-project/xemu.git
synced 2024-11-24 20:19:44 +00:00
tests/acceptance: improve docstring on pick_default_qemu_bin()
Making it clear what is returned by this utility function. Signed-off-by: Cleber Rosa <crosa@redhat.com> Reviewed-by: Caio Carrara <ccarrara@redhat.com> Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com> Reviewed-by: Cornelia Huck <cohuck@redhat.com> Message-Id: <20190312171824.5134-3-crosa@redhat.com> Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
This commit is contained in:
parent
59692a1238
commit
45c01bd926
@ -27,6 +27,10 @@ def pick_default_qemu_bin():
|
||||
"""
|
||||
Picks the path of a QEMU binary, starting either in the current working
|
||||
directory or in the source tree root directory.
|
||||
|
||||
:returns: the path to the default QEMU binary or None if one could not
|
||||
be found
|
||||
:rtype: str or None
|
||||
"""
|
||||
arch = os.uname()[4]
|
||||
qemu_bin_relative_path = os.path.join("%s-softmmu" % arch,
|
||||
|
Loading…
Reference in New Issue
Block a user