X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/4180937029f34127d89e8c8c7ca4645a96f28d3d..e82ec12586abdf64f779a0c070ba2a4ea7f25665:/examples/smpi/mc/sendsend.tesh diff --git a/examples/smpi/mc/sendsend.tesh b/examples/smpi/mc/sendsend.tesh new file mode 100644 index 0000000000..23874aa771 --- /dev/null +++ b/examples/smpi/mc/sendsend.tesh @@ -0,0 +1,27 @@ +#! ./tesh + +p Testing the permissive model +! timeout 60 +$ ../../../smpi_script/bin/smpirun -quiet -wrapper "${bindir:=.}/../../../bin/simgrid-mc" -np 2 -platform ${platfdir:=.}/cluster_backbone.xml --cfg=smpi/buffering:infty --log=xbt_cfg.thresh:warning ./smpi_sendsend +> [0.000000] [mc_safety/INFO] Check a safety property. Reduction is: dpor. +> [0.000000] [mc_safety/INFO] No property violation found. +> [0.000000] [mc_safety/INFO] Expanded states = 7 +> [0.000000] [mc_safety/INFO] Visited states = 10 +> [0.000000] [mc_safety/INFO] Executed transitions = 8 + +p Testing the paranoid model +! timeout 60 +! expect return 3 +$ ../../../smpi_script/bin/smpirun -quiet -wrapper "${bindir:=.}/../../../bin/simgrid-mc" -np 2 -platform ${platfdir:=.}/cluster_backbone.xml --cfg=smpi/buffering:zero --log=xbt_cfg.thresh:warning ./smpi_sendsend +> [0.000000] [mc_safety/INFO] Check a safety property. Reduction is: dpor. +> [0.000000] [mc_global/INFO] ************************** +> [0.000000] [mc_global/INFO] *** DEAD-LOCK DETECTED *** +> [0.000000] [mc_global/INFO] ************************** +> [0.000000] [mc_global/INFO] Counter-example execution trace: +> [0.000000] [mc_global/INFO] [(1)node-0.simgrid.org (0)] iSend(src=(1)node-0.simgrid.org (0), buff=(verbose only), size=(verbose only)) +> [0.000000] [mc_global/INFO] [(2)node-1.simgrid.org (1)] iSend(src=(2)node-1.simgrid.org (1), buff=(verbose only), size=(verbose only)) +> [0.000000] [mc_record/INFO] Path = 1;2 +> [0.000000] [mc_safety/INFO] Expanded states = 3 +> [0.000000] [mc_safety/INFO] Visited states = 3 +> [0.000000] [mc_safety/INFO] Executed transitions = 2 +> Execution failed with code 3.