Align AXIS Web control lifecycle with LinuxCNC
This commit is contained in:
@@ -95,6 +95,14 @@ int main(void) {
|
||||
}
|
||||
}
|
||||
assert(have_arc && arc.turn == -3);
|
||||
assert(program.status == SIM_PROGRAM_COMPLETED);
|
||||
assert(sim_program_start(&program) == SIM_PROGRAM_OK);
|
||||
assert(program.status == SIM_PROGRAM_RUNNING && program.current_line == 0);
|
||||
assert(program.interpreter.state.program_end == 0);
|
||||
assert(sim_program_step(&program) == SIM_PROGRAM_OK);
|
||||
assert(sim_program_abort(&program) == SIM_PROGRAM_OK);
|
||||
assert(sim_program_start(&program) == SIM_PROGRAM_OK);
|
||||
assert(program.status == SIM_PROGRAM_RUNNING && program.current_line == 0);
|
||||
|
||||
saved_switcher = switcher;
|
||||
saved_pose = pose;
|
||||
|
||||
Reference in New Issue
Block a user