qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Thomas Huth <thuth@redhat.com>
To: "Ani Sinha" <ani@anisinha.ca>, "Cleber Rosa" <crosa@redhat.com>,
	"Philippe Mathieu-Daudé" <philmd@linaro.org>,
	"Wainer dos Santos Moschetta" <wainersm@redhat.com>,
	"Beraldo Leal" <bleal@redhat.com>
Cc: qemu-trivial@nongnu.org, qemu-devel@nongnu.org
Subject: Re: [PATCH] acpi/tests/avocado/bits: some misc fixes and spelling corrections
Date: Fri, 11 Nov 2022 10:06:06 +0100	[thread overview]
Message-ID: <8bd0cd78-0a69-0e0e-e764-0375ff627fd8@redhat.com> (raw)
In-Reply-To: <20221111085221.1216196-1-ani@anisinha.ca>

On 11/11/2022 09.52, Ani Sinha wrote:
> Most of the changes are cosmetic. The bits test timeout has now been increased
> to 90 seconds in order to accommodate slower systems and fewer unnecessary
> failures. One spelling correction in docs along with removal of the reference
> to non-existent README file.
> 
> CC: Thomas Huth <thuth@redhat.com>
> CC: qemu-trivial@nongnu.org
> Signed-off-by: Ani Sinha <ani@anisinha.ca>
> ---
>   docs/devel/acpi-bits.rst   | 3 +--
>   tests/avocado/acpi-bits.py | 5 +++--
>   2 files changed, 4 insertions(+), 4 deletions(-)
> 
> diff --git a/docs/devel/acpi-bits.rst b/docs/devel/acpi-bits.rst
> index c9564d871a..a9020adb2d 100644
> --- a/docs/devel/acpi-bits.rst
> +++ b/docs/devel/acpi-bits.rst
> @@ -41,7 +41,6 @@ Under ``tests/avocado/`` as the root we have:
>      │ │ ├── smbios.py2
>      │ │ ├── testacpi.py2
>      │ │ └── testcpuid.py2

That leaves the second "|" dangling around ... should those second pipe 
characters now be removed, too?

> -   │ └── README
>      ├── acpi-bits.py
>   
>   * ``tests/avocado``:
> @@ -132,7 +131,7 @@ Under ``tests/avocado/`` as the root we have:
>   
>      (a) They are python2.7 based scripts and not python 3 scripts.
>      (b) They are run from within the bios bits VM and is not subjected to QEMU
> -       build/test python script maintainance and dependency resolutions.
> +       build/test python script maintenance and dependency resolutions.

FWIW, this will also be fixed by Stefan Weil's current pending doc update patch.

>      (c) They need not be loaded by avocado framework when running tests.
>   
>   
> diff --git a/tests/avocado/acpi-bits.py b/tests/avocado/acpi-bits.py
> index 8745a58a76..5ebe8c14a2 100644
> --- a/tests/avocado/acpi-bits.py
> +++ b/tests/avocado/acpi-bits.py
> @@ -385,8 +385,9 @@ def test_acpi_smbios_bits(self):
>           self._vm.launch()
>           # biosbits has been configured to run all the specified test suites
>           # in batch mode and then automatically initiate a vm shutdown.
> -        # sleep for maximum of one minute
> -        max_sleep_time = time.monotonic() + 60
> +        # sleep for maximum of a minute and a half to accomomodate even slower

s/accomomodate/accomodate/

> +        # test setups.
> +        max_sleep_time = time.monotonic() + 90
>           while self._vm.is_running() and time.monotonic() < max_sleep_time:
>               time.sleep(1)
>   

  Thomas



  reply	other threads:[~2022-11-11  9:07 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-11-11  8:52 [PATCH] acpi/tests/avocado/bits: some misc fixes and spelling corrections Ani Sinha
2022-11-11  9:06 ` Thomas Huth [this message]
2022-11-11 12:18   ` Ani Sinha

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8bd0cd78-0a69-0e0e-e764-0375ff627fd8@redhat.com \
    --to=thuth@redhat.com \
    --cc=ani@anisinha.ca \
    --cc=bleal@redhat.com \
    --cc=crosa@redhat.com \
    --cc=philmd@linaro.org \
    --cc=qemu-devel@nongnu.org \
    --cc=qemu-trivial@nongnu.org \
    --cc=wainersm@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).