Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
s4u::Semaphore: use a simpler example with no mutex
[simgrid.git] / examples / msg / trace-host-user-variables / trace-host-user-variables.tesh
index 4331c82..562364f 100644 (file)
@@ -1,7 +1,7 @@
-#! ./tesh
+#!/usr/bin/env tesh
 
 p Tracing user variables for hosts
-$ $SG_TEST_EXENV ${bindir:=.}/trace-host-user-variables$EXEEXT --cfg=tracing:yes  --cfg=tracing/platform:yes ${srcdir:=.}/small_platform.xml ${srcdir:=.}/../msg/app-masterworker/app-masterworker_d.xml
+$ $SG_TEST_EXENV ${bindir:=.}/trace-host-user-variables$EXEEXT --cfg=tracing:yes --cfg=tracing/platform:yes ${platfdir}/small_platform.xml ${srcdir}/../app-masterworker/app-masterworker_d.xml
 > [0.000000] [xbt_cfg/INFO] Configuration change: Set 'tracing' to 'yes'
 > [0.000000] [xbt_cfg/INFO] Configuration change: Set 'tracing/platform' to 'yes'
 > [0.004078] [msg_test/INFO] Declared host variables:
@@ -11,12 +11,12 @@ $ $SG_TEST_EXENV ${bindir:=.}/trace-host-user-variables$EXEEXT --cfg=tracing:yes
 > [0.004078] [msg_test/INFO] Node types in the trace:
 > [0.004078] [msg_test/INFO] HOST
 > [0.004078] [msg_test/INFO] LINK
-> [0.004078] [msg_test/INFO] Node types in the trace:
-> [0.004078] [msg_test/INFO] 0-HOST1-LINK3
-> [0.004078] [msg_test/INFO] 0-LINK3-HOST1
-> [0.004078] [msg_test/INFO] 0-LINK3-LINK3
+> [0.004078] [msg_test/INFO] Edge types in the trace:
+> [0.004078] [msg_test/INFO] 0-HOST1-LINK4
+> [0.004078] [msg_test/INFO] 0-LINK4-HOST1
+> [0.004078] [msg_test/INFO] 0-LINK4-LINK4
 
 $ rm -f simgrid.trace
 
 p Not tracing user variables
-$ $SG_TEST_EXENV ${bindir:=.}/trace-host-user-variables$EXEEXT ${srcdir:=.}/small_platform.xml ${srcdir:=.}/../msg/app-masterworker/app-masterworker_d.xml
+$ $SG_TEST_EXENV ${bindir:=.}/trace-host-user-variables$EXEEXT ${platfdir}/small_platform.xml ${srcdir}/../app-masterworker/app-masterworker_d.xml