[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PULL 02/19] tests/acceptance: improve docstring on pick_de
From: |
Eduardo Habkost |
Subject: |
[Qemu-devel] [PULL 02/19] tests/acceptance: improve docstring on pick_default_qemu_bin() |
Date: |
Thu, 2 May 2019 21:41:13 -0300 |
From: Cleber Rosa <address@hidden>
Making it clear what is returned by this utility function.
Signed-off-by: Cleber Rosa <address@hidden>
Reviewed-by: Caio Carrara <address@hidden>
Reviewed-by: Philippe Mathieu-Daudé <address@hidden>
Reviewed-by: Cornelia Huck <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Eduardo Habkost <address@hidden>
---
tests/acceptance/avocado_qemu/__init__.py | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/tests/acceptance/avocado_qemu/__init__.py
b/tests/acceptance/avocado_qemu/__init__.py
index a66ec72daa..b7c5d598d8 100644
--- a/tests/acceptance/avocado_qemu/__init__.py
+++ b/tests/acceptance/avocado_qemu/__init__.py
@@ -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,
--
2.18.0.rc1.1.g3f1ff2140
- [Qemu-devel] [PULL 00/19] Python queue, 2019-05-02, Eduardo Habkost, 2019/05/02
- [Qemu-devel] [PULL 01/19] tests/acceptance: show avocado test execution by default, Eduardo Habkost, 2019/05/02
- [Qemu-devel] [PULL 02/19] tests/acceptance: improve docstring on pick_default_qemu_bin(),
Eduardo Habkost <=
- [Qemu-devel] [PULL 03/19] tests/acceptance: fix doc reference to avocado_qemu directory, Eduardo Habkost, 2019/05/02
- [Qemu-devel] [PULL 04/19] tests/acceptance: introduce arch parameter and attribute, Eduardo Habkost, 2019/05/02
- [Qemu-devel] [PULL 05/19] tests/acceptance: use "arch:" tag to filter target specific tests, Eduardo Habkost, 2019/05/02
- [Qemu-devel] [PULL 06/19] tests/acceptance: look for target architecture in test tags first, Eduardo Habkost, 2019/05/02
- [Qemu-devel] [PULL 07/19] tests/boot_linux_console: rename the x86_64 after the arch and machine, Eduardo Habkost, 2019/05/02
- [Qemu-devel] [PULL 08/19] tests/boot_linux_console: update the x86_64 kernel, Eduardo Habkost, 2019/05/02
- [Qemu-devel] [PULL 09/19] tests/boot_linux_console: add common kernel command line options, Eduardo Habkost, 2019/05/02
- [Qemu-devel] [PULL 10/19] tests/boot_linux_console: increase timeout, Eduardo Habkost, 2019/05/02