[#58120] tests: Test `SingleStepBlocking` init and deserialized values
diff --git a/tests/unit-tests/cpu-step.robot b/tests/unit-tests/cpu-step.robot
index 32c2c9c..8ba0d37 100644
--- a/tests/unit-tests/cpu-step.robot
+++ b/tests/unit-tests/cpu-step.robot
@@ -17,6 +17,10 @@
Create Terminal Tester sysbus.uart0
+SingleStep Should Be Blocking
+ ${isBlocking}= Execute Command emulation SingleStepBlocking
+ Should Be True ${isBlocking}
+
*** Test Cases ***
Should Start Execution With One Core In SingleStepNonBlocking
Create Machine
@@ -51,3 +55,16 @@
${x}= Execute Command u54_1 Step 101
Should Contain ${x} 0x0000000080001C1C
+
+Step Should Be Blocking By Default
+ SingleStep Should Be Blocking
+
+Step Should Be Blocking After Deserialization
+ # Let's change to make sure the value isn't serialized.
+ Execute Command emulation SingleStepBlocking false
+
+ ${tmp_file}= Allocate Temporary File
+ Execute Command Save @${tmp_file}
+ Execute Command Load @${tmp_file}
+
+ SingleStep Should Be Blocking