X-Git-Url: http://bilbo.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/7efa76dfe475669b57129ff35cfee5967a2c1ae9..c0706f6e5a3d8d2034aa3ba75b6a3958d899d6a0:/examples/s4u/exec-dependent/s4u-exec-dependent.tesh diff --git a/examples/s4u/exec-dependent/s4u-exec-dependent.tesh b/examples/s4u/exec-dependent/s4u-exec-dependent.tesh index 2c274ff69a..dab01ae3df 100644 --- a/examples/s4u/exec-dependent/s4u-exec-dependent.tesh +++ b/examples/s4u/exec-dependent/s4u-exec-dependent.tesh @@ -1,21 +1,11 @@ #!/usr/bin/env tesh -$ ${bindir:=.}/s4u-exec-dependent ${platfdir}/small_platform.xml "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" -> [ 0.000000] (2:vetoed_worker@Fafard) child cannot start yet -> [ 0.250000] (2:vetoed_worker@Fafard) child cannot start yet -> [ 0.500000] (2:vetoed_worker@Fafard) child cannot start yet -> [ 0.750000] (2:vetoed_worker@Fafard) child cannot start yet -> [ 1.000000] (2:vetoed_worker@Fafard) child cannot start yet -> [ 1.250000] (2:vetoed_worker@Fafard) child cannot start yet -> [ 1.500000] (2:vetoed_worker@Fafard) child cannot start yet -> [ 1.750000] (2:vetoed_worker@Fafard) child cannot start yet -> [ 2.000000] (2:vetoed_worker@Fafard) child cannot start yet -> [ 2.250000] (2:vetoed_worker@Fafard) child cannot start yet -> [ 2.500000] (2:vetoed_worker@Fafard) child cannot start yet -> [ 2.750000] (2:vetoed_worker@Fafard) child cannot start yet -> [ 3.000000] (2:vetoed_worker@Fafard) child is now in state 2 -> [ 3.250000] (2:vetoed_worker@Fafard) child is now in state 2 -> [ 3.500000] (2:vetoed_worker@Fafard) child is now in state 2 -> [ 3.750000] (2:vetoed_worker@Fafard) child is now in state 2 -> [ 4.000000] (2:vetoed_worker@Fafard) Should be okay now, child is in state 5 +! output sort +$ ${bindir:=.}/s4u-exec-dependent ${platfdir}/small_platform.xml --log=s4u_activity.t:debug "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" +> [ 2.000000] (1:worker@Fafard) Remove a dependency from 'parent 1' on 'child' +> [ 2.000000] (1:worker@Fafard) Exec 'parent 1' is complete +> [ 3.000000] (1:worker@Fafard) Remove a dependency from 'parent 2' on 'child' +> [ 3.000000] (1:worker@Fafard) All dependencies are solved, let's start 'child' +> [ 3.000000] (1:worker@Fafard) Exec 'parent 2' is complete +> [ 4.000000] (1:worker@Fafard) Exec 'child' is complete > [ 4.000000] (0:maestro@) Simulation time 4