Browse Source

document how to play with model checker

Samuel Thibault 8 years ago
parent
commit
bf08b7ae24
1 changed files with 10 additions and 0 deletions
  1. 10 0
      tests/model-checking/Makefile

+ 10 - 0
tests/model-checking/Makefile

@@ -26,6 +26,16 @@ MC_FLAGS+=--cfg=model-check/sparse-checkpoint:yes
 MC_FLAGS+=--cfg=model-check/visited:1000
 endif
 
+# To record the failing trace
+ifeq (1,0)
+MC_FLAGS+=--cfg=model-check/record:1
+# And replay it without simgrid-mc
+#MC_FLAGS+=--cfg=model-check/reply:'1;3;4'
+endif
+
+# To see which simix calls are made
+#MC_FLAGS+=--log=simix_popping.thres:debug
+
 test: prio_list
 	simgrid-mc ./prio_list platform.xml MAIN $(MC_FLAGS)