On Tue,  9 Jul 2024 14:57:01 +0200
Christoph Schlameuss <[email protected]> wrote:

> Add test case running code interacting with registers within a
> ucontrol VM.
> 
> * Add uc_gprs test case
> 
> The test uses the same VM setup using the fixture and debug macros
> introduced in earlier patches in this series.
> 
> Signed-off-by: Christoph Schlameuss <[email protected]>
> ---

[...]

> +     /* run VM and expect immediate stop */

Why though? what is causing the immediate stop?

> +     ASSERT_EQ(0, uc_run_once(self));
> +     ASSERT_EQ(true, uc_handle_exit(self));
> +     ASSERT_EQ(self->code_gpa, sie_block->psw_addr);

[...]

the rest looks good

Reply via email to