[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 13/21] hw/tricore: Log failing test in testdevice
From: |
Bastian Koppelmann |
Subject: |
[PULL 13/21] hw/tricore: Log failing test in testdevice |
Date: |
Wed, 27 Sep 2023 11:35:44 +0200 |
Signed-off-by: Bastian Koppelmann <kbastian@mail.uni-paderborn.de>
Message-ID: <20230913105326.40832-3-kbastian@mail.uni-paderborn.de>
---
hw/tricore/tricore_testdevice.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/hw/tricore/tricore_testdevice.c b/hw/tricore/tricore_testdevice.c
index a1563aa568..d0f8db9089 100644
--- a/hw/tricore/tricore_testdevice.c
+++ b/hw/tricore/tricore_testdevice.c
@@ -16,6 +16,7 @@
*/
#include "qemu/osdep.h"
+#include "qemu/log.h"
#include "hw/sysbus.h"
#include "hw/qdev-properties.h"
#include "hw/tricore/tricore_testdevice.h"
@@ -23,6 +24,9 @@
static void tricore_testdevice_write(void *opaque, hwaddr offset,
uint64_t value, unsigned size)
{
+ if (value != 0) {
+ qemu_log_mask(LOG_GUEST_ERROR, "Test %ld failed!\n", value);
+ }
exit(value);
}
--
2.42.0
- [PULL 09/21] target/tricore: Swap src and dst reg for RCRR_INSERT, (continued)
- [PULL 09/21] target/tricore: Swap src and dst reg for RCRR_INSERT, Bastian Koppelmann, 2023/09/27
- [PULL 02/21] target/tricore: Implement CRCN insn, Bastian Koppelmann, 2023/09/27
- [PULL 10/21] target/tricore: Replace cpu_*_code with translator_*, Bastian Koppelmann, 2023/09/27
- [PULL 12/21] tests/tcg/tricore: Extended and non-extened regs now match, Bastian Koppelmann, 2023/09/27
- [PULL 07/21] target/tricore: Implement hptof insn, Bastian Koppelmann, 2023/09/27
- [PULL 08/21] target/tricore: Fix RCPW/RRPW_INSERT insns for width = 0, Bastian Koppelmann, 2023/09/27
- [PULL 14/21] tests/tcg: Reset result register after each test, Bastian Koppelmann, 2023/09/27
- [PULL 01/21] tests/tcg/tricore: Bump cpu to tc37x, Bastian Koppelmann, 2023/09/27
- [PULL 06/21] target/tricore: Implement ftohp insn, Bastian Koppelmann, 2023/09/27
- [PULL 11/21] target/tricore: Fix FTOUZ being ISA v1.3.1 up, Bastian Koppelmann, 2023/09/27
- [PULL 13/21] hw/tricore: Log failing test in testdevice,
Bastian Koppelmann <=
- [PULL 16/21] tests/tcg/tricore: Add test from 'and' to 'csub', Bastian Koppelmann, 2023/09/27
- [PULL 17/21] tests/tcg/tricore: Add test from 'dextr' to 'lt', Bastian Koppelmann, 2023/09/27
- [PULL 15/21] tests/tcg/tricore: Add test for all arith insns up to addx, Bastian Koppelmann, 2023/09/27
- [PULL 18/21] tests/tcg/tricore: Add test from 'max' to 'shas', Bastian Koppelmann, 2023/09/27
- [PULL 19/21] tests/tcg/tricore: Add test from 'shuffle' to 'xor.t', Bastian Koppelmann, 2023/09/27
- [PULL 20/21] target/tricore: Remove CSFRs from cpu.h, Bastian Koppelmann, 2023/09/27
- [PULL 21/21] target/tricore: Change effective address (ea) to target_ulong, Bastian Koppelmann, 2023/09/27
- Re: [PULL 00/21] tricore queue, Bastian Koppelmann, 2023/09/27