[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH v2 03/20] Acceptance tests: improve docstring on pic
From: |
Cleber Rosa |
Subject: |
[Qemu-devel] [PATCH v2 03/20] Acceptance tests: improve docstring on pick_default_qemu_bin() |
Date: |
Fri, 1 Feb 2019 19:55:53 -0500 |
Making it clear what is returned by this utility function.
Reviewed-by: Caio Carrara <address@hidden>
Reviewed-by: Philippe Mathieu-Daudé <address@hidden>
Signed-off-by: Cleber Rosa <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 1e54fd5932..d8d5b48dac 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.20.1
- Re: [Qemu-devel] [PATCH v2 02/20] Acceptance tests: show avocado test execution by default, (continued)
- Re: [Qemu-devel] [PATCH v2 02/20] Acceptance tests: show avocado test execution by default, Cleber Rosa, 2019/02/06
- Re: [Qemu-devel] [PATCH v2 02/20] Acceptance tests: show avocado test execution by default, Cornelia Huck, 2019/02/06
- Re: [Qemu-devel] [PATCH v2 02/20] Acceptance tests: show avocado test execution by default, Cleber Rosa, 2019/02/06
- Re: [Qemu-devel] [PATCH v2 02/20] Acceptance tests: show avocado test execution by default, Cornelia Huck, 2019/02/07
- Re: [Qemu-devel] [PATCH v2 02/20] Acceptance tests: show avocado test execution by default, Cleber Rosa, 2019/02/07
- Re: [Qemu-devel] [PATCH v2 02/20] Acceptance tests: show avocado test execution by default, Cornelia Huck, 2019/02/08
[Qemu-devel] [PATCH v2 04/20] Acceptance tests: fix doc reference to avocado_qemu directory, Cleber Rosa, 2019/02/01
[Qemu-devel] [PATCH v2 10/20] Boot Linux Console Test: add common kernel command line options, Cleber Rosa, 2019/02/01
[Qemu-devel] [PATCH v2 16/20] Boot Linux Console Test: add a test for ppc64 + pseries, Cleber Rosa, 2019/02/01
[Qemu-devel] [PATCH v2 03/20] Acceptance tests: improve docstring on pick_default_qemu_bin(),
Cleber Rosa <=
[Qemu-devel] [PATCH v2 17/20] Boot Linux Console Test: add a test for aarch64 + virt, Cleber Rosa, 2019/02/01
[Qemu-devel] [PATCH v2 11/20] Boot Linux Console Test: increase timeout, Cleber Rosa, 2019/02/01
[Qemu-devel] [PATCH v2 12/20] Boot Linux Console Test: refactor the console watcher into utility method, Cleber Rosa, 2019/02/01
[Qemu-devel] [PATCH v2 01/20] scripts/qemu.py: log QEMU launch command line, Cleber Rosa, 2019/02/01
[Qemu-devel] [PATCH v2 15/20] Boot Linux Console Test: add a test for mips64el + malta, Cleber Rosa, 2019/02/01
[Qemu-devel] [PATCH v2 09/20] Boot Linux Console Test: update the x86_64 kernel, Cleber Rosa, 2019/02/01
[Qemu-devel] [PATCH v2 13/20] scripts/qemu.py: support adding a console with the default serial device, Cleber Rosa, 2019/02/01
[Qemu-devel] [PATCH v2 20/20] Boot Linux Console Test: add a test for alpha + clipper, Cleber Rosa, 2019/02/01
[Qemu-devel] [PATCH v2 05/20] Acceptance tests: introduce arch parameter and attribute, Cleber Rosa, 2019/02/01