Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Merge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid
[simgrid.git] / teshsuite / mc / replay / random_bug.tesh
index 63b5b8f..b37fc24 100644 (file)
@@ -1,18 +1,14 @@
 #!/usr/bin/env tesh
-!expect signal SIGABRT
-$ ${bindir:=.}/random_bug  ${srcdir:=.}/../../../examples/platforms/small_platform.xml ${srcdir:=.}/random_bug.xml "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg=model-check:1 --cfg=model-check/record:1
-> [  0.000000] (0:@) Configuration change: Set 'model-check' to '1'
-> [  0.000000] (0:@) Configuration change: Set 'model-check/record' to '1'
-> [  0.000000] (0:@) Check a safety property
-> [  0.000000] (0:@) Get debug information ...
-> [  0.000000] (0:@) Get debug information done !
-> [  0.000000] (1:app@Tremblay) **************************
-> [  0.000000] (1:app@Tremblay) *** PROPERTY NOT VALID ***
-> [  0.000000] (1:app@Tremblay) **************************
-> [  0.000000] (1:app@Tremblay) Counter-example execution trace:
-> [  0.000000] (1:app@Tremblay) Path = 1/3;1/4
-> [  0.000000] (1:app@Tremblay) [(1)Tremblay (app)] MC_RANDOM(3)
-> [  0.000000] (1:app@Tremblay) [(1)Tremblay (app)] MC_RANDOM(4)
-> [  0.000000] (1:app@Tremblay) Expanded states = 27
-> [  0.000000] (1:app@Tremblay) Visited states = 68
-> [  0.000000] (1:app@Tremblay) Executed transitions = 46
+! expect return 1
+$ ${bindir:=.}/../../../bin/simgrid-mc ${bindir:=.}/random_bug ${srcdir:=.}/../../../examples/platforms/small_platform.xml ${srcdir:=.}/random_bug.xml "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --log=xbt_cfg.thresh:warning --cfg=model-check/record:1
+> [  0.000000] (0:maestro@) Check a safety property
+> [  0.000000] (0:maestro@) **************************
+> [  0.000000] (0:maestro@) *** PROPERTY NOT VALID ***
+> [  0.000000] (0:maestro@) **************************
+> [  0.000000] (0:maestro@) Counter-example execution trace:
+> [  0.000000] (0:maestro@) Path = 1/3;1/4
+> [  0.000000] (0:maestro@) [(1)Tremblay (app)] MC_RANDOM(3)
+> [  0.000000] (0:maestro@) [(1)Tremblay (app)] MC_RANDOM(4)
+> [  0.000000] (0:maestro@) Expanded states = 27
+> [  0.000000] (0:maestro@) Visited states = 68
+> [  0.000000] (0:maestro@) Executed transitions = 46