qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v3 2/3] tests/qtest: Add STM32L4x5 SYSCFG QTest testcase


From: Philippe Mathieu-Daudé
Subject: Re: [PATCH v3 2/3] tests/qtest: Add STM32L4x5 SYSCFG QTest testcase
Date: Thu, 4 Jan 2024 14:23:12 +0100
User-agent: Mozilla Thunderbird

On 29/12/23 17:47, Inès Varhol wrote:
Acked-by: Alistair Francis <alistair.francis@wdc.com>

Signed-off-by: Arnaud Minier <arnaud.minier@telecom-paris.fr>
Signed-off-by: Inès Varhol <ines.varhol@telecom-paris.fr>
---
  tests/qtest/meson.build             |   3 +-
  tests/qtest/stm32l4x5_syscfg-test.c | 408 ++++++++++++++++++++++++++++
  2 files changed, 410 insertions(+), 1 deletion(-)
  create mode 100644 tests/qtest/stm32l4x5_syscfg-test.c

Sitting on this commit, the test fails (because the tested
device is added in the following patch):

▶ 19/36 /arm/stm32l4x5/syscfg/test_reset FAIL ▶ 19/36 /arm/stm32l4x5/syscfg/test_reserved_bits FAIL ▶ 19/36 /arm/stm32l4x5/syscfg/test_set_and_clear FAIL ▶ 19/36 /arm/stm32l4x5/syscfg/test_set_only_bits FAIL ▶ 19/36 /arm/stm32l4x5/syscfg/test_interrupt FAIL ▶ 19/36 /arm/stm32l4x5/syscfg/test_irq_pin_multiplexer FAIL ▶ 19/36 /arm/stm32l4x5/syscfg/test_irq_gpio_multiplexer FAIL
Listing only the last 100 lines from a long log.
**
ERROR:../../tests/qtest/stm32l4x5_syscfg-test.c:140:test_set_and_clear: code should not be reached
**
ERROR:../../tests/qtest/stm32l4x5_syscfg-test.c:148:test_set_and_clear: assertion failed (cfgr1 == 0xFCFF0101): (0 == 4244570369)
**
ERROR:../../tests/qtest/stm32l4x5_syscfg-test.c:148:test_set_and_clear: code should not be reached
**
ERROR:../../tests/qtest/stm32l4x5_syscfg-test.c:151:test_set_and_clear: assertion failed (cfgr1 == 0x00000001): (0 == 1)
**
ERROR:../../tests/qtest/stm32l4x5_syscfg-test.c:151:test_set_and_clear: code should not be reached
**
ERROR:../../tests/qtest/stm32l4x5_syscfg-test.c:155:test_set_and_clear: assertion failed (exticr1 == 0x0000FFFF): (0 == 65535)
**
...

To avoid breaking automatic bisections, first add the device, then the
test (invert patches 2 <-> 3).

Regards,

Phil.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]