change(tools): enhance expect_reg_dump to support any or specific core values

This commit is contained in:
Erhan Kurubas
2024-11-29 13:36:07 +01:00
parent ef14d7ab64
commit dfc248d66d
2 changed files with 9 additions and 5 deletions

View File

@@ -1066,11 +1066,11 @@ def test_tcb_corrupted(dut: PanicTestDut, target: str, config: str, test_func_na
dut.run_test_func(test_func_name)
if dut.is_xtensa:
dut.expect_gme('LoadProhibited')
dut.expect_reg_dump(0)
dut.expect_reg_dump()
dut.expect_backtrace()
else:
dut.expect_gme('Load access fault')
dut.expect_reg_dump(0)
dut.expect_reg_dump()
dut.expect_stack_dump()
dut.expect_elf_sha256()