Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Move MSG and SimDag examples out of the sight of users
[simgrid.git] / examples / deprecated / msg / trace-host-user-variables / trace-host-user-variables.tesh
diff --git a/examples/deprecated/msg/trace-host-user-variables/trace-host-user-variables.tesh b/examples/deprecated/msg/trace-host-user-variables/trace-host-user-variables.tesh
new file mode 100644 (file)
index 0000000..562364f
--- /dev/null
@@ -0,0 +1,22 @@
+#!/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 ${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:
+> [0.004078] [msg_test/INFO] HDD_capacity
+> [0.004078] [msg_test/INFO] HDD_utilization
+> [0.004078] [msg_test/INFO] Declared link variables:
+> [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] 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 ${platfdir}/small_platform.xml ${srcdir}/../app-masterworker/app-masterworker_d.xml