[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[qemu-s390x] [PATCH v4 02/19] Acceptance tests: improve docstring on pic
From: |
Cleber Rosa |
Subject: |
[qemu-s390x] [PATCH v4 02/19] Acceptance tests: improve docstring on pick_default_qemu_bin() |
Date: |
Tue, 12 Mar 2019 08:11:33 -0400 |
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>
---
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.20.1
- [qemu-s390x] [PATCH v4 08/19] Boot Linux Console Test: update the x86_64 kernel, (continued)
- [qemu-s390x] [PATCH v4 08/19] Boot Linux Console Test: update the x86_64 kernel, Cleber Rosa, 2019/03/12
- [qemu-s390x] [PATCH v4 09/19] Boot Linux Console Test: add common kernel command line options, Cleber Rosa, 2019/03/12
- [qemu-s390x] [PATCH v4 07/19] Boot Linux Console Test: rename the x86_64 after the arch and machine, Cleber Rosa, 2019/03/12
- [qemu-s390x] [PATCH v4 04/19] Acceptance tests: introduce arch parameter and attribute, Cleber Rosa, 2019/03/12
- [qemu-s390x] [PATCH v4 06/19] Acceptance tests: look for target architecture in test tags first, Cleber Rosa, 2019/03/12
- [qemu-s390x] [PATCH v4 05/19] Acceptance tests: use "arch:" tag to filter target specific tests, Cleber Rosa, 2019/03/12
- [qemu-s390x] [PATCH v4 02/19] Acceptance tests: improve docstring on pick_default_qemu_bin(),
Cleber Rosa <=
- [qemu-s390x] [PATCH v4 03/19] Acceptance tests: fix doc reference to avocado_qemu directory, Cleber Rosa, 2019/03/12
- [qemu-s390x] [PATCH v4 01/19] Acceptance tests: show avocado test execution by default, Cleber Rosa, 2019/03/12