[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v2 07/11] acpi/tests/bits: add python test that exercizes QEM
From: |
Ani Sinha |
Subject: |
Re: [PATCH v2 07/11] acpi/tests/bits: add python test that exercizes QEMU bios tables using biosbits |
Date: |
Sun, 9 Oct 2022 21:36:18 +0530 |
On Wed, Sep 28, 2022 at 1:14 PM Thomas Huth <thuth@redhat.com> wrote:
>
<snip>
> >
> > Do not do any of this stuff, it is irrelevant to QEMU's needs.
> > A developer using Avocado with QEMU does nothing more than:
> >
> > make check-avocado
>
> Right. And if you want to run individual tests, you can also do it like this:
>
> make check-venv # Only for the first time
> ./tests/venv/bin/avocado run tests/avocado/boot_linux.py
>
> Or run tests via tags (very convenient for maintainers):
>
> ./tests/venv/bin/avocado run -t arch:s390x tests/avocado/
yeah this seems to work!
$ ./tests/venv/bin/avocado run -t acpi tests/avocado
ERROR: Missing parentheses in call to 'print'. Did you mean
print(...)? (smbios.py, line 92)
ERROR: Missing parentheses in call to 'print'. Did you mean
print(...)? (smilatency.py, line 47)
ERROR: Missing parentheses in call to 'print'. Did you mean
print(...)? (testacpi.py, line 158)
Fetching asset from
tests/avocado/acpi-bits.py:AcpiBitsTest.test_acpi_smbios_bits
JOB ID : 328a83d7d0ea628ea8054f16fe2065826d4481e9
JOB LOG :
/home/anisinha/avocado/job-results/job-2022-10-09T21.31-328a83d/job.log
(1/1) tests/avocado/acpi-bits.py:AcpiBitsTest.test_acpi_smbios_bits:
PASS (37.15 s)
RESULTS : PASS 1 | ERROR 0 | FAIL 0 | SKIP 0 | WARN 0 | INTERRUPT 0
| CANCEL 0
JOB TIME : 43.39 s
$ ./tests/venv/bin/avocado run -t acpi tests/avocado --tap -
ERROR: Missing parentheses in call to 'print'. Did you mean
print(...)? (smbios.py, line 92)
ERROR: Missing parentheses in call to 'print'. Did you mean
print(...)? (smilatency.py, line 47)
ERROR: Missing parentheses in call to 'print'. Did you mean
print(...)? (testacpi.py, line 158)
1..1
ok 1 tests/avocado/acpi-bits.py:AcpiBitsTest.test_acpi_smbios_bits