> [Bourassa:maestro:(5) 13.242860] [gras/INFO] Exiting GRAS
> [Ginette:sensor:(4) 73.188984] [amok_bw_sat/INFO] Saturation comming from Tremblay:3000 stopped on Ginette:3000
> [Ginette:sensor:(4) 73.188984] [gras/INFO] Exiting GRAS
-
> Sent Data
> Sent Data
> Exiting GRAS
-
! output display
-$ $SG_TEST_EXENV ./chrono_multiplier$EXEEXT --log=root.fmt:%m%n $@
+$ $SG_TEST_EXENV ./chrono_multiplier$EXEEXT --log=root.fmt:%m%n $@
! setenv GRAS_NO_WARN_EXPERIMENTAL=1
-& $SG_TEST_EXENV ./mmrpc_server$EXEEXT 4502 --log=root.fmt:%m%n
+& $SG_TEST_EXENV ./mmrpc_server$EXEEXT 4502 --log=root.fmt:%m%n
> Launch server (port=4502)
> Exiting GRAS
! setenv GRAS_NO_WARN_EXPERIMENTAL=1
-$ $SG_TEST_EXENV ./mmrpc_client$EXEEXT 127.0.0.1 4502 --log=root.fmt:%m%n
+$ $SG_TEST_EXENV ./mmrpc_client$EXEEXT 127.0.0.1 4502 --log=root.fmt:%m%n
> Launch client (server on 127.0.0.1:4502)
> Connected to 127.0.0.1:4502.
> >>>>>>>> Connected to server which is on 127.0.0.1:4502 <<<<<<<<
! setenv GRAS_NO_WARN_EXPERIMENTAL=1
-& $SG_TEST_EXENV ./simple_token_node$EXEEXT 4100 127.0.0.1 4110 --create-token --log=root.fmt:%m%n $@
+& $SG_TEST_EXENV ./simple_token_node$EXEEXT 4100 127.0.0.1 4110 --create-token --log=root.fmt:%m%n $@
> Launch node listening on 4100 (successor on 127.0.0.1:4110)
> Create the token (with value 0) and send it to 127.0.0.1:4110
> Begin a new loop. Still to do: 2
> Exiting GRAS
! setenv GRAS_NO_WARN_EXPERIMENTAL=1
-& $SG_TEST_EXENV ./simple_token_node$EXEEXT 4110 127.0.0.1 4120 --log=root.fmt:%m%n $@
+& $SG_TEST_EXENV ./simple_token_node$EXEEXT 4110 127.0.0.1 4120 --log=root.fmt:%m%n $@
> Launch node listening on 4110 (successor on 127.0.0.1:4120)
> Exiting GRAS
! setenv GRAS_NO_WARN_EXPERIMENTAL=1
-& $SG_TEST_EXENV ./simple_token_node$EXEEXT 4120 127.0.0.1 4130 --log=root.fmt:%m%n $@
+& $SG_TEST_EXENV ./simple_token_node$EXEEXT 4120 127.0.0.1 4130 --log=root.fmt:%m%n $@
> Launch node listening on 4120 (successor on 127.0.0.1:4130)
> Exiting GRAS
! setenv GRAS_NO_WARN_EXPERIMENTAL=1
-& $SG_TEST_EXENV ./simple_token_node$EXEEXT 4130 127.0.0.1 4141 --log=root.fmt:%m%n $@
+& $SG_TEST_EXENV ./simple_token_node$EXEEXT 4130 127.0.0.1 4141 --log=root.fmt:%m%n $@
> Launch node listening on 4130 (successor on 127.0.0.1:4141)
> Exiting GRAS
! setenv GRAS_NO_WARN_EXPERIMENTAL=1
-& $SG_TEST_EXENV ./simple_token_node$EXEEXT 4141 127.0.0.1 4150 --log=root.fmt:%m%n $@
+& $SG_TEST_EXENV ./simple_token_node$EXEEXT 4141 127.0.0.1 4150 --log=root.fmt:%m%n $@
> Launch node listening on 4141 (successor on 127.0.0.1:4150)
> Exiting GRAS
! setenv GRAS_NO_WARN_EXPERIMENTAL=1
-& $SG_TEST_EXENV ./simple_token_node$EXEEXT 4150 127.0.0.1 4100 --log=root.fmt:%m%n $@
+& $SG_TEST_EXENV ./simple_token_node$EXEEXT 4150 127.0.0.1 4100 --log=root.fmt:%m%n $@
> Launch node listening on 4150 (successor on 127.0.0.1:4100)
> Exiting GRAS
> bob:main == Dump all the properties of host1 again to check the addition
> bob:main Host property: 'from bob' has value: 'hello'
> bob:main Exiting GRAS
-
# A little tesh file testing most MPI-related actions
-
$ ../actions --cfg=tracing:1 --cfg=tracing/smpi:1 --log=surf_config.thresh:critical --cfg=network/model:SMPI platform.xml deploy_MPI_4.xml
> [0.000000] [xbt_cfg/INFO] Configuration change: Set 'tracing' to '1'
> [0.000000] [xbt_cfg/INFO] Configuration change: Set 'tracing/smpi' to '1'
# A little tesh file testing most MPI-related actions
-
! output sort
$ ${bindir:=.}/actions --log=actions.thres=verbose homogeneous_3_hosts.xml deployment_split.xml "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n"
> [500.006505] (1:p0@host0) p0 recv p1 500.006505
> [ 2835.981646] (0:@) Simulation time 2835.98
> [ 2835.981646] (11:Slave 9@Provost) Received "finalize" from mailbox Slave_9
> [ 2835.981646] (1:master@Jacquelin) Goodbye now!
-
> [0.000000] [xbt_cfg/INFO] Configuration change: Set 'network/model' to 'GTNets'
> [0.000000] [surf_network_gtnets_interface/INFO] TCP window maximum size : 20000
> [C1:slave:(2) 106.291000] [msg_test/INFO] ===> Estimated Bw of FLOW[1] : 9408.134273 ; message from S1 to C1 with remaining : 0.000000
-
> [0.000000] [surf_network_gtnets_interface/INFO] TCP window maximum size : 20000
> [C1:slave:(3) 0.300171] [msg_test/INFO] ===> Estimated Bw of FLOW[0] : 33314.335278 ; message from S1 to C1 with remaining : 0.000000
> [C1:slave:(3) 0.300171] [msg_test/INFO] ===> Estimated Bw of FLOW[1] : 33314.335278 ; message from S2 to C2 with remaining : 0.000000
-
> [0.000000] [xbt_cfg/INFO] Configuration change: Set 'network/model' to 'GTNets'
> [0.000000] [surf_network_gtnets_interface/INFO] TCP window maximum size : 20000
> [C1:slave:(2) 106.291000] [msg_test/INFO] ===> Estimated Bw of FLOW[1] : 9408.134273 ; message from S1 to C1 with remaining : 0.000000
-
#! ./tesh
-
-
p Test1 MSG_comm_test() with Sleep_sender > Sleep_receiver
! output sort
> [ 6.581936] (2:receiver@Ruby) Received "finalize"
> [ 6.581936] (2:receiver@Ruby) I'm done. See you!
-p Test1 MSG_comm_waitall() for sender
+p Test1 MSG_comm_waitall() for sender
! output sort
$ ./peer2 ${srcdir:=.}/small_platform.xml ${srcdir:=.}/deployment_peer.xml "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n"
> [host B:slave:(2) 84.680000] [msg_test/INFO] Received "finalize"
> [host B:slave:(2) 84.680000] [msg_test/INFO] I'm done. See you!
> [84.680000] [msg_test/INFO] Simulation time 84.68
-
> [ 5.570175] (2:slave@Tremblay) I'm done. See you!
> [ 5.570175] (1:master@Tremblay) Goodbye now!
> [ 5.570175] (0:@) Simulation time 5.57017
-
> [ 66.771606] (2:forwarder@Jackson) I'm done. See you!
> [ 66.771606] (9:slave@Stephen) Received "finalize"
> [ 66.771606] (9:slave@Stephen) I'm done. See you!
-
> [100427449:slave:(39) 3.850431] [msg_test/INFO] I'm done. See you!
> [100429957:slave:(40) 3.879075] [msg_test/INFO] I'm done. See you!
> [3.879075] [msg_test/INFO] Simulation time 3.87907
-
> [C2:slave:(4) 1.041346] [msg_test/INFO] FLOW[2] : Receive 1000000 bytes from S2 to C2
> [C3:slave:(6) 2.082380] [msg_test/INFO] FLOW[3] : Receive 2000000 bytes from S3 to C3
-
$ ns3/ns3 ${srcdir:=.}/examples/msg/ns3/3links-p.xml ${srcdir:=.}/examples/msg/ns3/3links-d-timer.xml --cfg=network/model:NS3
> [0.000000] [xbt_cfg/INFO] Configuration change: Set 'network/model' to 'NS3'
> [0.000000] [surf_config/INFO] Switching workstation model to compound since you changed the network and/or cpu model(s)
> [C3:slave:(6) 2.082422] [msg_test/INFO] FLOW[3] : Receive 2000000 bytes from S3 to C3
> [C3:slave:(7) 4.164594] [msg_test/INFO] FLOW[4] : Receive 2000000 bytes from S3 to C3
-
p One cluster
$ ns3/ns3 ${srcdir:=.}/examples/platforms/cluster.xml ${srcdir:=.}/examples/msg/ns3/One_cluster-d.xml --cfg=network/model:NS3
> [Bellevue:receiver:(2) 10000.200100] [msg_test/INFO] Communic. time 1.000010e+04
> [Bellevue:receiver:(2) 10000.200100] [msg_test/INFO] --- bw 99999.000010 ----
> [10000.200100] [msg_test/INFO] Total simulation time: 1.000020e+04
-
p Testing the surf network Reno fairness model using lagrangian approach
-
! output sort
$ $SG_TEST_EXENV sendrecv/sendrecv$EXEEXT ${srcdir:=.}/sendrecv/platform_sendrecv.xml ${srcdir:=.}/sendrecv/deployment_sendrecv.xml "--cfg=workstation/model:compound cpu/model:Cas01 network/model:Reno" --log=surf_lagrange.thres=critical "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n"
> [ 0.000000] (0:@) Configuration change: Set 'workstation/model' to 'compound'
> [ 1.130100] (1:0@bob1.hamburger.edu) Host "0" received "Token"
> [ 1.130100] (0:@) Simulation time 1.1301
-
$ $SG_TEST_EXENV ${bindir:=.}/token_ring ${srcdir:=.}/two_peers.xml --cfg=network/coordinates:yes "--log=root.fmt:[%12.6r]%e(%i:%P@%h)%e%m%n"
> [ 0.000000] (0:@) Configuration change: Set 'network/coordinates' to 'yes'
> [ 0.000000] (0:@) Number of host '2'
p Not tracing master/slave application
$ $SG_TEST_EXENV ${bindir:=.}/tracing/ms$EXEEXT ${srcdir:=.}/tracing/platform.xml ${srcdir:=.}/tracing/deployment.xml
-p Testing tracing by process
+p Testing tracing by process
$ $SG_TEST_EXENV ${bindir:=.}/tracing/ms$EXEEXT --cfg=tracing:1 --cfg=tracing/msg/process:1 --cfg=tracing/buffer:1 --cfg=tracing/filename:tracing/ms.trace --cfg=tracing/categorized:1 --cfg=tracing/uncategorized:1 --cfg=triva/categorized:tracing/ms.cat.plist --cfg=triva/uncategorized:tracing/ms.uncat.plist ${srcdir:=.}/tracing/platform.xml ${srcdir:=.}/tracing/deployment.xml
> [0.000000] [xbt_cfg/INFO] Configuration change: Set 'tracing' to '1'
> [0.000000] [xbt_cfg/INFO] Configuration change: Set 'tracing/msg/process' to '1'
p Test the DAX loader with a DAX comprising a cycle.
! expect signal SIGABRT
-$ $SG_TEST_EXENV ./dax_test --log=no_loc ${srcdir:=.}/../2clusters.xml ${srcdir:=.}/simple_dax_with_cycle.xml
+$ $SG_TEST_EXENV ./dax_test --log=no_loc ${srcdir:=.}/../2clusters.xml ${srcdir:=.}/simple_dax_with_cycle.xml
> [0.000000] [surf_workstation/INFO] surf_workstation_model_init_ptask_L07
> [0.000000] [sd_daxparse/WARNING] the task root is not marked
> [0.000000] [sd_daxparse/WARNING] the task 1@task1 is in a cycle
$ rm -f dag.trace
! expect signal SIGABRT
-$ $SG_TEST_EXENV ./simulate_dot --log=no_loc "--log=sd_dotparse.thres:verbose" ${srcdir:=.}/../2clusters.xml ${srcdir:=.}/dag_with_bad_schedule.dot
+$ $SG_TEST_EXENV ./simulate_dot --log=no_loc "--log=sd_dotparse.thres:verbose" ${srcdir:=.}/../2clusters.xml ${srcdir:=.}/dag_with_bad_schedule.dot
> [0.000000] [surf_workstation/INFO] surf_workstation_model_init_ptask_L07
> [0.000000] [sd_dotparse/VERBOSE] The schedule is ignored, there are not enough computers
> [0.000000] [sd_dotparse/WARNING] is not an integer
> [0.000000] [sd_dotparse/WARNING] The scheduling is ignored
> [0.000000] [xbt/CRITICAL] The dot file with the provided scheduling is wrong, more information with the option : --log=sd_dotparse.thres:verbose
-$ $SG_TEST_EXENV ./simulate_dot --log=no_loc ${srcdir:=.}/../2clusters.xml ${srcdir:=.}/dag_with_good_schedule.dot
+$ $SG_TEST_EXENV ./simulate_dot --log=no_loc ${srcdir:=.}/../2clusters.xml ${srcdir:=.}/dag_with_good_schedule.dot
> [0.000000] [surf_workstation/INFO] surf_workstation_model_init_ptask_L07
> [0.000000] [test/INFO] ------------------- Display all tasks of the loaded DAG ---------------------------
> [0.000000] [sd_task/INFO] Displaying task root
> [0.000000] [sd_workstation/INFO] no task running
> [0.000000] [sd_workstation/INFO] - properties:
> [0.000000] [sd_workstation/INFO] SG_TEST_Hdd->250
-
-
-
> [22.000000] [sd_workstation/INFO] - power: 5000000000
> [22.000000] [sd_workstation/INFO] - available power: 1.00
> [22.000000] [sd_workstation/INFO] - access mode: Space shared
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
> [0.000000] [xbt_cfg/INFO] Configuration change: Set 'network/TCP_gamma' to '4194304'
> [0.000000] [surf_config/INFO] Switching workstation model to compound since you changed the network and/or cpu model(s)
-
-
# second test
p Test Broadcast with as much processes than hosts
! setenv LD_LIBRARY_PATH=../../lib
> [0.000000] [xbt_cfg/INFO] Configuration change: Set 'network/TCP_gamma' to '4194304'
> [0.000000] [surf_config/INFO] Switching workstation model to compound since you changed the network and/or cpu model(s)
-
# Another test
p Test Broadcast with more processes than hosts
! setenv LD_LIBRARY_PATH=../../lib
# use the tested library, not the installed one
# (since we want to pass it to the child, it has to be redefined before each command)
# Go for the first test
-p Test Reduce with 3 processes
+p Test Reduce with 3 processes
$ ../../bin/smpirun -map -hostfile ${srcdir:=.}/hostfile -platform ${srcdir:=.}/../msg/small_platform.xml -np 3 ./reduce -q
> [rank 0] -> Tremblay
> [rank 1] -> Jupiter
> ok.
> ok.
-
# third test
! setenv LD_LIBRARY_PATH=../../lib
-p Test Reduce with 12 processes
-$ ../../bin/smpirun -map -hostfile ${srcdir:=.}/hostfile -platform ${srcdir:=.}/../msg/small_platform.xml -np 12 ./reduce -q
+p Test Reduce with 12 processes
+$ ../../bin/smpirun -map -hostfile ${srcdir:=.}/hostfile -platform ${srcdir:=.}/../msg/small_platform.xml -np 12 ./reduce -q
> You requested to use 12 processes, but there is only 5 processes in your hostfile...
> [rank 0] -> Tremblay
> [rank 1] -> Jupiter
# (since we want to pass it to the child, it has to be redefined before each command)
# Go for the first test
p Test instrumentation of SMPI
-$ ../../bin/smpirun -trace -trace-resource -trace-file smpi_traced.trace -hostfile ${srcdir:=.}/hostfile -platform ${srcdir:=.}/../msg/tracing/platform.xml -np 3 ./smpi_traced
+$ ../../bin/smpirun -trace -trace-resource -trace-file smpi_traced.trace -hostfile ${srcdir:=.}/hostfile -platform ${srcdir:=.}/../msg/tracing/platform.xml -np 3 ./smpi_traced
> [0.000000] [xbt_cfg/INFO] Configuration change: Set 'maxmin/precision' to '1e-9'
> [0.000000] [xbt_cfg/INFO] Configuration change: Set 'network/model' to 'SMPI'
> [0.000000] [xbt_cfg/INFO] Configuration change: Set 'network/TCP_gamma' to '4194304'
-D Tesh tests of SimGrid library.\r
-p Command line tesh --directory=%teshsuite_dir% --include-dir=simdag --include-dir=xbt --file=SimGrid.tesh --log="log.thresh:info tesh.fmt:%m%n"\r
-\r
-\r
-$ cd ${TESHSUITE_DIR:=.}\r
-\r
-# XBT\r
-\r
-! include log_large_test.tesh\r
-\r
-# SimDag Tests\r
-\r
-# Basic Tests\r
-! include basic0.tesh \r
-! include basic1.tesh\r
-! include basic2.tesh\r
-! include basic3.tesh\r
-! include basic4.tesh\r
-! include basic5.tesh\r
-! include basic6.tesh\r
-! include incomplete.tesh\r
-\r
-\r
-# Network Tests\r
-! include network/test_reinit_costs.tesh\r
-\r
-# MXN Tests\r
-! include network/mxn/test_intra_scatter.tesh\r
-! include network/mxn/test_intra_independent_comm.tesh\r
-! include network/mxn/test_intra_all2all.tesh\r
-\r
-# P2P Tests\r
-! include network/p2p/test_latency1.tesh\r
-! include network/p2p/test_latency2.tesh\r
-! include network/p2p/test_latency3.tesh\r
-! include network/p2p/test_latency_bound.tesh\r
-\r
-# Parallel task\r
-! include partask/test_comp_only_par.tesh\r
-! include partask/test_comp_only_seq.tesh\r
-\r
-# Platforms\r
-! include platforms/basic_parsing_test.tesh\r
-! include platforms/flatifier.tesh\r
-\r
-\r
-\r
-\r
-\r
-\r
-\r
+D Tesh tests of SimGrid library.
+p Command line tesh --directory=%teshsuite_dir% --include-dir=simdag --include-dir=xbt --file=SimGrid.tesh --log="log.thresh:info tesh.fmt:%m%n"
+
+$ cd ${TESHSUITE_DIR:=.}
+
+# XBT
+
+! include log_large_test.tesh
+
+# SimDag Tests
+
+# Basic Tests
+! include basic0.tesh
+! include basic1.tesh
+! include basic2.tesh
+! include basic3.tesh
+! include basic4.tesh
+! include basic5.tesh
+! include basic6.tesh
+! include incomplete.tesh
+
+# Network Tests
+! include network/test_reinit_costs.tesh
+
+# MXN Tests
+! include network/mxn/test_intra_scatter.tesh
+! include network/mxn/test_intra_independent_comm.tesh
+! include network/mxn/test_intra_all2all.tesh
+
+# P2P Tests
+! include network/p2p/test_latency1.tesh
+! include network/p2p/test_latency2.tesh
+! include network/p2p/test_latency3.tesh
+! include network/p2p/test_latency_bound.tesh
+
+# Parallel task
+! include partask/test_comp_only_par.tesh
+! include partask/test_comp_only_seq.tesh
+
+# Platforms
+! include platforms/basic_parsing_test.tesh
+! include platforms/flatifier.tesh
-#! ./tesh\r
-\r
-# Description of this tesh file\r
-! D This tesh file contains all the tesh files relative with Gras\r
-\r
-# Gras datadesc suite\r
-\r
-! suite Checks the marshaling facilities of Gras\r
-! include datadesc_mem.tesh Try to do a in-memory copy\r
-! include datadesc_rw.tesh Try to read what we write\r
-! include datadesc_r_big32_2.tesh Try to read the result of linux/mips?\r
-! include datadesc_r_big32_8.tesh Try to read the result of ppc/sparc?\r
-! include datadesc_r_big32_8_4.tesh Try to read the result of AIX\r
-! include datadesc_r_little32_4.tesh Try to read the result of linux/x86\r
-! include datadesc_r_little64.tesh Try to read the result of linux/amd64
\ No newline at end of file
+#! ./tesh
+
+# Description of this tesh file
+! D This tesh file contains all the tesh files relative with Gras
+
+# Gras datadesc suite
+
+! suite Checks the marshaling facilities of Gras
+! include datadesc_mem.tesh Try to do a in-memory copy
+! include datadesc_rw.tesh Try to read what we write
+! include datadesc_r_big32_2.tesh Try to read the result of linux/mips?
+! include datadesc_r_big32_8.tesh Try to read the result of ppc/sparc?
+! include datadesc_r_big32_8_4.tesh Try to read the result of AIX
+! include datadesc_r_little32_4.tesh Try to read the result of linux/x86
+! include datadesc_r_little64.tesh Try to read the result of linux/amd64
-#! ./tesh\r
-\r
-# Description of this tesh file\r
-! D This tesh file contains all the tesh files relative with Gras\r
-\r
-# includes the Gras marshaling facilities tesh suite\r
-! include datadesc.tesh\r
-\r
-\r
-\r
+#! ./tesh
+
+# Description of this tesh file
+! D This tesh file contains all the tesh files relative with Gras
+
+# includes the Gras marshaling facilities tesh suite
+! include datadesc.tesh
> [Tremblay:function:(1) 100.000030] [test/INFO] Let's go 1E-20
> [Tremblay:function:(1) 100.000030] [test/INFO] done
> [Tremblay:function:(1) 100.000030] [gras/INFO] Exiting GRAS
-
> [ 10.000000] (1:test_trace@CPU1) Task prio: 1.000000
> [ 40.000000] (1:test_trace@CPU1) Test finished
-p Testing trace integration using file.trace and test2.xml, a < max(time), max(time) < b < 2 max(time)
+p Testing trace integration using file.trace and test2.xml, a < max(time), max(time) < b < 2 max(time)
! output sort
$ $SG_TEST_EXENV ${bindir:=.}/trace/test_trace_integration$EXEEXT ./trace/test2.xml --cfg=workstation/model:compound --cfg=network/model:CM02 --cfg=cpu/optim:TI "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n"
> [ 10.000000] (1:test_trace@CPU1) Task prio: 1.000000
> [ 85.000000] (1:test_trace@CPU1) Test finished
-
-p Testing trace integration using file.trace and test3.xml, a < max(time), b > 2 max(time)
+p Testing trace integration using file.trace and test3.xml, a < max(time), b > 2 max(time)
! output sort
$ $SG_TEST_EXENV ${bindir:=.}/trace/test_trace_integration$EXEEXT ./trace/test3.xml --cfg=workstation/model:compound --cfg=network/model:CM02 --cfg=cpu/optim:TI "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n"
$ simdag/basic6 ${srcdir:=.}/simdag/network/p2p/platform_2p_1sl.xml --surf-path=${srcdir} "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n"
> [ 0.000000] (0:@) surf_workstation_model_init_ptask_L07
> [ 2.000000] (0:@) Simulation time: 2.000000
-
$ simdag/network/mxn/test_intra_scatter ${srcdir:=.}/simdag/network/mxn/platform_4p_1switch.xml --surf-path=${srcdir} --log=sd_kernel.thres=warning "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n"
> [ 0.000000] (0:@) surf_workstation_model_init_ptask_L07
> 8
-
> [ 0.000000] (0:@) surf_workstation_model_init_ptask_L07
> 1.5
-p latency check, 1 byte, link - switch - link
+p latency check, 1 byte, link - switch - link
$ simdag/network/p2p/test_latency1 ${srcdir:=.}/simdag/network/p2p/platform_2p_1switch.xml --surf-path=${srcdir} --log=sd_kernel.thres=warning "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n"
> [ 0.000000] (0:@) surf_workstation_model_init_ptask_L07
> 3
-
> [ 0.000000] (0:@) surf_workstation_model_init_ptask_L07
> 1.5
-p latency check, 2 x 1 byte, same direction, link - switch - link
+p latency check, 2 x 1 byte, same direction, link - switch - link
$ simdag/network/p2p/test_latency2 ${srcdir:=.}/simdag/network/p2p/platform_2p_1switch.xml --surf-path=${srcdir} --log=sd_kernel.thres=warning "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n"
> [ 0.000000] (0:@) surf_workstation_model_init_ptask_L07
> 4
-
> [ 0.000000] (0:@) surf_workstation_model_init_ptask_L07
> 1.5
-p latency check, 2 x 1 byte, opposite direction, link - switch - link
+p latency check, 2 x 1 byte, opposite direction, link - switch - link
$ simdag/network/p2p/test_latency3 ${srcdir:=.}/simdag/network/p2p/platform_2p_1switch.xml --surf-path=${srcdir} --log=sd_kernel.thres=warning "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n"
> [ 0.000000] (0:@) surf_workstation_model_init_ptask_L07
> 4
-
> Link __loopback__: latency = 0.000015, bandwidth = 498000000.000000
> Route latency = 0.000015, route bandwidth = 498000000.000000
-
-
$ ${bindir:=.}/basic_parsing_test ./four_hosts_floyd_bis.xml FULL_LINK
> [0.000000] [surf_workstation/INFO] surf_workstation_model_init_ptask_L07
> Workstation number: 5, link number: 7
-#! ./tesh\r
-\r
-# Description of this tesh file\r
-D This tesh file contains all the tesh files relative with SimDag\r
-\r
-# SimDag tesh suite\r
-\r
-! suite Simdag tests this suite contains all the tesh files relative with SimDag\r
-! include basic0.tesh\r
-! include basic1.tesh\r
-! include basic2.tesh\r
-! include basic3.tesh\r
-! include basic4.tesh\r
-! include basic5.tesh\r
-! include basic6.tesh\r
-! include incomplete.tesh\r
+#! ./tesh
+
+# Description of this tesh file
+D This tesh file contains all the tesh files relative with SimDag
+
+# SimDag tesh suite
+
+! suite Simdag tests this suite contains all the tesh files relative with SimDag
+! include basic0.tesh
+! include basic1.tesh
+! include basic2.tesh
+! include basic3.tesh
+! include basic4.tesh
+! include basic5.tesh
+! include basic6.tesh
+! include incomplete.tesh
> Done (strlen>10210)
p Check that the dynamic version of the log formated layout works
-$ $SG_EXENV_TEST xbt/log_large_test "--log=root.fmt:%m%n"
+$ $SG_EXENV_TEST xbt/log_large_test "--log=root.fmt:%m%n"
> This is a very large message:
> 0
> 1.........1.........2.........3.........4.........5.........6.........7.........8.........9.........0
! timeout 20
p Try to crash the log mecanism by using it in parallel with a lot of threads
! setenv GRAS_NO_WARN_EXPERIMENTAL=1
-$ xbt/parallel_log_crashtest "--log=root.fmt:%m%n"
+$ xbt/parallel_log_crashtest "--log=root.fmt:%m%n"
> XXX (XX|XX|XX|XX|XX|XX|XX|XX|XX)
> XXX (XX|XX|XX|XX|XX|XX|XX|XX|XX)
> XXX (XX|XX|XX|XX|XX|XX|XX|XX|XX)
-#! ./tesh\r
-\r
-# Description of this tesh file\r
-! D This tesh file contains all the tesh files relative with the xbt framework\r
-\r
-! include parallel_log_crashtest.tesh
\ No newline at end of file
+#! ./tesh
+
+# Description of this tesh file
+! D This tesh file contains all the tesh files relative with the xbt framework
+
+! include parallel_log_crashtest.tesh
> [0.000000] [xbt_cfg/INFO] Configuration change: Set 'tracing' to '1'
> [0.000000] [xbt_cfg/INFO] Configuration change: Set 'tracing/platform' to '1'
-
$ rm test.dot
# The first one uses a very big input (150k) to check whether trucated input do work.
# The second one uses both a big input and a big output (150k each).
#
-# This checks whether the non-blocking I/O mess is functionnal.
+# This checks whether the non-blocking I/O mess is functionnal.
#
p First, a write test
< blablablablablablablablablablablablablablablablablablablabla
>
$ echo
-
> [(stdin):1] cat
> Test suite from stdin OK
$ ./tesh --enable-coverage --log='log.thresh:info tesh.fmt:%m%n'
-
$ gcc -Wall -o delayed_cat delayed_cat.c
-& ./delayed_cat
+& ./delayed_cat
> TOTO
< TOTO
$ sleep 2
$ cd ..
$ rm -rf temp_testdir_background
-
> - TOTO
> + TUTU
> Test suite `(stdin)': NOK (<(stdin):3> output mismatch)
-
> Test suite `(stdin)': NOK (system error)
$ ../tesh --enable-coverage --log='log.thresh:info tesh.fmt:%m%n'
-# The next command checks that there is a testdir_temp-cd in the upper directory,
+# The next command checks that there is a testdir_temp-cd in the upper directory,
# ie that mkdir and cd both worked.
$ test -e ../testdir_temp-cd