Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
use assignment to non-trivial class rather than artificial trivialization and memset
[simgrid.git] / teshsuite / mc / random-bug / random-bug-nocrash.tesh
1 #!/usr/bin/env tesh
2 ! expect return 1
3 $ ${bindir:=.}/../../../bin/simgrid-mc ${bindir:=.}/random-bug assert ${platfdir}/small_platform.xml "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --log=xbt_cfg.thresh:warning
4 > [  0.000000] (0:maestro@) Check a safety property. Reduction is: dpor.
5 > [  0.000000] (0:maestro@) Behavior: assert
6 > [  0.000000] (0:maestro@) **************************
7 > [  0.000000] (0:maestro@) *** PROPERTY NOT VALID ***
8 > [  0.000000] (0:maestro@) **************************
9 > [  0.000000] (0:maestro@) Counter-example execution trace:
10 > [  0.000000] (0:maestro@)   [(1)Fafard (app)] MC_RANDOM(3)
11 > [  0.000000] (0:maestro@)   [(1)Fafard (app)] MC_RANDOM(4)
12 > [  0.000000] (0:maestro@) Path = 1/3;1/4
13 > [  0.000000] (0:maestro@) Expanded states = 27
14 > [  0.000000] (0:maestro@) Visited states = 68
15 > [  0.000000] (0:maestro@) Executed transitions = 46
16
17 $ ${bindir:=.}/../../../bin/simgrid-mc ${bindir:=.}/random-bug printf ${platfdir}/small_platform.xml "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --log=xbt_cfg.thresh:warning
18 > [  0.000000] (0:maestro@) Check a safety property. Reduction is: dpor.
19 > [  0.000000] (0:maestro@) Behavior: printf
20 > [  0.000000] (1:app@Fafard) Error reached
21 > [  0.000000] (0:maestro@) No property violation found.
22 > [  0.000000] (0:maestro@) Expanded states = 43
23 > [  0.000000] (0:maestro@) Visited states = 108
24 > [  0.000000] (0:maestro@) Executed transitions = 72