[PATCH 0/1] Sending small fix for NPCM GMAC test to properly test on Nuvoton 7xx

Nabih Estefan posted 1 patch 9 months, 3 weeks ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20240206232337.1043760-1-nabihestefan@google.com
Maintainers: Thomas Huth <thuth@redhat.com>, Laurent Vivier <lvivier@redhat.com>, Paolo Bonzini <pbonzini@redhat.com>, Tyrone Ting <kfting@nuvoton.com>, Hao Wu <wuhaotsh@google.com>
There is a newer version of this series
tests/qtest/meson.build      |  4 ++--
tests/qtest/npcm_gmac-test.c | 12 ++----------
2 files changed, 4 insertions(+), 12 deletions(-)
[PATCH 0/1] Sending small fix for NPCM GMAC test to properly test on Nuvoton 7xx
Posted by Nabih Estefan 9 months, 3 weeks ago
Nabih Estefan (1):
  tests/qtest: Fixing GMAC test to run in 7xx

 tests/qtest/meson.build      |  4 ++--
 tests/qtest/npcm_gmac-test.c | 12 ++----------
 2 files changed, 4 insertions(+), 12 deletions(-)

-- 
2.43.0.594.gd9cf4e227d-goog
Re: [PATCH 0/1] Sending small fix for NPCM GMAC test to properly test on Nuvoton 7xx
Posted by Peter Maydell 9 months, 3 weeks ago
On Tue, 6 Feb 2024 at 23:23, Nabih Estefan <nabihestefan@google.com> wrote:
>
>
> Nabih Estefan (1):
>   tests/qtest: Fixing GMAC test to run in 7xx

This fails "make check". Perhaps you forgot to configure QEMU with
the arm-softmmu target enabled when doing your build and test?


=================================== 34/357 ===================================
test:         qemu:qtest+qtest-arm / qtest-arm/npcm_gmac-test
start time:   14:32:48
duration:     0.34s
result:       killed by signal 6 SIGABRT
command:      MALLOC_PERTURB_=46 QTEST_QEMU_BINARY=./qemu-system-arm
PYTHON=/mnt/nvmedisk/linaro/qemu-from-laptop/qemu/build/arm-clang/pyvenv/bin/python3
QTEST_QEMU_IMG=./qemu-img
QTEST_QEMU_STORAGE_DAEMON_BINARY=./storage-daemon/qemu-storage-daemon
G_TEST_DBUS_DAEMON=/mnt/nvmedisk/linaro/qemu-from-laptop/qemu/tests/dbus-vmstate-daemon.sh
/mnt/nvmedisk/linaro/qemu-from-laptop/qemu/build/arm-clang/tests/qtest/npcm_gmac-test
--tap -k
----------------------------------- stdout -----------------------------------
# random seed: R02S12ecd459925511b522511dd789dfb6d8
1..2
# Start of arm tests
# Start of npcm7xx_gmac tests
# Start of gmac[0] tests
# starting QEMU: exec ./qemu-system-arm -qtest
unix:/tmp/qtest-797739.sock -qtest-log /dev/null -chardev
socket,path=/tmp/qtest-797739.qmp,id=char0 -mon
chardev=char0,mode=control -display none -audio none -machine
npcm750-evb -accel qtest
Bail out! ERROR:../../tests/qtest/npcm_gmac-test.c:254:test_init:
assertion failed (pcs_read(qts, mod, (NPCM_PCS_SR_CTL_ID1)) ==
(0x699e)): (0x00000000 == 0x0000699e)
----------------------------------- stderr -----------------------------------
**
ERROR:../../tests/qtest/npcm_gmac-test.c:254:test_init: assertion
failed (pcs_read(qts, mod, (NPCM_PCS_SR_CTL_ID1)) == (0x699e)):
(0x00000000 == 0x0000699e)

(test program exited with status code -6)
==============================================================================

-- PMM