Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
convert maestro-set to S4U
[simgrid.git] / examples / s4u / maestro-set / s4u-maestro-set.tesh
diff --git a/examples/s4u/maestro-set/s4u-maestro-set.tesh b/examples/s4u/maestro-set/s4u-maestro-set.tesh
new file mode 100644 (file)
index 0000000..cf21b21
--- /dev/null
@@ -0,0 +1,10 @@
+#!/usr/bin/env tesh
+
+$ $SG_TEST_EXENV ${bindir:=.}/s4u-maestro-set$EXEEXT ${platfdir:=.}/small_platform.xml "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n"
+> [  0.000000] (0:maestro@) I am not the main thread, as expected
+> [  0.000000] (2:receiver@Jupiter) I am not the main thread, as expected
+> [  0.000000] (1:sender@Tremblay) I am the main thread, as expected
+> [  0.000000] (1:sender@Tremblay) I am the main thread, as expected
+> [150.159342] (2:receiver@Jupiter) Task received
+> [150.159342] (0:maestro@) Detached
+> [150.159342] (0:maestro@) I am the main thread, as expected