* [PATCH v5] acpi/tests/avocado/bits: some misc fixes
@ 2022-11-17 5:36 Ani Sinha
2022-11-17 7:59 ` Thomas Huth
0 siblings, 1 reply; 2+ messages in thread
From: Ani Sinha @ 2022-11-17 5:36 UTC (permalink / raw)
To: Ani Sinha, Cleber Rosa, Philippe Mathieu-Daudé,
Wainer dos Santos Moschetta, Beraldo Leal
Cc: Thomas Huth, Michael S . Tsirkin, qemu-trivial, qemu-devel
Most of the changes are trivial. The bits test timeout has now been increased
to 200 seconds in order to accommodate slower systems and fewer unnecessary
failures. Removed of the reference to non-existent README file in docs. Some
minor corrections in the doc file.
CC: Thomas Huth <thuth@redhat.com>
CC: Michael S. Tsirkin <mst@redhat.com>
CC: qemu-trivial@nongnu.org
Signed-off-by: Ani Sinha <ani@anisinha.ca>
Reviewed-by: Thomas Huth <thuth@redhat.com>
---
docs/devel/acpi-bits.rst | 12 ++++--------
tests/avocado/acpi-bits.py | 3 +++
2 files changed, 7 insertions(+), 8 deletions(-)
changes from v1: address Thomas' suggestions.
changes from v2: more minor corrections in doc, tags added.
changes from v3: raised timeout to 200 secs overriding the default
avocado timeout of 120 secs.
changes from v4: rebased to adjust for changes from john's patch
https://www.mail-archive.com/qemu-devel@nongnu.org/msg921975.html
diff --git a/docs/devel/acpi-bits.rst b/docs/devel/acpi-bits.rst
index c9564d871a..56e76338c3 100644
--- a/docs/devel/acpi-bits.rst
+++ b/docs/devel/acpi-bits.rst
@@ -16,11 +16,8 @@ end user. The other is that we have more control of what we wanted to test
and how by directly using acpica interpreter on top of the bios on a running
system. More details on the inspiration for developing biosbits and its real
life uses can be found in [#a]_ and [#b]_.
-This directory contains tests written in python using avocado framework that
-exercises the QEMU bios components using biosbits and reports test failures.
For QEMU, we maintain a fork of bios bits in gitlab along with all the
-dependent submodules:
-https://gitlab.com/qemu-project/biosbits-bits
+dependent submodules here: https://gitlab.com/qemu-project/biosbits-bits
This fork contains numerous fixes, a newer acpica and changes specific to
running this avocado QEMU tests using bits. The author of this document
is the sole maintainer of the QEMU fork of bios bits repo.
@@ -38,10 +35,9 @@ Under ``tests/avocado/`` as the root we have:
│ ├── bits-config
│ │ └── bits-cfg.txt
│ ├── bits-tests
- │ │ ├── smbios.py2
- │ │ ├── testacpi.py2
- │ │ └── testcpuid.py2
- │ └── README
+ │ ├── smbios.py2
+ │ ├── testacpi.py2
+ │ └── testcpuid.py2
├── acpi-bits.py
* ``tests/avocado``:
diff --git a/tests/avocado/acpi-bits.py b/tests/avocado/acpi-bits.py
index dd1f238ae2..ec2261893d 100644
--- a/tests/avocado/acpi-bits.py
+++ b/tests/avocado/acpi-bits.py
@@ -134,6 +134,9 @@ class AcpiBitsTest(QemuBaseTest): #pylint: disable=too-many-instance-attributes
:avocado: tags=acpi
"""
+ # in slower systems the test can take as long as 3 minutes to complete.
+ timeout = 200
+
def __init__(self, *args, **kwargs):
super().__init__(*args, **kwargs)
self._vm = None
--
2.34.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH v5] acpi/tests/avocado/bits: some misc fixes
2022-11-17 5:36 [PATCH v5] acpi/tests/avocado/bits: some misc fixes Ani Sinha
@ 2022-11-17 7:59 ` Thomas Huth
0 siblings, 0 replies; 2+ messages in thread
From: Thomas Huth @ 2022-11-17 7:59 UTC (permalink / raw)
To: Ani Sinha, Cleber Rosa, Philippe Mathieu-Daudé,
Wainer dos Santos Moschetta, Beraldo Leal
Cc: Michael S . Tsirkin, qemu-trivial, qemu-devel
On 17/11/2022 06.36, Ani Sinha wrote:
> Most of the changes are trivial. The bits test timeout has now been increased
> to 200 seconds in order to accommodate slower systems and fewer unnecessary
> failures. Removed of the reference to non-existent README file in docs. Some
> minor corrections in the doc file.
>
> CC: Thomas Huth <thuth@redhat.com>
> CC: Michael S. Tsirkin <mst@redhat.com>
> CC: qemu-trivial@nongnu.org
> Signed-off-by: Ani Sinha <ani@anisinha.ca>
> Reviewed-by: Thomas Huth <thuth@redhat.com>
> ---
> docs/devel/acpi-bits.rst | 12 ++++--------
> tests/avocado/acpi-bits.py | 3 +++
> 2 files changed, 7 insertions(+), 8 deletions(-)
Look fine to me ... if nobody else is planning to pick this up, I can put
this into my next pull request (I'm planning one for later today or tomorrow).
Thomas
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-11-17 8:00 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-11-17 5:36 [PATCH v5] acpi/tests/avocado/bits: some misc fixes Ani Sinha
2022-11-17 7:59 ` Thomas Huth
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).