multicoretests icon indicating copy to clipboard operation
multicoretests copied to clipboard

Port examples from qcstm

Open jmid opened this issue 3 years ago • 0 comments

STM's predecessor https://github.com/jmid/qcstm contains a range of examples https://github.com/jmid/qcstm/tree/master/examples

We should port these to STM which would allow to run them both sequentially and in parallel mode.

The primary difference is that qcstm's run_cmd : cmd -> state -> sut -> bool has two tasks which is broken in two in STM:

  val run : cmd -> sut -> res                 (* for interpreting the command over the system under test *)
  val postcond : cmd -> state -> res -> bool  (* for checking the post condition *)

jmid avatar Apr 13 '22 06:04 jmid