Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
merge conflicts
authorMarion Guthmuller <marion.guthmuller@loria.fr>
Tue, 22 Nov 2011 17:05:23 +0000 (18:05 +0100)
committerMarion Guthmuller <marion.guthmuller@loria.fr>
Tue, 22 Nov 2011 17:05:23 +0000 (18:05 +0100)
307 files changed:
.gitignore
ChangeLog
NEWS
README.coding
buildtools/Cmake/AddTests.cmake
buildtools/Cmake/CTestConfig.cmake
buildtools/Cmake/CompleteInFiles.cmake
buildtools/Cmake/DefinePackages.cmake
buildtools/Cmake/Distrib.cmake
buildtools/Cmake/Flags.cmake
buildtools/Cmake/GenerateDoc.cmake
buildtools/Cmake/MakeLib.cmake
buildtools/Cmake/Modules/FindNS3.cmake
buildtools/Cmake/Option.cmake
buildtools/Cmake/PrintArgs.cmake
buildtools/Cmake/Supernovae.cmake [new file with mode: 0644]
buildtools/Cmake/generate_g5k_platform_cabinets.pl
buildtools/Cmake/generate_memcheck_tests.pl
buildtools/Cmake/memcheck_tests.cmake
doc/bindings.doc
doc/gtut-files/11-explicitwait.c
doc/index.doc
doc/module-msg.doc
doc/module-xbt.doc
doc/webcruft/simgrid_logo_2011.png [new file with mode: 0644]
examples/amok/bandwidth/bandwidth.c
examples/gras/console/gras_platform_script.lua
examples/gras/console/ping_client.c
examples/gras/mmrpc/mmrpc_client.c
examples/gras/mmrpc/mmrpc_server.c
examples/gras/ping/ping_client.c
examples/gras/pmm/pmm.c
examples/gras/properties/properties.c
examples/gras/properties/test_sg.tesh
examples/gras/replay/replay.c
examples/gras/replay/xbt_workload.c
examples/gras/rpc/rpc.c
examples/lua/README
examples/lua/SimSplay/platform_script.lua
examples/lua/SimSplay/sim_splay.lua
examples/lua/chord/chord.lua [new file with mode: 0644]
examples/lua/console/deploy.lua
examples/lua/console/master.lua
examples/lua/console/master_slave_bypass.lua
examples/lua/console/platform.lua
examples/lua/console/slave.lua
examples/lua/masterslave/master.lua
examples/lua/masterslave/master_slave.lua
examples/lua/masterslave/master_slave.tesh
examples/lua/masterslave/platform.lua
examples/lua/masterslave/slave.lua
examples/lua/mult_matrix.lua [deleted file]
examples/lua/multi_matrix/mult_matrix.lua
examples/lua/multi_matrix/receiver.lua
examples/lua/multi_matrix/sender.lua
examples/lua/splaySim/master.lua
examples/lua/splaySim/slave.lua
examples/lua/splaySim/splay_deploy_masterslave.lua
examples/lua/splaySim/splay_platform.lua
examples/lua/state_cloner/duplicated_globals.lua
examples/lua/tracing/master.lua
examples/lua/tracing/master_slave_trace.lua
examples/lua/tracing/slave.lua
examples/msg/actions/actions.c
examples/msg/chord/chord.c
examples/msg/icomms/peer.c
examples/msg/icomms/peer2.c
examples/msg/icomms/peer3.c
examples/msg/masterslave/masterslave_bypass.c
examples/msg/masterslave/masterslave_cluster.c
examples/msg/masterslave/masterslave_console.c
examples/msg/masterslave/masterslave_console.tesh
examples/msg/masterslave/masterslave_failure.c
examples/msg/masterslave/masterslave_forwarder.c
examples/msg/masterslave/masterslave_kill.c
examples/msg/masterslave/masterslave_mailbox.c
examples/msg/masterslave/masterslave_vivaldi.tesh
examples/msg/masterslave/platform_script.lua
examples/msg/mc/centralized_mutex.c
examples/msg/parallel_task/test_ptask.c
examples/msg/priority/priority.c
examples/msg/properties/msg_prop.c
examples/msg/trace/trace.tesh
examples/platforms/One_cluster.xml
examples/platforms/One_cluster_no_backbone.xml
examples/platforms/g5k_cabinets.xml
examples/platforms/syscoord/generate_peer_platform.pl
examples/platforms/syscoord/median_harvard.xml
examples/platforms/syscoord/median_meridian.xml
examples/platforms/syscoord/median_p2psim.xml
examples/platforms/vivaldi.xml
examples/simdag/goal/goal_test.c
examples/simdag/platform_script.lua
examples/simdag/scheduling/minmin_test.c
examples/simdag/sd_seq_access.c
examples/simdag/simdag_trace.c
examples/xbt/sem_sched.c
include/msg/datatypes.h
include/msg/msg.h
include/simgrid/platf.h [new file with mode: 0644]
include/simix/context.h
include/simix/simix.h
include/surf/simgrid_dtd.h
include/surf/surf_routing.h
include/surf/surfxml_parse.h
include/xbt/ex.h
include/xbt/graphxml.h
include/xbt/graphxml_parse.h
include/xbt/lib.h
include/xbt/log.h
include/xbt/parmap.h
include/xbt/queue.h
include/xbt/str.h
include/xbt/strbuff.h
include/xbt/swag.h
include/xbt/sysdep.h
src/amok/Bandwidth/bandwidth.c
src/amok/Bandwidth/saturate.c
src/amok/PeerManagement/peermanagement.c
src/bindings/lua/lua_console.c
src/bindings/lua/lua_state_cloner.c
src/bindings/lua/lua_state_cloner.h
src/bindings/lua/lua_stub_generator.c
src/bindings/lua/lua_utils.c
src/bindings/lua/lua_utils.h
src/bindings/lua/master_slave.lua [deleted file]
src/bindings/lua/mult_matrix.lua [deleted file]
src/bindings/lua/simgrid_lua.c
src/bindings/lua/simgrid_lua.h
src/bindings/rubyDag/Makefile [deleted file]
src/bindings/rubyDag/example.rb [deleted file]
src/bindings/rubyDag/extconfig.rb [deleted file]
src/bindings/rubyDag/platform.xml [deleted file]
src/bindings/rubyDag/platform_.xml [deleted file]
src/bindings/rubyDag/rb_SD_task.c [deleted file]
src/bindings/rubyDag/rb_SD_task.h [deleted file]
src/bindings/rubyDag/rb_SD_workstation.c [deleted file]
src/bindings/rubyDag/rb_SD_workstation.h [deleted file]
src/bindings/rubyDag/rb_simdag.c [deleted file]
src/bindings/rubyDag/simdag.rb [deleted file]
src/gras/DataDesc/cbps.c
src/gras/DataDesc/ddt_convert.c
src/gras/DataDesc/ddt_create.c
src/gras/DataDesc/ddt_exchange.c
src/gras/DataDesc/ddt_parse.c
src/gras/Msg/gras_msg_exchange.c
src/gras/Msg/gras_msg_types.c
src/gras/Msg/timer.c
src/gras/Transport/transport.c
src/gras/Transport/transport_plugin_sg.c
src/gras/Transport/transport_plugin_tcp.c
src/gras/Virtu/gras_module.c
src/gras/Virtu/process.c
src/gras/Virtu/rl_process.c
src/gras/Virtu/sg_emul.c
src/gras/Virtu/sg_process.c
src/gras/gras.c
src/include/simgrid/platf_interface.h [new file with mode: 0644]
src/include/surf/datatypes.h
src/include/surf/surf.h
src/include/surf/surf_resource.h
src/include/surf/surf_resource_lmm.h
src/include/surf/surfxml_parse_private.h [deleted file]
src/include/surf/surfxml_parse_values.h [new file with mode: 0644]
src/include/surf/trace_mgr.h
src/instr/instr_config.c
src/instr/instr_interface.c
src/instr/instr_paje_trace.c
src/instr/instr_routing.c
src/instr/instr_smpi.c
src/instr/jedule/jedule_platform.c
src/instr/jedule/jedule_sd_binding.c
src/mc/mc_global.c
src/mc/memory_map.c
src/mk_supernovae.pl [new file with mode: 0644]
src/msg/msg_actions.c
src/msg/msg_config.c
src/msg/msg_deployment.c [moved from src/msg/deployment.c with 99% similarity]
src/msg/msg_environment.c [moved from src/msg/environment.c with 97% similarity]
src/msg/msg_global.c [moved from src/msg/global.c with 98% similarity]
src/msg/msg_gos.c [moved from src/msg/gos.c with 95% similarity]
src/msg/msg_host.c [moved from src/msg/host.c with 95% similarity]
src/msg/msg_mailbox.c
src/msg/msg_mailbox.h [moved from src/msg/mailbox.h with 100% similarity]
src/msg/msg_private.h [moved from src/msg/private.h with 93% similarity]
src/msg/msg_process.c [moved from src/msg/m_process.c with 97% similarity]
src/msg/msg_task.c [moved from src/msg/task.c with 95% similarity]
src/rngstreams/RngStream.c
src/simdag/dax_dtd.c
src/simdag/dax_dtd.h
src/simdag/sd_daxloader.c
src/simdag/sd_dotloader.c
src/simdag/sd_global.c
src/simdag/sd_link.c
src/simdag/sd_task.c
src/simdag/sd_workstation.c
src/simix/private.h
src/simix/process_private.h
src/simix/smurf_private.h
src/simix/smx_context.c
src/simix/smx_context_base.c
src/simix/smx_context_raw.c
src/simix/smx_context_sysv.c
src/simix/smx_context_sysv_private.h
src/simix/smx_context_thread.c
src/simix/smx_deployment.c
src/simix/smx_environment.c
src/simix/smx_global.c
src/simix/smx_host.c
src/simix/smx_network.c
src/simix/smx_process.c
src/simix/smx_smurf.c
src/simix/smx_synchro.c
src/simix/smx_user.c
src/smpi/smpi_bench.c
src/smpi/smpi_global.c
src/surf/cpu.c
src/surf/cpu_im.c
src/surf/cpu_ti.c
src/surf/lagrange.c
src/surf/maxmin.c
src/surf/maxmin_private.h
src/surf/network.c
src/surf/network_constant.c
src/surf/network_gtnets.c
src/surf/network_im.c
src/surf/network_ns3.c
src/surf/sg_platf.c [new file with mode: 0644]
src/surf/simgrid_dtd.c
src/surf/surf.c
src/surf/surf_config.c
src/surf/surf_private.h
src/surf/surf_routing.c
src/surf/surf_routing_cluster.c [new file with mode: 0644]
src/surf/surf_routing_dijkstra.c
src/surf/surf_routing_floyd.c
src/surf/surf_routing_full.c
src/surf/surf_routing_generic.c [new file with mode: 0644]
src/surf/surf_routing_none.c
src/surf/surf_routing_private.h
src/surf/surf_routing_rulebased.c
src/surf/surf_routing_vivaldi.c [new file with mode: 0644]
src/surf/surfxml_parse.c
src/surf/surfxml_parseplatf.c [new file with mode: 0644]
src/surf/workstation.c
src/surf/workstation_ptask_L07.c
src/xbt/backtrace_linux.c
src/xbt/backtrace_windows.c
src/xbt/config.c
src/xbt/dict.c
src/xbt/dict_cursor.c
src/xbt/dict_multi.c
src/xbt/dynar.c
src/xbt/ex.c
src/xbt/graph.c
src/xbt/graphxml.c
src/xbt/graphxml_parse.c
src/xbt/heap.c
src/xbt/lib.c
src/xbt/log.c
src/xbt/log_private.h
src/xbt/mallocator.c
src/xbt/mmalloc/mfree.c
src/xbt/mmalloc/mm_legacy.c
src/xbt/mmalloc/mmalloc.c
src/xbt/mmalloc/mmcheck.c
src/xbt/mmalloc/mrealloc.c
src/xbt/parmap.c
src/xbt/set.c
src/xbt/swag.c
src/xbt/xbt_log_appender_file.c
src/xbt/xbt_log_layout_format.c
src/xbt/xbt_log_layout_simple.c
src/xbt/xbt_matrix.c
src/xbt/xbt_os_thread.c
src/xbt/xbt_peer.c
src/xbt/xbt_queue.c
src/xbt/xbt_replay_trace_reader.c
src/xbt/xbt_rl_synchro.c
src/xbt/xbt_sg_synchro.c
src/xbt/xbt_str.c
src/xbt/xbt_strbuff.c
src/xbt/xbt_synchro.c
teshsuite/gras/datadesc/datadesc_usage.c
teshsuite/gras/msg_handle/msg_handle.c
teshsuite/simdag/basic6.c
teshsuite/simdag/platforms/Two_clusters_rulebased.xml [new file with mode: 0644]
teshsuite/simdag/platforms/basic_parsing_test.c
teshsuite/simdag/platforms/basic_parsing_test.tesh
teshsuite/simdag/platforms/basic_parsing_test_bypass.tesh [new file with mode: 0644]
teshsuite/simdag/platforms/basic_parsing_test_sym_full.tesh
teshsuite/simdag/platforms/flatifier.c
teshsuite/simdag/platforms/flatifier.tesh
teshsuite/simdag/platforms/get_full_link.tesh
teshsuite/simdag/platforms/is_router_test.c
teshsuite/simdag/platforms/three_clusters_bypass.xml [new file with mode: 0644]
testsuite/surf/surf_usage.c
testsuite/surf/surf_usage2.c
testsuite/xbt/graphxml_usage.c
tools/gras/stub_generator.c
tools/indent [new file with mode: 0755]
tools/tesh/run_context.c
tools/tesh/tesh.c
win32_test_app/src/TBuffer.c
win32_test_app/src/TStream.c
win32_test_app/src/TTestCaseContext.c
win32_test_app/src/TThreadDynarray.c

index 9c37201..b5b3b84 100644 (file)
-################################################\r
-###OTHER CAT\r
-*.l[oa]\r
-*.loT\r
-*.[oa]\r
-*~\r
-*.log\r
-*_simulator\r
-*.mk\r
-*.swp\r
-*.patch\r
-*.plist\r
-*.trace\r
-\r
-################################################\r
-### Maintainer mode\r
-src/simdag/dax_dtd.l\r
-src/surf/simgrid_dtd.l\r
-src/xbt/graphxml.l\r
-\r
-################################################\r
-### Jedule\r
-examples/simdag/scheduling/simgrid.jed\r
-teshsuite/simdag/platforms/simgrid.jed\r
-\r
-################################################\r
-### Libraries links \r
-src/bindings/ruby/simgrid.so\r
-examples/ruby/simgrid.so\r
-examples/lua/simgrid.so\r
-src/bindings/ruby/libsimgrid.so\r
-examples/gras/console/simgrid.so\r
-examples/msg/masterslave/simgrid.so\r
-examples/simdag/simgrid.so\r
-\r
-################################################\r
-### Units files\r
-src/simgrid_units_main.c\r
-src/*_unit.c\r
-\r
-################################################\r
-### Generated files\r
-_*.c\r
-include/simgrid_config.h\r
-include/xbt/version.h\r
-include/instr/tracing_config.h\r
-include/smpi/smpif.h\r
-src/context_sysv_config.h\r
-src/gras_config.h\r
-src/smpi/smpicc\r
-src/smpi/smpirun\r
-simgrid-*.tar.gz\r
-\r
-################################################\r
-### Cmake files\r
-CPackConfig.cmake\r
-CPackSourceConfig.cmake\r
-CTestTestfile.cmake\r
-conftestval\r
-cmake_install.cmake\r
-CMakeFiles\r
-install_manifest.txt\r
-_CPack_Packages/\r
-CMakeFiles\r
-CMakeCache.txt\r
-DartConfiguration.tcl\r
-simgrid.nsi\r
-Testing/\r
-Makefile\r
-bin/\r
-lib/\r
-build_dir/\r
-build/\r
-buildtools/Cmake/test_prog/prog_va_copy.c\r
-\r
-\r
-################################################\r
-### windows borland\r
-*.bpr\r
-*.bpf\r
-\r
-################################################\r
-### Documentation\r
-doc/all_bib.html\r
-doc/logcategories.sh\r
-doc/realtoc.sh\r
-doc/tmp.realtoc\r
-doc/using_bib.html\r
-doc/Doxyfile\r
-doc/footer.html\r
-*.doc.toc\r
-doc/latex/\r
-doc/html\r
-doc/index-API.doc\r
-doc/index.php\r
-doc/simgrid.tag\r
-doc/simgrid_modules.map\r
-doc/publis_core.bib\r
-doc/publis_core_bib.html\r
-doc/publis_count.html\r
-doc/publis_extern.bib\r
-doc/publis_extern_bib.html\r
-doc/publis_intra.bib\r
-doc/publis_intra_bib.html\r
-\r
-################################################\r
-### Specific of project \r
-.cproject\r
-.project\r
-.settings/\r
-.anjuta\r
-.anjuta_sym_db.db\r
-simgrid.anjuta\r
-.externalToolBuilders/\r
-Debug/\r
-.emacs.desktop\r
-tags\r
-callgrind.out.*\r
-\r
-################################################\r
-### Examples and traces\r
-*.exe\r
-testgraph.dot\r
-testgraph.xml\r
-examples/msg/ms.trace\r
-examples/msg/procmig.trace\r
-examples/msg/tasks.trace\r
-examples/msg/volume.trace\r
-examples/msg/zmsg_test.trace\r
-examples/msg/categories.trace\r
-examples/msg/masterslave/toto.txt\r
-examples/msg/simulation.trace\r
-examples/msg/toto.txt\r
-examples/msg/z_gtnets.trace\r
-examples/msg/tracing/procmig\r
-examples/msg/tracing/tasks\r
-examples/msg/tracing/volume\r
-examples/msg/mc/bugged3\r
-examples/msg/mc/random_test\r
-examples/msg/chord/chord\r
-examples/msg/token_ring/token_ring\r
-examples/simdag/ex_sd_seq_access\r
-examples/simdag/sd_seq_access\r
-examples/msg/icomms/peer\r
-examples/msg/icomms/peer2\r
-examples/gras/console/ping_client_console\r
-examples/gras/console/ping_server_console\r
-examples/gras/console/ping_simulator_console\r
-examples/msg/icomms/.kdbgrc.peer3\r
-examples/msg/icomms/peer3\r
-examples/msg/icomms/toto.txt\r
-examples/msg/masterslave/masterslave_console\r
-examples/simdag/ex_sd_test_console\r
-examples/simdag/sd_test_console\r
-examples/simdag/scheduling/Montage_25.jed\r
-examples/msg/irc_isend/peer\r
-examples/msg/irc_isend/toto.txt\r
-examples/simdag/dot/dot_test\r
-examples/simdag/dot/dot_test2\r
-examples/smpi/toto.txt\r
-examples/java/*/classnoinst.stamp\r
-examples/amok/bandwidth/bandwidth_maestro\r
-examples/amok/bandwidth/bandwidth_sensor\r
-examples/amok/saturate/saturate_maestro\r
-examples/amok/saturate/saturate_sensor\r
-examples/gras/all2all/all2all_receiver\r
-examples/gras/all2all/all2all_sender\r
-examples/gras/chrono/chrono_multiplier\r
-examples/gras/mmrpc/mmrpc_client\r
-examples/gras/mmrpc/mmrpc_server\r
-examples/gras/mutual_exclusion/simple_token/simple_token_node\r
-examples/gras/mutual_exclusion/simple_token/simple_token_checker\r
-examples/gras/ping/ping_client\r
-examples/gras/ping/ping_server\r
-examples/gras/ping/ping_checker\r
-examples/gras/pmm/pmm_master\r
-examples/gras/pmm/pmm_slave\r
-examples/gras/properties/properties_alice\r
-examples/gras/properties/properties_bob\r
-examples/gras/properties/properties_master\r
-examples/gras/properties/properties_slave\r
-examples/gras/rpc/rpc_client\r
-examples/gras/rpc/rpc_forwarder\r
-examples/gras/rpc/rpc_server\r
-examples/gras/spawn/spawn_server\r
-examples/gras/synchro/synchro_philosopher\r
-examples/gras/timer/timer_client\r
-examples/gras/replay/replay_simulator\r
-examples/gras/replay/replay_master\r
-examples/gras/replay/replay_worker\r
-examples/msg/actions/actions\r
-examples/msg/gtnets/gtnets\r
-examples/msg/masterslave/masterslave_bypass\r
-examples/msg/masterslave/masterslave_failure\r
-examples/msg/masterslave/masterslave_forwarder\r
-examples/msg/masterslave/masterslave_mailbox\r
-examples/msg/migration/migration\r
-examples/msg/parallel_task/parallel_task\r
-examples/msg/parallel_task/test_ptask\r
-examples/msg/priority/priority\r
-examples/msg/properties/msg_prop\r
-examples/msg/sendrecv/sendrecv\r
-examples/msg/suspend/suspend\r
-examples/msg/trace/test_trace_integration\r
-examples/msg/mc/centralized\r
-examples/msg/mc/bugged2\r
-examples/msg/mc/bugged1\r
-examples/msg/parallel_contexts/pcontexts\r
-examples/msg/parallel_contexts/pcontexts2\r
-examples/msg/pmm/msg_pmm\r
-examples/simdag/ex_sd_test\r
-examples/simdag/ex_sd_test2\r
-examples/simdag/metaxml/sd_meta\r
-examples/simdag/properties/sd_prop\r
-examples/simdag/sd_test\r
-examples/simdag/sd_test2\r
-examples/simdag/dax/dax_test\r
-examples/simdag/goal/goal_test\r
-examples/simdag/scheduling/minmin_test\r
-examples/smpi/reduce\r
-examples/smpi/bcast\r
-examples/smpi/bcbench\r
-examples/smpi/compute\r
-examples/smpi/compute2\r
-examples/smpi/compute3\r
-examples/smpi/first\r
-examples/smpi/mvmul\r
-examples/smpi/ring_c\r
-examples/smpi/second\r
-examples/smpi/split\r
-examples/smpi/allreduce\r
-examples/smpi/pingpong\r
-examples/smpi/scatter\r
-examples/smpi/alltoall2\r
-examples/smpi/alltoall_basic\r
-examples/smpi/alltoallv\r
-examples/smpi/sendrecv\r
-examples/smpi/smpi_sendrecv\r
-examples/smpi/mc_bugged1\r
-examples/smpi/mc_bugged2\r
-src/replay/replay\r
-src/testall\r
-teshsuite/gras/datadesc/datadesc_usage\r
-teshsuite/gras/empty_main/empty_main_function\r
-teshsuite/gras/msg_handle/msg_handle_client\r
-teshsuite/gras/msg_handle/msg_handle_server\r
-teshsuite/gras/small_sleep/log.txt\r
-teshsuite/gras/small_sleep/small_sleep_function\r
-teshsuite/gras/modelcheck/modelcheck_checker\r
-teshsuite/msg/get_sender\r
-teshsuite/simdag/basic0\r
-teshsuite/simdag/basic1\r
-teshsuite/simdag/basic2\r
-teshsuite/simdag/basic3\r
-teshsuite/simdag/basic4\r
-teshsuite/simdag/basic5\r
-teshsuite/simdag/basic6\r
-teshsuite/simdag/network/mxn/test_intra_all2all\r
-teshsuite/simdag/network/mxn/test_intra_independent_comm\r
-teshsuite/simdag/network/mxn/test_intra_scatter\r
-teshsuite/simdag/network/p2p/test_latency1\r
-teshsuite/simdag/network/p2p/test_latency2\r
-teshsuite/simdag/network/p2p/test_latency3\r
-teshsuite/simdag/network/p2p/test_latency_bound\r
-teshsuite/simdag/network/test_reinit_costs\r
-teshsuite/simdag/platforms/basic_parsing_test\r
-teshsuite/simdag/platforms/flatifier\r
-teshsuite/simdag/partask/test_comp_only_par\r
-teshsuite/simdag/partask/test_comp_only_seq\r
-teshsuite/xbt/log_large_test\r
-teshsuite/xbt/parallel_log_crashtest\r
-testsuite/run_tests\r
-testsuite/simdag/sd_test\r
-testsuite/surf/lmm_usage\r
-testsuite/surf/maxmin_bench\r
-testsuite/surf/surf_usage\r
-testsuite/surf/surf_usage2\r
-testsuite/surf/trace_usage\r
-testsuite/testgraph.dot\r
-testsuite/testgraph.xml\r
-testsuite/xbt/context_usage\r
-testsuite/xbt/graphxml_usage\r
-testsuite/xbt/heap_bench\r
-testsuite/xbt/log_usage\r
-tools/gras/gras_stub_generator\r
-tools/tesh/tesh\r
-examples/msg/tracing/categories\r
-examples/msg/tracing/ms\r
-teshsuite/simdag/platforms/is_router_test\r
-examples/msg/masterslave/masterslave_cluster\r
-examples/simdag/simdag_tracing\r
-examples/gras/spawn/spawn_child\r
-examples/gras/spawn/spawn_father\r
-examples/smpi/smpi_traced\r
-examples/smpi/ttest01\r
-teshsuite/datadesc_usage.out\r
-test_rl\r
-test_sg\r
-examples/smpi/smpi_traced.trace\r
-examples/simdag/dot/simulate_dot\r
-teshsuite/simdag/platforms/graphicator\r
-\r
-#########################################""\r
-## tutorial files\r
-doc/gtut-files/01-bones_client\r
-doc/gtut-files/01-bones_server\r
-doc/gtut-files/02-simple_client\r
-doc/gtut-files/02-simple_server\r
-doc/gtut-files/03-args_client\r
-doc/gtut-files/03-args_server\r
-doc/gtut-files/04-callback_client\r
-doc/gtut-files/04-callback_server\r
-doc/gtut-files/05-globals_client\r
-doc/gtut-files/05-globals_server\r
-doc/gtut-files/06-logs_client\r
-doc/gtut-files/06-logs_server\r
-doc/gtut-files/07-timers_client\r
-doc/gtut-files/07-timers_server\r
-doc/gtut-files/08-exceptions_client\r
-doc/gtut-files/08-exceptions_server\r
-doc/gtut-files/09-simpledata_client\r
-doc/gtut-files/09-simpledata_server\r
-doc/gtut-files/10-rpc_client\r
-doc/gtut-files/10-rpc_server\r
-doc/gtut-files/11-explicitwait_client\r
-doc/gtut-files/11-explicitwait_server\r
+################################################
+###OTHER CAT
+*.l[oa]
+*.loT
+*.[oa]
+*~
+*.log
+*_simulator
+*.mk
+*.swp
+*.patch
+*.plist
+*.trace
+
+################################################
+### Maintainer mode
+src/simdag/dax_dtd.l
+src/surf/simgrid_dtd.l
+src/xbt/graphxml.l
+
+################################################
+### Jedule
+examples/simdag/scheduling/simgrid.jed
+teshsuite/simdag/platforms/simgrid.jed
+
+################################################
+### Libraries links 
+src/bindings/ruby/simgrid.so
+examples/ruby/simgrid.so
+examples/lua/simgrid.so
+src/bindings/ruby/libsimgrid.so
+examples/gras/console/simgrid.so
+examples/msg/masterslave/simgrid.so
+examples/simdag/simgrid.so
+
+################################################
+### Units and supernovae files
+src/simgrid_units_main.c
+src/*_unit.c
+src/supernovae_*.c
+
+################################################
+### Generated files
+_*.c
+include/simgrid_config.h
+include/xbt/version.h
+include/instr/tracing_config.h
+include/smpi/smpif.h
+src/context_sysv_config.h
+src/gras_config.h
+src/smpi/smpicc
+src/smpi/smpirun
+simgrid-*.tar.gz
+
+################################################
+### Cmake files
+CPackConfig.cmake
+CPackSourceConfig.cmake
+CTestTestfile.cmake
+conftestval
+cmake_install.cmake
+CMakeFiles
+install_manifest.txt
+_CPack_Packages/
+CMakeFiles
+CMakeCache.txt
+DartConfiguration.tcl
+simgrid.nsi
+Testing/
+Makefile
+bin/
+lib/
+build_dir/
+build/
+buildtools/Cmake/test_prog/prog_va_copy.c
+
+
+################################################
+### windows borland
+*.bpr
+*.bpf
+
+################################################
+### Documentation
+doc/all_bib.html
+doc/logcategories.sh
+doc/realtoc.sh
+doc/tmp.realtoc
+doc/using_bib.html
+doc/Doxyfile
+doc/footer.html
+*.doc.toc
+doc/latex/
+doc/html
+doc/index-API.doc
+doc/index.php
+doc/simgrid.tag
+doc/simgrid_modules.map
+doc/publis_core.bib
+doc/publis_core_bib.html
+doc/publis_count.html
+doc/publis_extern.bib
+doc/publis_extern_bib.html
+doc/publis_intra.bib
+doc/publis_intra_bib.html
+
+################################################
+### Specific of project 
+.cproject
+.project
+.settings/
+.anjuta
+.anjuta_sym_db.db
+simgrid.anjuta
+.externalToolBuilders/
+Debug/
+.emacs.desktop
+tags
+callgrind.out.*
+
+################################################
+### Examples and traces
+*.exe
+testgraph.dot
+testgraph.xml
+examples/msg/ms.trace
+examples/msg/procmig.trace
+examples/msg/tasks.trace
+examples/msg/volume.trace
+examples/msg/zmsg_test.trace
+examples/msg/categories.trace
+examples/msg/masterslave/toto.txt
+examples/msg/simulation.trace
+examples/msg/toto.txt
+examples/msg/z_gtnets.trace
+examples/msg/tracing/procmig
+examples/msg/tracing/tasks
+examples/msg/tracing/volume
+examples/msg/mc/bugged3
+examples/msg/mc/random_test
+examples/msg/chord/chord
+examples/msg/chord/chord*.xml
+examples/msg/token_ring/token_ring
+examples/simdag/ex_sd_seq_access
+examples/simdag/sd_seq_access
+examples/msg/icomms/peer
+examples/msg/icomms/peer2
+examples/gras/console/ping_client_console
+examples/gras/console/ping_server_console
+examples/gras/console/ping_simulator_console
+examples/msg/icomms/.kdbgrc.peer3
+examples/msg/icomms/peer3
+examples/msg/icomms/toto.txt
+examples/msg/masterslave/masterslave_console
+examples/simdag/ex_sd_test_console
+examples/simdag/sd_test_console
+examples/simdag/scheduling/Montage_25.jed
+examples/msg/irc_isend/peer
+examples/msg/irc_isend/toto.txt
+examples/simdag/dot/dot_test
+examples/simdag/dot/dot_test2
+examples/smpi/toto.txt
+examples/java/*/classnoinst.stamp
+examples/amok/bandwidth/bandwidth_maestro
+examples/amok/bandwidth/bandwidth_sensor
+examples/amok/saturate/saturate_maestro
+examples/amok/saturate/saturate_sensor
+examples/gras/all2all/all2all_receiver
+examples/gras/all2all/all2all_sender
+examples/gras/chrono/chrono_multiplier
+examples/gras/mmrpc/mmrpc_client
+examples/gras/mmrpc/mmrpc_server
+examples/gras/mutual_exclusion/simple_token/simple_token_node
+examples/gras/mutual_exclusion/simple_token/simple_token_checker
+examples/gras/ping/ping_client
+examples/gras/ping/ping_server
+examples/gras/ping/ping_checker
+examples/gras/pmm/pmm_master
+examples/gras/pmm/pmm_slave
+examples/gras/properties/properties_alice
+examples/gras/properties/properties_bob
+examples/gras/properties/properties_master
+examples/gras/properties/properties_slave
+examples/gras/rpc/rpc_client
+examples/gras/rpc/rpc_forwarder
+examples/gras/rpc/rpc_server
+examples/gras/spawn/spawn_server
+examples/gras/synchro/synchro_philosopher
+examples/gras/timer/timer_client
+examples/gras/replay/replay_simulator
+examples/gras/replay/replay_master
+examples/gras/replay/replay_worker
+examples/msg/actions/actions
+examples/msg/gtnets/gtnets
+examples/msg/masterslave/masterslave_bypass
+examples/msg/masterslave/masterslave_failure
+examples/msg/masterslave/masterslave_forwarder
+examples/msg/masterslave/masterslave_mailbox
+examples/msg/migration/migration
+examples/msg/parallel_task/parallel_task
+examples/msg/parallel_task/test_ptask
+examples/msg/priority/priority
+examples/msg/properties/msg_prop
+examples/msg/sendrecv/sendrecv
+examples/msg/suspend/suspend
+examples/msg/trace/test_trace_integration
+examples/msg/mc/centralized
+examples/msg/mc/bugged2
+examples/msg/mc/bugged1
+examples/msg/parallel_contexts/pcontexts
+examples/msg/parallel_contexts/pcontexts2
+examples/msg/pmm/msg_pmm
+examples/simdag/ex_sd_test
+examples/simdag/ex_sd_test2
+examples/simdag/metaxml/sd_meta
+examples/simdag/properties/sd_prop
+examples/simdag/sd_test
+examples/simdag/sd_test2
+examples/simdag/dax/dax_test
+examples/simdag/goal/goal_test
+examples/simdag/scheduling/minmin_test
+examples/smpi/reduce
+examples/smpi/bcast
+examples/smpi/bcbench
+examples/smpi/compute
+examples/smpi/compute2
+examples/smpi/compute3
+examples/smpi/first
+examples/smpi/mvmul
+examples/smpi/ring_c
+examples/smpi/second
+examples/smpi/split
+examples/smpi/allreduce
+examples/smpi/pingpong
+examples/smpi/scatter
+examples/smpi/alltoall2
+examples/smpi/alltoall_basic
+examples/smpi/alltoallv
+examples/smpi/sendrecv
+examples/smpi/smpi_sendrecv
+examples/smpi/mc_bugged1
+examples/smpi/mc_bugged2
+src/replay/replay
+src/testall
+teshsuite/gras/datadesc/datadesc_usage
+teshsuite/gras/empty_main/empty_main_function
+teshsuite/gras/msg_handle/msg_handle_client
+teshsuite/gras/msg_handle/msg_handle_server
+teshsuite/gras/small_sleep/log.txt
+teshsuite/gras/small_sleep/small_sleep_function
+teshsuite/gras/modelcheck/modelcheck_checker
+teshsuite/msg/get_sender
+teshsuite/simdag/basic0
+teshsuite/simdag/basic1
+teshsuite/simdag/basic2
+teshsuite/simdag/basic3
+teshsuite/simdag/basic4
+teshsuite/simdag/basic5
+teshsuite/simdag/basic6
+teshsuite/simdag/network/mxn/test_intra_all2all
+teshsuite/simdag/network/mxn/test_intra_independent_comm
+teshsuite/simdag/network/mxn/test_intra_scatter
+teshsuite/simdag/network/p2p/test_latency1
+teshsuite/simdag/network/p2p/test_latency2
+teshsuite/simdag/network/p2p/test_latency3
+teshsuite/simdag/network/p2p/test_latency_bound
+teshsuite/simdag/network/test_reinit_costs
+teshsuite/simdag/platforms/basic_parsing_test
+teshsuite/simdag/platforms/flatifier
+teshsuite/simdag/partask/test_comp_only_par
+teshsuite/simdag/partask/test_comp_only_seq
+teshsuite/xbt/log_large_test
+teshsuite/xbt/parallel_log_crashtest
+testsuite/run_tests
+testsuite/simdag/sd_test
+testsuite/surf/lmm_usage
+testsuite/surf/maxmin_bench
+testsuite/surf/surf_usage
+testsuite/surf/surf_usage2
+testsuite/surf/trace_usage
+testsuite/testgraph.dot
+testsuite/testgraph.xml
+testsuite/xbt/context_usage
+testsuite/xbt/graphxml_usage
+testsuite/xbt/heap_bench
+testsuite/xbt/log_usage
+tools/gras/gras_stub_generator
+tools/tesh/tesh
+examples/msg/tracing/categories
+examples/msg/tracing/ms
+teshsuite/simdag/platforms/is_router_test
+examples/msg/masterslave/masterslave_cluster
+examples/simdag/simdag_tracing
+examples/gras/spawn/spawn_child
+examples/gras/spawn/spawn_father
+examples/smpi/smpi_traced
+examples/smpi/ttest01
+teshsuite/datadesc_usage.out
+test_rl
+test_sg
+examples/smpi/smpi_traced.trace
+examples/simdag/dot/simulate_dot
+teshsuite/simdag/platforms/graphicator
+
+#########################################""
+## tutorial files
+doc/gtut-files/01-bones_client
+doc/gtut-files/01-bones_server
+doc/gtut-files/02-simple_client
+doc/gtut-files/02-simple_server
+doc/gtut-files/03-args_client
+doc/gtut-files/03-args_server
+doc/gtut-files/04-callback_client
+doc/gtut-files/04-callback_server
+doc/gtut-files/05-globals_client
+doc/gtut-files/05-globals_server
+doc/gtut-files/06-logs_client
+doc/gtut-files/06-logs_server
+doc/gtut-files/07-timers_client
+doc/gtut-files/07-timers_server
+doc/gtut-files/08-exceptions_client
+doc/gtut-files/08-exceptions_server
+doc/gtut-files/09-simpledata_client
+doc/gtut-files/09-simpledata_server
+doc/gtut-files/10-rpc_client
+doc/gtut-files/10-rpc_server
+doc/gtut-files/11-explicitwait_client
+doc/gtut-files/11-explicitwait_server
index b3d154b..b9cbe84 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,4 +1,6 @@
-SimGrid (3.7) NOT RELEASED; urgency=low 
+SimGrid (3.7) NOT RELEASED; urgency=low
+
+  The "Simplicity does not preceed complexity, but follows it" release.
 
   Models:
   * Use the partial invalidation optimization by default for the
@@ -11,7 +13,7 @@ SimGrid (3.7) NOT RELEASED; urgency=low
 
   -- $date Da SimGrid team <simgrid-devel@lists.gforge.inria.fr>
 
-SimGrid (3.6.2) stable; urgency=low 
+SimGrid (3.6.2) stable; urgency=low
 
  The "Not coding new stuff allows to polish old things" release.
 
@@ -22,10 +24,10 @@ SimGrid (3.6.2) stable; urgency=low
  * libpcre is now mandatory in any cases since not using it led to
     severe performance loss and possibly other issues
  * Update the XML platforms:
-   - G5K: include the lastest machine in Nancy 
+   - G5K: include the lastest machine in Nancy
    - GridPP and LCG: new platforms
  * Documentation was partially updated, at least (more to come)
-   
+
  Bug fixes, cosmetics and small improvements
  * Free terminated processes before the end of the simulation to avoid
    exhausting the memory of users having very dynamic amount of
@@ -36,8 +38,8 @@ SimGrid (3.6.2) stable; urgency=low
  Portability
  * Create an installer for windows with nsis (amd64 and win32)
    - Add an hello world project to illustrate simgrid project creation.
-   - Embed libpcre into the Simgrid installer to avoid 
-     its compilation burden 
+   - Embed libpcre into the Simgrid installer to avoid
+     its compilation burden
  * The raw execution contextes should work on Apple now
  * Port to Windows 64 bits
     - Sysv contextes now have an implementation for this arch
@@ -51,12 +53,12 @@ SimGrid (3.6.2) stable; urgency=low
  -- Wed Oct  5 15:51:01 CEST 2011 Da SimGrid team <simgrid-devel@lists.gforge.inria.fr>
 
 
-SimGrid (3.6.1) stable; urgency=low 
+SimGrid (3.6.1) stable; urgency=low
 
  The "Oops, we broke Macs too" release
 
  Portability
- * Fixed contextes detection so that raw ones are used when possible   
+ * Fixed contextes detection so that raw ones are used when possible
  * On Mac, do not use Posix Ucontextes with gcc v4.[1-5] since this
    leads to a strange error, with user code segfaulting sometimes when
    the generated code is not perfectly aligned (which is not
@@ -71,14 +73,14 @@ SimGrid (3.6) stable; urgency=medium
 
  The Summer Release, also known as the "OMG! They Killed Kenny!" version
 
- Java and Ruby: 
+ Java and Ruby:
  * Bindings now constitute their own package, separated from the main one.
    Rationale: reduce our maintainance nightmare by reducing the module coupling
-   They will soon be released on their own on gforge. 
+   They will soon be released on their own on gforge.
  * In the meanwhile:
    svn co svn://scm.gforge.inria.fr/svn/simgrid/contrib/trunk/simgrid-java
    svn co svn://scm.gforge.inria.fr/svn/simgrid/contrib/trunk/simgrid-ruby
+
  GRAS: It is not considered as stable anymore, but experimental. Sorry.
  * It's not quite deprecated for now because we have no replacement,
    but it may soon become the case.
@@ -128,7 +130,7 @@ SimGrid (3.6) stable; urgency=medium
    combine Vivaldi based latencies with last-mile platforms.
 
  SIMIX
- * Added a check for NaN of IEEE754 infinite in the double entries of 
+ * Added a check for NaN of IEEE754 infinite in the double entries of
    the smx_user.c file
  * Introduce a new context factory "raw", highly inspirated from the
    ucontext factory, but using manually crafted functions in assembly to
@@ -144,7 +146,7 @@ SimGrid (3.6) stable; urgency=medium
    When nthreads > 1, you can use --cfg=contexts/threshold:P to run the user
    processes in parallel only when their number is greater than or equal to P
    (the default is 2).
- * Added a check for NaN of IEEE754 infinite in the double entries of 
+ * Added a check for NaN of IEEE754 infinite in the double entries of
    the smx_user.c file
 
  XBT
@@ -190,9 +192,9 @@ SimGrid (3.6) stable; urgency=medium
    at the tools directory (fix-paje-trace.sh) can be used to put the events
    in order. We have changed the tracing so it can generate ordered timestamped
    events in the final trace, but depending on the simulator (and how much time
-   is simulated) that can lead to a huge memory utilization. It is desactivated 
+   is simulated) that can lead to a huge memory utilization. It is desactivated
    by default, but it can be activated using the --cfg=tracing/buffer:1 switch.
-   
+
  Build Infrastructure
  * Define a SIMGRID_VERSION macro in simgrid_config.h.
    - We are trying hard to keep the API stable, but it may happen that
@@ -1138,7 +1140,7 @@ SimGrid (3.2) stable; urgency=high
     and (2) msg_size. This was changed to (1) msg_size and (2) amount of
     messages. This was need for the fool willing to send more than MAXINT
     bytes on quite fat pipes.
-       
+
   AMOK:
   * Do really rename the hostmanagement module to peermanagement. [Mt]
     Ie, rename functions from amok_hm_* to amok_pm_*. This breaks the API,
@@ -1216,7 +1218,7 @@ SimGrid (3.1) stable; urgency=high
     directly on top of SURF and provides an API rather close to the old
     SG. Some old codes using SG are currently under rewrite to check that
     all needful functions are provided. [Christophe Thiery]
-       
+
   SURF:
   * Complete rewrite of the KCCFLN05 workstation model. It is now an
     extension of the classical CLM03 model that gracefully handles
@@ -1330,7 +1332,7 @@ SimGrid (3.0.1) stable; urgency=low
   SURF:
   * Add additionnal checkings on communications. Assert that two
     communicating hosts are connected by a set of links... [AL]
-       
+
   MSG:
   * Add additionnal checkings on channel values in communication [AL]
   * New: MSG_task_get_source to see on which host a task was generated [HC]
@@ -1339,7 +1341,7 @@ SimGrid (3.0.1) stable; urgency=low
     by host. [AL]
   * New: MSG_error_t MSG_task_get_from_host(m_task_t * task, int channel, m_host_t host);
     waits for the first task coming from a given host.. [AL]
-       
+
   GRAS new functionnalities: [MQ]
   * Enhance the parsing macro to allow the size of multidimentional objects
     to be given thru annotations.
@@ -1402,7 +1404,7 @@ SimGrid (3.00) stable; urgency=high
   * New! Give the possibility to hijack the surf parser and thus bypass
     MSG_create_environment and MSG_launch_application. Have a look at
     examples/msg/msg_test_surfxml_bypassed.c to see how it can be done.
-       
+
  -- Arnaud Legrand <simgrid-devel@lists.gforge.inria.fr>  Sat, 20 Aug 2005 23:25:25 -0700
 
 SimGrid (2.96) unstable; urgency=low
@@ -1740,7 +1742,7 @@ SimGrid (2.90) unstable; urgency=low
   - Main loop and datastructures of SURF. A cpu resource object is
     functional. Surf can thus be used to create cpu's with variable
     performance on which you can execute some actions.
-       
+
 2004-11-15 Martin Quinson
   - Port to ARM. Simply added the alignment and size descriptions. Should
     work, but the ARM machines are so slow that I didn't had the opportunity
diff --git a/NEWS b/NEWS
index 7c856bf..094dca6 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -4,7 +4,8 @@ __   _____ _ __ ___(_) ___  _ __   |___ /|___  |
  \ V /  __/ |  \__ \ | (_) | | | |  ___) | / /
   \_/ \___|_|  |___/_|\___/|_| |_| |____(_)_/
 
- (still to be done)
+The "Simplicity does not preceed complexity, but follows it" release.
+(still to be done)
                     _               _____  __    ____
 __   _____ _ __ ___(_) ___  _ __   |___ / / /_  |___ \
 \ \ / / _ \ '__/ __| |/ _ \| '_ \    |_ \| '_ \   __) |
index 2a8302a..791d365 100644 (file)
@@ -66,9 +66,9 @@ The tree is not splited on projects, but on file finality:
 Most files use the Kernighan & Ritchie coding style with 2 spaces of
 indentation. The indent program can help you to stick to it:
 
-indent -kr -br -brs -ce -bbo --dont-break-procedure-type --no-tabs
---cuddle-do-while --cuddle-else --indent-level2 --leave-preprocessor-space
---no-space-after-function-call-names <myfile>
+indent -kr -l80 -nut -i2 -lps -npcs -br -brs -ce -cdw -bbo -npsl <myfile>
+
+The script ./tools/indent runs indent with the appropriate options.
 
 FIXME: this list of arguments is still to be discussed, maybe
 
index 375c137..d5d96de 100644 (file)
@@ -104,6 +104,7 @@ ADD_TEST(tesh-simdag-parser ${CMAKE_BINARY_DIR}/bin/tesh ${TESH_OPTION}             --seten
 ADD_TEST(tesh-simdag-parser-sym-full           ${CMAKE_BINARY_DIR}/bin/tesh ${TESH_OPTION}     --setenv bindir=${CMAKE_BINARY_DIR}/teshsuite/simdag/platforms  --cd ${CMAKE_HOME_DIRECTORY}/teshsuite/simdag/platforms basic_parsing_test_sym_full.tesh)
 ADD_TEST(tesh-simdag-flatifier         ${CMAKE_BINARY_DIR}/bin/tesh ${TESH_OPTION}     --setenv bindir=${CMAKE_BINARY_DIR}/teshsuite/simdag/platforms  --cd ${CMAKE_HOME_DIRECTORY}/teshsuite/simdag/platforms flatifier.tesh)
 ADD_TEST(tesh-simdag-full-links                ${CMAKE_BINARY_DIR}/bin/tesh ${TESH_OPTION}     --setenv bindir=${CMAKE_BINARY_DIR}/teshsuite/simdag/platforms  --cd ${CMAKE_HOME_DIRECTORY}/teshsuite/simdag/platforms get_full_link.tesh)
+ADD_TEST(tesh-simdag-parser-bypass ${CMAKE_BINARY_DIR}/bin/tesh ${TESH_OPTION}     --setenv bindir=${CMAKE_BINARY_DIR}/teshsuite/simdag/platforms  --cd ${CMAKE_HOME_DIRECTORY}/teshsuite/simdag/platforms basic_parsing_test_bypass.tesh)
 ADD_TEST(tesh-simdag-basic0            ${CMAKE_BINARY_DIR}/bin/tesh ${TESH_OPTION}     --setenv srcdir=${CMAKE_HOME_DIRECTORY}/teshsuite       --cd ${CMAKE_BINARY_DIR}/teshsuite ${CMAKE_HOME_DIRECTORY}/teshsuite/simdag/basic0.tesh)
 ADD_TEST(tesh-simdag-basic1            ${CMAKE_BINARY_DIR}/bin/tesh ${TESH_OPTION}     --setenv srcdir=${CMAKE_HOME_DIRECTORY}/teshsuite       --cd ${CMAKE_BINARY_DIR}/teshsuite ${CMAKE_HOME_DIRECTORY}/teshsuite/simdag/basic1.tesh)
 ADD_TEST(tesh-simdag-basic2            ${CMAKE_BINARY_DIR}/bin/tesh ${TESH_OPTION}     --setenv srcdir=${CMAKE_HOME_DIRECTORY}/teshsuite       --cd ${CMAKE_BINARY_DIR}/teshsuite ${CMAKE_HOME_DIRECTORY}/teshsuite/simdag/basic2.tesh)
@@ -159,18 +160,16 @@ if(HAVE_RAWCTX)
   ADD_TEST(msg-masterslave-kill-raw            ${CMAKE_BINARY_DIR}/bin/tesh ${TESH_OPTION}     --cfg contexts/factory:raw              --setenv srcdir=${CMAKE_HOME_DIRECTORY}/examples/msg    --cd ${CMAKE_BINARY_DIR}/examples/msg ${CMAKE_HOME_DIRECTORY}/examples/msg/masterslave/masterslave_kill.tesh)
 endif(HAVE_RAWCTX)
 
-if (enable_pcre)
-  ADD_TEST(msg-masterslave-vivaldi-thread      ${CMAKE_BINARY_DIR}/bin/tesh ${TESH_OPTION}     --cfg contexts/factory:thread           --setenv srcdir=${CMAKE_HOME_DIRECTORY}/examples/msg    --cd ${CMAKE_BINARY_DIR}/examples/msg ${CMAKE_HOME_DIRECTORY}/examples/msg/masterslave/masterslave_vivaldi.tesh)
-  ADD_TEST(msg-token-ring-thread       ${CMAKE_BINARY_DIR}/bin/tesh ${TESH_OPTION}     --cfg contexts/factory:thread           --setenv srcdir=${CMAKE_HOME_DIRECTORY}/examples/msg/token_ring         --cd ${CMAKE_BINARY_DIR}/examples/msg/token_ring ${CMAKE_HOME_DIRECTORY}/examples/msg/token_ring/token_ring.tesh)
-  if(HAVE_RAWCTX)
-    ADD_TEST(msg-masterslave-vivaldi-raw               ${CMAKE_BINARY_DIR}/bin/tesh ${TESH_OPTION}     --cfg contexts/factory:raw              --setenv srcdir=${CMAKE_HOME_DIRECTORY}/examples/msg    --cd ${CMAKE_BINARY_DIR}/examples/msg ${CMAKE_HOME_DIRECTORY}/examples/msg/masterslave/masterslave_vivaldi.tesh)
-    ADD_TEST(msg-token-ring-raw                ${CMAKE_BINARY_DIR}/bin/tesh ${TESH_OPTION}     --cfg contexts/factory:raw              --setenv srcdir=${CMAKE_HOME_DIRECTORY}/examples/msg/token_ring         --cd ${CMAKE_BINARY_DIR}/examples/msg/token_ring ${CMAKE_HOME_DIRECTORY}/examples/msg/token_ring/token_ring.tesh)
-  endif(HAVE_RAWCTX)
-  if(HAVE_UCONTEXT_H)
-       ADD_TEST(msg-masterslave-vivaldi-ucontext       ${CMAKE_BINARY_DIR}/bin/tesh ${TESH_OPTION}     --cfg contexts/factory:ucontext         --setenv srcdir=${CMAKE_HOME_DIRECTORY}/examples/msg    --cd ${CMAKE_BINARY_DIR}/examples/msg ${CMAKE_HOME_DIRECTORY}/examples/msg/masterslave/masterslave_vivaldi.tesh)
-       ADD_TEST(msg-token-ring-ucontext        ${CMAKE_BINARY_DIR}/bin/tesh ${TESH_OPTION}     --cfg contexts/factory:ucontext         --setenv srcdir=${CMAKE_HOME_DIRECTORY}/examples/msg/token_ring         --cd ${CMAKE_BINARY_DIR}/examples/msg/token_ring ${CMAKE_HOME_DIRECTORY}/examples/msg/token_ring/token_ring.tesh)
-  endif(HAVE_UCONTEXT_H)
-endif (enable_pcre)
+ADD_TEST(msg-masterslave-vivaldi-thread        ${CMAKE_BINARY_DIR}/bin/tesh ${TESH_OPTION}     --cfg contexts/factory:thread           --setenv srcdir=${CMAKE_HOME_DIRECTORY}/examples/msg    --cd ${CMAKE_BINARY_DIR}/examples/msg ${CMAKE_HOME_DIRECTORY}/examples/msg/masterslave/masterslave_vivaldi.tesh)
+ADD_TEST(msg-token-ring-thread ${CMAKE_BINARY_DIR}/bin/tesh ${TESH_OPTION}     --cfg contexts/factory:thread           --setenv srcdir=${CMAKE_HOME_DIRECTORY}/examples/msg/token_ring         --cd ${CMAKE_BINARY_DIR}/examples/msg/token_ring ${CMAKE_HOME_DIRECTORY}/examples/msg/token_ring/token_ring.tesh)
+if(HAVE_RAWCTX)
+  ADD_TEST(msg-masterslave-vivaldi-raw         ${CMAKE_BINARY_DIR}/bin/tesh ${TESH_OPTION}     --cfg contexts/factory:raw              --setenv srcdir=${CMAKE_HOME_DIRECTORY}/examples/msg    --cd ${CMAKE_BINARY_DIR}/examples/msg ${CMAKE_HOME_DIRECTORY}/examples/msg/masterslave/masterslave_vivaldi.tesh)
+  ADD_TEST(msg-token-ring-raw          ${CMAKE_BINARY_DIR}/bin/tesh ${TESH_OPTION}     --cfg contexts/factory:raw              --setenv srcdir=${CMAKE_HOME_DIRECTORY}/examples/msg/token_ring         --cd ${CMAKE_BINARY_DIR}/examples/msg/token_ring ${CMAKE_HOME_DIRECTORY}/examples/msg/token_ring/token_ring.tesh)
+endif(HAVE_RAWCTX)
+if(HAVE_UCONTEXT_H)
+       ADD_TEST(msg-masterslave-vivaldi-ucontext       ${CMAKE_BINARY_DIR}/bin/tesh ${TESH_OPTION}     --cfg contexts/factory:ucontext         --setenv srcdir=${CMAKE_HOME_DIRECTORY}/examples/msg    --cd ${CMAKE_BINARY_DIR}/examples/msg ${CMAKE_HOME_DIRECTORY}/examples/msg/masterslave/masterslave_vivaldi.tesh)
+       ADD_TEST(msg-token-ring-ucontext        ${CMAKE_BINARY_DIR}/bin/tesh ${TESH_OPTION}     --cfg contexts/factory:ucontext         --setenv srcdir=${CMAKE_HOME_DIRECTORY}/examples/msg/token_ring         --cd ${CMAKE_BINARY_DIR}/examples/msg/token_ring ${CMAKE_HOME_DIRECTORY}/examples/msg/token_ring/token_ring.tesh)
+endif(HAVE_UCONTEXT_H)
 
 ADD_TEST(msg-masterslave-multicore-thread      ${CMAKE_BINARY_DIR}/bin/tesh ${TESH_OPTION}     --cfg contexts/factory:thread           --setenv srcdir=${CMAKE_HOME_DIRECTORY}/examples/msg    --cd ${CMAKE_BINARY_DIR}/examples/msg ${CMAKE_HOME_DIRECTORY}/examples/msg/masterslave/masterslave_multicore.tesh)
 ADD_TEST(msg-migration-thread  ${CMAKE_BINARY_DIR}/bin/tesh ${TESH_OPTION}     --cfg contexts/factory:thread           --setenv srcdir=${CMAKE_HOME_DIRECTORY}/examples/msg    --cd ${CMAKE_BINARY_DIR}/examples/msg ${CMAKE_HOME_DIRECTORY}/examples/msg/migration/migration.tesh)
index 35e004b..6e833ce 100644 (file)
@@ -18,6 +18,10 @@ if(enable_compile_warnings AND enable_compile_optimizations)
        SET(BUILDNAME "FULL_FLAGS" CACHE TYPE INTERNAL FORCE)
 endif(enable_compile_warnings AND enable_compile_optimizations)
 
+if(enable_supernovae)
+       SET(BUILDNAME "SUPERNOVAE" CACHE TYPE INTERNAL FORCE)
+endif(enable_supernovae)
+
 if(HAVE_GTNETS)
        SET(BUILDNAME "GTNETS" CACHE TYPE INTERNAL FORCE)
 endif(HAVE_GTNETS)
index 36c3303..1f422e1 100644 (file)
@@ -808,6 +808,9 @@ ${CMAKE_BINARY_DIR}/bin/smpirun
 ${CMAKE_BINARY_DIR}/bin/colorize
 ${CMAKE_BINARY_DIR}/bin/simgrid_update_xml
 ${CMAKE_BINARY_DIR}/examples/smpi/smpi_traced.trace
+${CMAKE_BINARY_DIR}/src/supernovae_sg.c
+${CMAKE_BINARY_DIR}/src/supernovae_gras.c
+${CMAKE_BINARY_DIR}/src/supernovae_smpi.c
 )
 
 if("${CMAKE_BINARY_DIR}" STREQUAL "${CMAKE_HOME_DIRECTORY}")
index 4a71b6c..e2e3abb 100644 (file)
@@ -49,12 +49,13 @@ set(EXTRA_DIST
        src/surf/gtnets/gtnets_topology.h
        src/surf/cpu_ti_private.h
        src/surf/surf_routing_private.h
+       src/include/simgrid/platf_interface.h
        src/include/surf/surf_resource.h
        src/include/surf/datatypes.h
        src/include/surf/maxmin.h
        src/include/surf/trace_mgr.h
        src/include/surf/surf.h
-       src/include/surf/surfxml_parse_private.h
+       src/include/surf/surfxml_parse_values.h
        src/include/surf/random_mgr.h
        src/include/surf/surf_resource_lmm.h
        src/include/xbt/wine_dbghelp.h
@@ -63,8 +64,8 @@ set(EXTRA_DIST
        src/include/mc/datatypes.h
        src/include/mc/mc.h
        src/include/simix/context.h
-       src/msg/private.h
-       src/msg/mailbox.h
+       src/msg/msg_private.h
+       src/msg/msg_mailbox.h
        src/simdag/private.h
        src/simdag/dax.dtd
        src/simdag/dax_dtd.h
@@ -88,6 +89,7 @@ set(EXTRA_DIST
        src/smpi/private.h
        src/smpi/smpi_mpi_dt_private.h
        src/smpi/README
+       src/mk_supernovae.pl
        
        examples/gras/ping/ping.h
        examples/gras/console/ping.h
@@ -208,11 +210,14 @@ set(SURF_SRC
        src/surf/surf_model.c
        src/surf/surf_action.c
        src/surf/surf_routing.c
+       src/surf/surf_routing_none.c
+       src/surf/surf_routing_generic.c
        src/surf/surf_routing_full.c
        src/surf/surf_routing_floyd.c
        src/surf/surf_routing_rulebased.c
        src/surf/surf_routing_dijkstra.c
-       src/surf/surf_routing_none.c
+       src/surf/surf_routing_cluster.c
+       src/surf/surf_routing_vivaldi.c
        src/surf/surf_config.c
        src/surf/maxmin.c
        src/surf/fair_bottleneck.c
@@ -221,6 +226,7 @@ set(SURF_SRC
        src/surf/random_mgr.c
        src/surf/surf.c
        src/surf/surfxml_parse.c
+       src/surf/surfxml_parseplatf.c
        src/surf/cpu.c
        src/surf/network.c
        src/surf/network_im.c
@@ -229,6 +235,7 @@ set(SURF_SRC
        src/surf/workstation_ptask_L07.c
        src/surf/cpu_ti.c
        src/surf/cpu_im.c
+       src/surf/sg_platf.c
        src/xbt/xbt_sg_stubs.c
 )
 
@@ -249,13 +256,13 @@ set(SIMIX_SRC
 
 set(MSG_SRC
        src/msg/msg_config.c
-       src/msg/task.c
-       src/msg/host.c
-       src/msg/m_process.c
-       src/msg/gos.c
-       src/msg/global.c
-       src/msg/environment.c
-       src/msg/deployment.c
+       src/msg/msg_task.c
+       src/msg/msg_host.c
+       src/msg/msg_process.c
+       src/msg/msg_gos.c
+       src/msg/msg_global.c
+       src/msg/msg_environment.c
+       src/msg/msg_deployment.c
        src/msg/msg_mailbox.c
        src/msg/msg_actions.c
 )
@@ -408,6 +415,7 @@ set(headers_to_install
        include/xbt/parmap.h
        include/xbt/automaton.h
        include/xbt/automatonparse_promela.h
+       include/simgrid/platf.h
        include/mc/modelchecker.h
        include/msg/msg.h
        include/msg/datatypes.h
index 42b9032..9aea98e 100644 (file)
@@ -16,14 +16,16 @@ install(DIRECTORY "${CMAKE_HOME_DIRECTORY}/doc/html/"
 
 #### Generate the manpages
 if( NOT MANPAGE_DIR )
-       set( MANPAGE_DIR $ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/share/man/share/man/man1 )
+       set( MANPAGE_DIR ${CMAKE_BINARY_DIR}/manpages )
 endif( NOT MANPAGE_DIR)
 
-add_custom_target(TARGET install
+add_custom_target(manpages ALL
         COMMAND ${CMAKE_COMMAND} -E make_directory ${MANPAGE_DIR}
-       COMMAND pod2man tools/simgrid_update_xml.pl > ${MANPAGE_DIR}/simgrid_update_xml.1
+       COMMAND pod2man ${CMAKE_HOME_DIRECTORY}/tools/simgrid_update_xml.pl > ${MANPAGE_DIR}/simgrid_update_xml.1
        COMMENT "Generating manpages"
 )
+install(FILES ${MANPAGE_DIR}/simgrid_update_xml.1
+        DESTINATION $ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/usr/share/man/man1)
 
 # binaries
 install(PROGRAMS ${CMAKE_BINARY_DIR}/bin/smpicc
@@ -306,6 +308,13 @@ COMMAND ${CMAKE_COMMAND} -E remove -f src/xbt_synchro_unit.c
 WORKING_DIRECTORY "${CMAKE_HOME_DIRECTORY}"
 )
 
+add_custom_target(supernovae-clean
+COMMAND ${CMAKE_COMMAND} -E remove -f src/supernovae_gras.c
+COMMAND ${CMAKE_COMMAND} -E remove -f src/supernovae_sg.c
+COMMAND ${CMAKE_COMMAND} -E remove -f src/supernovae_smpi.c
+WORKING_DIRECTORY "${CMAKE_HOME_DIRECTORY}"
+)
+
 #############################################
 ### Fill in the "make sync-gforge" target ###
 #############################################
@@ -314,8 +323,8 @@ add_custom_target(sync-gforge-doc
 COMMAND chmod g+rw -R doc/
 COMMAND chmod a+rX -R doc/
 COMMAND rsync --verbose --cvs-exclude --compress --delete --delete-excluded --rsh=ssh --ignore-times --recursive --links --perms --times --omit-dir-times 
-doc/html/ scm.gforge.inria.fr:/home/groups/simgrid/htdocs/${release_version}/doc/ || true
-COMMAND scp doc/html/simgrid_modules2.png doc/html/simgrid_modules.png doc/webcruft/simgrid_logo.png  doc/webcruft/simgrid_logo_small.png scm.gforge.inria.fr:/home/groups/simgrid/htdocs/${release_version}/
+doc/html/ scm.gforge.inria.fr:/home/groups/simgrid/htdocs/simgrid/${release_version}/doc/ || true
+COMMAND scp doc/html/simgrid_modules2.png doc/html/simgrid_modules.png doc/webcruft/simgrid_logo.png  doc/webcruft/simgrid_logo_small.png scm.gforge.inria.fr:/home/groups/simgrid/htdocs/simgrid/${release_version}/
 WORKING_DIRECTORY "${CMAKE_HOME_DIRECTORY}"
 )
 add_dependencies(sync-gforge-doc simgrid_documentation)
index 983b40c..57f3d70 100644 (file)
@@ -10,12 +10,12 @@ else(NOT __VISUALC__ AND NOT __BORLANDC__)
 endif(NOT __VISUALC__ AND NOT __BORLANDC__)
 
 if(enable_compile_warnings)
-       set(warnCFLAGS "-Wall -Wunused -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wcomment -Wformat -Wwrite-strings -Wno-unused-function -Wno-unused-parameter -Wno-strict-aliasing -Wno-format-nonliteral -Werror ")
+       set(warnCFLAGS "-Wall -Wunused -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wcomment -Wformat -Wwrite-strings -Werror=clobbered -Wno-unused-function -Wno-unused-parameter -Wno-strict-aliasing -Wno-format-nonliteral -Werror ")
 endif(enable_compile_warnings)
 
-#if(enable_compile_warnings AND COMPILER_C_VERSION_MAJOR_MINOR MATCHES "4.6")
-#    set(warnCFLAGS "${warnCFLAGS} -Wno-error=unused-but-set-variable ")
-#endif(enable_compile_warnings AND COMPILER_C_VERSION_MAJOR_MINOR MATCHES "4.6")
+if(COMPILER_C_VERSION_MAJOR_MINOR STRGREATER "4.5")
+       set(warnCFLAGS "${warnCFLAGS} -Wno-error=unused-but-set-variable ")
+endif(COMPILER_C_VERSION_MAJOR_MINOR STRGREATER "4.5")
 
 if(enable_compile_optimizations)
        set(optCFLAGS "-O3 -finline-functions -funroll-loops -fno-strict-aliasing ")
@@ -54,6 +54,6 @@ if(enable_coverage)
                set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fprofile-arcs -ftest-coverage")
                set(TESH_OPTION --enable-coverage)
                add_definitions(-fprofile-arcs -ftest-coverage)
-               endif(GCOV_PATH)
+       endif(GCOV_PATH)
 endif(enable_coverage)
 
index 1e152f7..56acede 100644 (file)
@@ -36,6 +36,7 @@ if(DOXYGEN_PATH AND FIG2DEV_PATH AND BIBTEX2HTML_PATH AND GOOD_BIBTEX2HTML_VERSI
 
        set(DOC_PNGS 
                ${CMAKE_HOME_DIRECTORY}/doc/webcruft/simgrid_logo.png
+               ${CMAKE_HOME_DIRECTORY}/doc/webcruft/simgrid_logo_2011.png
                ${CMAKE_HOME_DIRECTORY}/doc/webcruft/simgrid_logo_small.png
                ${CMAKE_HOME_DIRECTORY}/doc/webcruft/poster_thumbnail.png
                ${CMAKE_HOME_DIRECTORY}/doc/webcruft/win_install_01.png
index b6de4e9..9bc0d11 100644 (file)
@@ -3,6 +3,9 @@
 ###############################
 # Declare the library content #
 ###############################
+# If we want supernovae, rewrite the libs' content to use it
+include(${CMAKE_HOME_DIRECTORY}/buildtools/Cmake/Supernovae.cmake)
+
 # Actually declare our libraries
 
 add_library(simgrid SHARED ${simgrid_sources})
@@ -26,9 +29,25 @@ endif(enable_smpi)
 add_dependencies(gras maintainer_files)
 add_dependencies(simgrid maintainer_files)                             
 
+# if supernovaeing, we need some depends to make sure that the source gets generated
+if (enable_supernovae)
+       add_dependencies(simgrid ${CMAKE_CURRENT_BINARY_DIR}/src/supernovae_sg.c)
+       if(enable_lib_static)
+               add_dependencies(simgrid_static ${CMAKE_CURRENT_BINARY_DIR}/src/supernovae_sg.c)
+       endif(enable_lib_static)
+       add_dependencies(gras ${CMAKE_CURRENT_BINARY_DIR}/src/supernovae_gras.c)
+
+       if(enable_smpi)
+               add_dependencies(smpi ${CMAKE_CURRENT_BINARY_DIR}/src/supernovae_smpi.c)
+               if(enable_lib_static)
+                       add_dependencies(smpi_static ${CMAKE_CURRENT_BINARY_DIR}/src/supernovae_smpi.c)
+               endif(enable_lib_static)
+       endif(enable_smpi)
+endif(enable_supernovae)       
+
 # Compute the dependencies of GRAS
 ##################################
-set(GRAS_DEP "-lm -lpthread")
+set(GRAS_DEP "-lm -pthread")
 
 if(HAVE_POSIX_GETTIME)
        SET(GRAS_DEP "${GRAS_DEP} -lrt")
@@ -51,7 +70,7 @@ set(SIMGRID_DEP "-lm -lpcre")
 
 if(pthread)
        if(${CONTEXT_THREADS})
-               SET(SIMGRID_DEP "${SIMGRID_DEP} -lpthread")
+               SET(SIMGRID_DEP "${SIMGRID_DEP} -pthread")
        endif(${CONTEXT_THREADS})       
 endif(pthread)
 
@@ -101,7 +120,7 @@ if(HAVE_NS3)
            set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -D_NS3_3_10")
            set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -D_NS3_3_10")
        else(${NS3_VERSION} EQUAL 310)
-           SET(SIMGRID_DEP "${SIMGRID_DEP} -lns3-core -lns3-csma -lns3-point-to-point")
+           SET(SIMGRID_DEP "${SIMGRID_DEP} -lns3-core -lns3-csma -lns3-point-to-point -lns3-internet -lns3-applications")
        endif(${NS3_VERSION} EQUAL 310)
 endif(HAVE_NS3)
 
index 3bbf48e..c8e34bb 100644 (file)
@@ -103,4 +103,8 @@ if(HAVE_NS3)
        endif(NOT operation)            
 else(HAVE_NS3)
     message(STATUS "Warning: To use NS-3 Please install ns3 at least version 3.10 (http://www.nsnam.org/releases/)")
-endif(HAVE_NS3)
\ No newline at end of file
+endif(HAVE_NS3)
+
+if(HAVE_NS3 AND enable_supernovae)
+    set(enable_supernovae OFF)
+endif(HAVE_NS3 AND enable_supernovae)
\ No newline at end of file
index f17905e..de8377d 100644 (file)
@@ -32,6 +32,14 @@ option(enable_print_message "Enable print message during config." off)
 option(enable_model-checking "" off)
 option(enable_lib_static "" off)
 option(enable_jedule "Jedule output of SimDAG." off)
+option(enable_debug "Set NDEBUG flag" on)
+option(enable_supernovae "Whether Supernovae mode (helping compiler optimization) is activated." on)
+
+if(enable_supernovae AND enable_model-checking)
+       set(enable_model-checking false CACHE TYPE INTERNAL FORCE)
+       message("\n\nWith supernovae mode the model checking must be disable.!!!\n\n")
+endif(enable_supernovae AND enable_model-checking)
+
 
 mark_as_advanced(HAVE_SSH)
 mark_as_advanced(HAVE_RSYNC)
index 4b541a8..5b9912f 100644 (file)
@@ -98,6 +98,7 @@ message("     Compile Smpi   :        ${enable_smpi}")
 message("      Compile Static :        ${enable_lib_static}")
 message("")
 message("      Maintainer mode:        ${enable_maintainer_mode}")
+message("      Supernovae mode:        ${enable_supernovae}")
 message("      Model checking :        ${enable_model-checking}")
 message("      Tracing mode   :        ${enable_tracing}")
 message("      Jedule  mode   :        ${enable_jedule}")
diff --git a/buildtools/Cmake/Supernovae.cmake b/buildtools/Cmake/Supernovae.cmake
new file mode 100644 (file)
index 0000000..4e7c2f9
--- /dev/null
@@ -0,0 +1,69 @@
+### Make supernovae files and libs
+
+#############################################################################
+### Add here every files that should not be supernovaed (generated files) ###
+#############################################################################
+set(simgrid_fragile_sources 
+       src/gras/DataDesc/ddt_parse.yy.c
+       src/surf/surfxml_parse.c
+       src/xbt/graphxml_parse.c
+       src/simdag/sd_daxloader.c
+       ${GTNETS_USED}
+)
+set(gras_fragile_sources
+       src/gras/DataDesc/ddt_parse.yy.c
+       src/xbt/graphxml_parse.c
+)
+
+#####################################################
+### END OF CONFIGURATION, NO NEED TO READ FURTHER ###
+#####################################################
+
+### Rebuild the supernovae source files
+if (enable_supernovae) # I need supernovae
+
+       # supernovae files are generated. I promise
+       set_source_files_properties(${CMAKE_CURRENT_BINARY_DIR}/src/supernovae_sg.c
+                                     PROPERTIES GENERATED true)
+       set_source_files_properties(${CMAKE_CURRENT_BINARY_DIR}/src/supernovae_gras.c
+                                     PROPERTIES GENERATED true)
+       set_source_files_properties(${CMAKE_CURRENT_BINARY_DIR}/src/supernovae_smpi.c
+                                     PROPERTIES GENERATED true)
+
+       ADD_CUSTOM_COMMAND(
+               OUTPUT   ${CMAKE_CURRENT_BINARY_DIR}/src/supernovae_sg.c
+               DEPENDS  ${CMAKE_HOME_DIRECTORY}/src/mk_supernovae.pl ${simgrid_sources}
+               COMMAND  perl ${CMAKE_HOME_DIRECTORY}/src/mk_supernovae.pl --out=${CMAKE_CURRENT_BINARY_DIR}/src/supernovae_sg.c '--fragile=${simgrid_fragile_sources}' '${simgrid_sources}'
+               WORKING_DIRECTORY ${CMAKE_HOME_DIRECTORY}
+               COMMENT "Generating supernovae_sg.c"
+       )
+
+       ADD_CUSTOM_COMMAND(
+               OUTPUT   ${CMAKE_CURRENT_BINARY_DIR}/src/supernovae_gras.c
+               DEPENDS  ${CMAKE_HOME_DIRECTORY}/src/mk_supernovae.pl ${gras_sources}
+               COMMAND  perl ${CMAKE_HOME_DIRECTORY}/src/mk_supernovae.pl --out=${CMAKE_CURRENT_BINARY_DIR}/src/supernovae_gras.c '--fragile=${gras_fragile_sources}'    '${gras_sources}'
+               WORKING_DIRECTORY ${CMAKE_HOME_DIRECTORY}
+               COMMENT "Generating supernovae_gras.c"
+       )
+
+       ADD_CUSTOM_COMMAND(
+               OUTPUT   ${CMAKE_CURRENT_BINARY_DIR}/src/supernovae_smpi.c
+               DEPENDS  ${CMAKE_HOME_DIRECTORY}/src/mk_supernovae.pl ${SMPI_SRC}
+               COMMAND  perl ${CMAKE_HOME_DIRECTORY}/src/mk_supernovae.pl --out=${CMAKE_CURRENT_BINARY_DIR}/src/supernovae_smpi.c  '${SMPI_SRC}'
+               WORKING_DIRECTORY ${CMAKE_HOME_DIRECTORY}
+               COMMENT "Generating supernovae_smpi.c"
+       )
+
+       ### Change the content of the libraries so that it contains only supernovae+fragiles
+       set(simgrid_sources 
+               ${CMAKE_CURRENT_BINARY_DIR}/src/supernovae_sg.c
+               ${simgrid_fragile_sources})
+
+       set(gras_sources
+               ${CMAKE_CURRENT_BINARY_DIR}/src/supernovae_gras.c 
+               ${gras_fragile_sources})                
+
+       set(SMPI_SRC 
+               ${CMAKE_CURRENT_BINARY_DIR}/src/supernovae_smpi.c)
+                               
+endif(enable_supernovae) # I need supernovae
index f5009f3..08fdad0 100644 (file)
@@ -235,7 +235,7 @@ sub get_switch {
                                                {
                                                        if(!($radical =~ /^$/))
                                                        {
-                                                               $radical = $radical.";";
+                                                               $radical = $radical.",";
                                                        }
                                                        $radical = $radical.$deb."-".$fin;
                                                        $deb = $num[$i];
@@ -243,7 +243,7 @@ sub get_switch {
                                                }
                                                else
                                                {
-                                                       $radical=$radical.";".$num[$i];
+                                                       $radical=$radical.",".$num[$i];
                                                }
                        
                                        }
index ece91f7..6ee5e4c 100755 (executable)
@@ -3,164 +3,147 @@ use strict;
 
 # input file = AddTest.txt
 
-if($#ARGV!=1) {
+if ( $#ARGV != 1 ) {
     die "Usage: generate_memcheck_tests.pl <CMAKE_HOME_DIRECTORY> AddTests.cmake\n";
 }
 
-my($proj_dir)=$ARGV[0];
+my ($proj_dir) = $ARGV[0];
 open MAKETEST, $ARGV[1] or die "Unable to open $ARGV[1]. $!\n";
 
-my(@test_list)=();
-my($nb_test)=0;
-my($line);
-my($path);
-my($dump)=0;
-my($srcdir);
-my($bindir);
-my($tesh_file);
-my($config_var);
-my($name_test);
+sub var_subst {
+    my ($text, $name, $value) = @_;
+    if ($value) {
+        $text =~ s/\${$name(?::=[^}]*)?}/$value/g;
+        $text =~ s/\$$name(\W|$)/$value$1/g;
+    }
+    else {
+        $text =~ s/\${$name:=([^}]*)}/$1/g;
+        $text =~ s/\${$name}//g;
+        $text =~ s/\$$name(\W|$)/$1/g;
+    }
+    return $text;
+}
+
+my (@test_list) = ();
+my ($nb_test)   = 0;
+my ($line);
+my ($path);
+my ($dump) = 0;
+my ($srcdir);
+my ($bindir);
+my ($tesh_file);
+my ($config_var);
+my ($name_test);
 
-while(defined($line=<MAKETEST>))
-{
+while ( defined( $line = <MAKETEST> ) ) {
     chomp $line;
-    if($line =~ /BEGIN TESH TESTS/) {
-               $dump = 1;
-               next;
-           } 
-    if($line =~ /END TESH TESTS/) {
-               $dump = 0;
-               last;
-           }
-    if($dump) 
-    {
-               if($line =~ /ADD_TEST/) 
-               {       $srcdir = "";
-                       $bindir = "";
-                       $config_var = "";
-                       $path = "";
-                       $nb_test++;
-                       $tesh_file = "";
-                       $name_test = "";
-                       
-                       if($line =~ /ADD_TEST\(([\S]+)/)
-                       {
-                               $name_test =($1);
-                       }
-                       if($line =~ /--cfg\s*\t*(\S*)/)
-                       {
-                               $config_var = "--cfg=$1 $config_var";
-                       }
-                       if($line =~ /--cd\s*(\S+)/)
-                       {
-                               $path=($1);
-                               $path=~ s/\"//g;
-#                              $path =~ s/\$\{CMAKE_BINARY_DIR\}/$proj_dir/g;
-                               $path =~ s/\$\{CMAKE_HOME_DIRECTORY\}/$proj_dir/g;
-                       }
-                       if($line =~ /--setenv\s*\t*(\S*)\=(\S*)/)
-                       {
-                               my($env_var,$value_var)=($1,$2);
-                               $value_var =~ s/\$\{CMAKE_BINARY_DIR\}/$proj_dir/g;
-                               $value_var =~ s/\$\{CMAKE_HOME_DIRECTORY\}/$proj_dir/g;
-                               if($env_var =~ /srcdir/)
-                               {
-                                       $srcdir = $value_var;
-                               }
-                               if($env_var =~ /bindir/)
-                               {
-                                       $bindir = $value_var;                                   
-                               }
-                       }
-                       if($line =~ /([\S]+)[)]$/)
-                       {
-                               $tesh_file =($1);
-                               $tesh_file =~ s/\${CMAKE_HOME_DIRECTORY}/$proj_dir/g;
-                               if ( -e "$tesh_file")
-                               {
-                                       
-                               }
-                               elsif( -e "$path/$tesh_file")
-                               {
-                                       $tesh_file = "$path\/$tesh_file";
-                                       
-                               }
-                               else
-                               {
-                                       print "tesh_file : $tesh_file not exists!\n";
-                                       print "tesh_file : $path\/$tesh_file not exists!\n";
-                                       die;
-                               }
-                               
-                       }
-                       
-#                      print "test_name = $name_test\n";
-#                      print "$config_var\n";
-#                      print "path = $path\n";
-#                      print "srcdir=$srcdir\n";
-#                      print "bindir=$bindir\n";
-#                      print "tesh_file = $tesh_file\n";
-#                      print "\n\n";
-                       
-                       my($count)=0;
-                       my($count_first)=0;
-                       my($count_second)=0;
-                       open TESH_FILE, $tesh_file or die "Unable to open $tesh_file $!\n";
-                       my($l);
-                       while(defined($l=<TESH_FILE>))
-                       {
-                           chomp $l;
-                           if($l =~ /^\$ (.*)$/) 
-                           {
-                               my($command) = $1;
-                               $command =~ s/\${srcdir:=.}/$srcdir/g;
-                               $command =~ s/\${bindir:=.}/$bindir/g;
-                               $command =~ s/\${EXEEXT:=}//g;
-                               $command =~ s/\$SG_TEST_EXENV //g;
-                               $command =~ s/\$SG_TEST_ENV //g;
-                               $command =~ s/\$SG_EXENV_TEST //g; 
-                               $command =~ s/\$EXEEXT//g;
-                               $command =~ s/\${EXEEXT}//g;
-                               $command =~ s/\${srcdir}/\${CMAKE_HOME_DIRECTORY}\/src/g;
-                               $command =~ s/ \$ARGS//g;
-                               $command =~ s/ \$@ //g; 
-                               $command =~ s/..\/..\/bin\/smpirun/\${CMAKE_BINARY_DIR\}\/bin\/smpirun/g;
-                if($command =~ /^[^\/\$\s]+\//) {
-                       $command = $path."/".$command;
-                       $command =~ s/\/(.?\/)+/\//g;
+    if ( $line =~ /BEGIN TESH TESTS/ ) {
+        $dump = 1;
+        next;
+    }
+    if ( $line =~ /END TESH TESTS/ ) {
+        $dump = 0;
+        last;
+    }
+    if ($dump) {
+        if ( $line =~ /ADD_TEST\(\S+\s+\S*\/tesh\s/ ) {
+            $srcdir     = "";
+            $bindir     = "";
+            $config_var = "";
+            $path       = "";
+            $nb_test++;
+            $tesh_file = "";
+            $name_test = "";
+
+            if ( $line =~ /ADD_TEST\((\S+)/ ) {
+                $name_test = ($1);
+            }
+            while ( $line =~ /--cfg\s+(\S+)/g ) {
+                $config_var = "--cfg=$1 $config_var";
+            }
+            while ( $line =~ /--cd\s+(\S+)/g ) {
+                $path = ($1);
+                $path =~ s/\"//g;
+            }
+            while ( $line =~ /--setenv\s+(\S+)\=(\S+)/g ) {
+                my ( $env_var, $value_var ) = ( $1, $2 );
+                if ( $env_var =~ /srcdir/ ) {
+                    $srcdir = $value_var;
                 }
-                $command =~ s/$proj_dir/\$\{CMAKE_BINARY_DIR\}/g;
-                if ($config_var)
-                {
-                       $command = "$command $config_var";
+                elsif ( $env_var =~ /bindir/ ) {
+                    $bindir = $value_var;
                 }
-                               print "ADD_TEST(memcheck-$name_test-$count $command --cd $path\/)\n";
-                               #push @test_list, "memcheck-$name_test-$count";
-                               $count++;
-                           }
-                           if($l =~ /^\& (.*)$/) 
-                           {
-                               last;
-                           }
-                       }
-                       close(TESH_FILE);
-               } 
-               elsif($line =~ /set_tests_properties/)
-               {
-                       if($line =~ /set_tests_properties\(([\S]+)/)
-                       {
-                               my($name_temp)=($1);
-                               $line =~ s/$name_temp/memcheck-$name_temp-0/g;
-                               print $line."\n";
-                       }
-               }
-               else
-               {
-                   print $line."\n";
-               }
-       }   
+            }
+            if ( $line =~ /(\S+)\)$/ ) {
+                $tesh_file = $1;
+                $tesh_file =~ s/^[^\/\$]/$path\/$&/;
+                $tesh_file =~ s/\${CMAKE_HOME_DIRECTORY}/$proj_dir/g;
+                if ( ! -e "$tesh_file" ) {
+                    print "tesh_file : $tesh_file not exists!\n";
+                    die;
+                }
+            }
+
+            if (0) {
+                print "test_name = $name_test\n";
+                print "$config_var\n";
+                print "path = $path\n";
+                print "srcdir=$srcdir\n";
+                print "bindir=$bindir\n";
+                print "tesh_file = $tesh_file\n";
+                print "\n\n";
+            }
+
+            my ($count)        = 0;
+            my ($count_first)  = 0;
+            my ($count_second) = 0;
+            open TESH_FILE, $tesh_file or die "Unable to open $tesh_file $!\n";
+            my ($l);
+            while ( defined( $l = <TESH_FILE> ) ) {
+                chomp $l;
+                if ( $l =~ /^\$ (.*)$/ ) {
+                    my ($command) = $1;
+                    $command = var_subst($command, "srcdir", $srcdir);
+                    $command = var_subst($command, "bindir", $bindir);
+                    $command = var_subst($command, "EXEEXT", "");
+                    $command = var_subst($command, "SG_TEST_EXENV", "");
+                    $command = var_subst($command, "SG_TEST_ENV", "");
+                    $command = var_subst($command, "SG_EXENV_TEST", "");
+                    $command = var_subst($command, "ARGS", "");
+                    $command =~ s/\$@//g;
+#                    $command =~ s/..\/..\/bin\/smpirun/\${CMAKE_BINARY_DIR\}\/bin\/smpirun/g;
+                    $command =~ s/^\s+//;
+                    $command =~ s/^[^\/\$]\S*\//$path\/$&/;
+                    $command =~ s/^(\S*\/)(?:\.\/)+/$1/g;
+
+                    if ($config_var) {
+                        $command = "$command $config_var";
+                    }
+                    print "ADD_TEST(memcheck-$name_test-$count $command --cd $path\/)\n";
+
+                    #push @test_list, "memcheck-$name_test-$count";
+                    $count++;
+                }
+                if ( $l =~ /^\& (.*)$/ ) {
+                    last;
+                }
+            }
+            close(TESH_FILE);
+        }
+        elsif ( $line =~ /set_tests_properties/ ) {
+            if ( $line =~ /set_tests_properties\(([\S]+)/ ) {
+                my ($name_temp) = ($1);
+                $line =~ s/$name_temp/memcheck-$name_temp-0/g;
+                print $line. "\n";
+            }
+        }
+        else {
+            print $line. "\n";
+        }
+    }
 }
 close(MAKETEST);
+
 #print "nb_test = $nb_test\n";
 #print "set(MEMCHECK_LIST\n";
 #print (join("\n", @test_list));
index 0c24cd0..01ed30e 100644 (file)
@@ -1,4 +1,8 @@
 
+# test for code coverage
+ADD_TEST(help ${CMAKE_BINARY_DIR}/teshsuite/simdag/platforms/basic_parsing_test --help)
+ADD_TEST(help-models ${CMAKE_BINARY_DIR}/teshsuite/simdag/platforms/basic_parsing_test --help-models)
+
 # teshsuite/xbt
 ADD_TEST(memcheck-tesh-log-large-0 ${CMAKE_BINARY_DIR}/teshsuite/xbt/log_large_test "--log=root.fmt:%m%n" --cd ${CMAKE_BINARY_DIR}/teshsuite/)
 ADD_TEST(memcheck-tesh-log-large-1 ${CMAKE_BINARY_DIR}/teshsuite/xbt/log_large_test "--log=root.fmt:%m%n"  --cd ${CMAKE_BINARY_DIR}/teshsuite/)
@@ -9,544 +13,475 @@ ADD_TEST(memcheck-tesh-gras-dd-mem-0 ${CMAKE_BINARY_DIR}/teshsuite/gras/datadesc
 ADD_TEST(memcheck-tesh-gras-dd-rw-0 rm -f datadesc_usage.out --cd ${CMAKE_BINARY_DIR}/teshsuite/)
 ADD_TEST(memcheck-tesh-gras-dd-rw-1 ${CMAKE_BINARY_DIR}/teshsuite/gras/datadesc/datadesc_usage --write "--log=root.fmt:%m%n" --cd ${CMAKE_BINARY_DIR}/teshsuite/)
 ADD_TEST(memcheck-tesh-gras-dd-rw-2 ${CMAKE_BINARY_DIR}/teshsuite/gras/datadesc/datadesc_usage --read "--log=root.fmt:%m%n" --cd ${CMAKE_BINARY_DIR}/teshsuite/)
-ADD_TEST(memcheck-tesh-gras-dd-r-little32-4-0 ${CMAKE_BINARY_DIR}/teshsuite/gras/datadesc/datadesc_usage --read ${CMAKE_BINARY_DIR}/teshsuite/gras/datadesc/datadesc.little32_4 "--log=root.fmt:%m%n" --cd ${CMAKE_BINARY_DIR}/teshsuite/)
-ADD_TEST(memcheck-tesh-gras-dd-r-little64-0 ${CMAKE_BINARY_DIR}/teshsuite/gras/datadesc/datadesc_usage --read ${CMAKE_BINARY_DIR}/teshsuite/gras/datadesc/datadesc.little64 "--log=root.fmt:%m%n" --cd ${CMAKE_BINARY_DIR}/teshsuite/)
-ADD_TEST(memcheck-tesh-gras-dd-r-big32-8-4-0 ${CMAKE_BINARY_DIR}/teshsuite/gras/datadesc/datadesc_usage --read ${CMAKE_BINARY_DIR}/teshsuite/gras/datadesc/datadesc.big32_8_4 "--log=root.fmt:%m%n" --cd ${CMAKE_BINARY_DIR}/teshsuite/)
+ADD_TEST(memcheck-tesh-gras-dd-r-little32-4-0 ${CMAKE_BINARY_DIR}/teshsuite/gras/datadesc/datadesc_usage --read ${CMAKE_HOME_DIRECTORY}/teshsuite/gras/datadesc/datadesc.little32_4  --log=test.thres:verbose --log=structs.thres:info "--log=root.fmt:%m%n" --cd ${CMAKE_BINARY_DIR}/teshsuite/)
+ADD_TEST(memcheck-tesh-gras-dd-r-little64-0 ${CMAKE_BINARY_DIR}/teshsuite/gras/datadesc/datadesc_usage --read ${CMAKE_HOME_DIRECTORY}/teshsuite/gras/datadesc/datadesc.little64  --log=test.thres:verbose --log=structs.thres:info "--log=root.fmt:%m%n"  --cd ${CMAKE_BINARY_DIR}/teshsuite/)
+ADD_TEST(memcheck-tesh-gras-dd-r-big32-8-4-0 ${CMAKE_BINARY_DIR}/teshsuite/gras/datadesc/datadesc_usage --read ${CMAKE_HOME_DIRECTORY}/teshsuite/gras/datadesc/datadesc.big32_8_4 --log=test.thres:verbose --log=structs.thres:info "--log=root.fmt:%m%n" --cd ${CMAKE_BINARY_DIR}/teshsuite/)
 
 IF(${ARCH_32_BITS})
-ADD_TEST(memcheck-tesh-gras-msg-handle-sg-32-0 ${CMAKE_BINARY_DIR}/teshsuite/gras/msg_handle/msg_handle_simulator ${CMAKE_BINARY_DIR}/teshsuite/../examples/msg/small_platform.xml ${CMAKE_BINARY_DIR}/teshsuite/gras/msg_handle/msg_handle.xml "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cd ${CMAKE_BINARY_DIR}/teshsuite/)
+ADD_TEST(memcheck-tesh-gras-msg-handle-sg-32-0 ${CMAKE_BINARY_DIR}/teshsuite/gras/msg_handle/msg_handle_simulator ${CMAKE_HOME_DIRECTORY}/teshsuite/../examples/msg/small_platform.xml ${CMAKE_HOME_DIRECTORY}/teshsuite/gras/msg_handle/msg_handle.xml "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cd ${CMAKE_BINARY_DIR}/teshsuite/)
 ELSE(${ARCH_32_BITS})
-ADD_TEST(memcheck-tesh-gras-msg-handle-sg-64-0 ${CMAKE_BINARY_DIR}/teshsuite/gras/msg_handle/msg_handle_simulator ${CMAKE_BINARY_DIR}/teshsuite/../examples/msg/small_platform.xml ${CMAKE_BINARY_DIR}/teshsuite/gras/msg_handle/msg_handle.xml "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cd ${CMAKE_BINARY_DIR}/teshsuite/)
+ADD_TEST(memcheck-tesh-gras-msg-handle-sg-64-0 ${CMAKE_BINARY_DIR}/teshsuite/gras/msg_handle/msg_handle_simulator ${CMAKE_HOME_DIRECTORY}/teshsuite/../examples/msg/small_platform.xml ${CMAKE_HOME_DIRECTORY}/teshsuite/gras/msg_handle/msg_handle.xml "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cd ${CMAKE_BINARY_DIR}/teshsuite/)
 ENDIF(${ARCH_32_BITS})
 
-ADD_TEST(memcheck-tesh-gras-empty-main-sg-0 ${CMAKE_BINARY_DIR}/teshsuite/gras/empty_main/empty_main_simulator /../examples/msg/small_platform.xml /gras/empty_main/empty_main.xml --cd /home/navarrop/simgrid/simgrid/trunk/teshsuite/)
+ADD_TEST(memcheck-tesh-gras-empty-main-sg-0 ${CMAKE_BINARY_DIR}/teshsuite/gras/empty_main/empty_main_simulator ./../examples/msg/small_platform.xml ./gras/empty_main/empty_main.xml --cd ${CMAKE_HOME_DIRECTORY}/teshsuite/)
 
 IF(${ARCH_32_BITS})
-ADD_TEST(memcheck-tesh-gras-small-sleep-sg-32-0 ${CMAKE_BINARY_DIR}/teshsuite/gras/small_sleep/small_sleep_simulator /../examples/msg/small_platform.xml /gras/small_sleep/small_sleep.xml --cd /home/navarrop/simgrid/simgrid/trunk/teshsuite/)
+ADD_TEST(memcheck-tesh-gras-small-sleep-sg-32-0 ${CMAKE_BINARY_DIR}/teshsuite/gras/small_sleep/small_sleep_simulator ./../examples/msg/small_platform.xml ./gras/small_sleep/small_sleep.xml --cd ${CMAKE_HOME_DIRECTORY}/teshsuite/)
 ELSE(${ARCH_32_BITS})
-ADD_TEST(memcheck-tesh-gras-small-sleep-sg-64-0 ${CMAKE_BINARY_DIR}/teshsuite/gras/small_sleep/small_sleep_simulator /../examples/msg/small_platform.xml /gras/small_sleep/small_sleep.xml --cd /home/navarrop/simgrid/simgrid/trunk/teshsuite/)
+ADD_TEST(memcheck-tesh-gras-small-sleep-sg-64-0 ${CMAKE_BINARY_DIR}/teshsuite/gras/small_sleep/small_sleep_simulator ./../examples/msg/small_platform.xml ./gras/small_sleep/small_sleep.xml --cd ${CMAKE_HOME_DIRECTORY}/teshsuite/)
 ENDIF(${ARCH_32_BITS})
 
 # GRAS examples
 ADD_TEST(memcheck-gras-spawn-rl-0 ${CMAKE_BINARY_DIR}/examples/gras/spawn/spawn_server --log=root.fmt=%m%n --cd ${CMAKE_BINARY_DIR}/examples/gras/spawn/)
 ADD_TEST(memcheck-gras-timer-rl-0 ${CMAKE_BINARY_DIR}/examples/gras/timer/timer_client --log=root.fmt:%m%n --cd ${CMAKE_BINARY_DIR}/examples/gras/timer/)
-ADD_TEST(memcheck-gras-chrono-rl-0 ${CMAKE_BINARY_DIR}/examples/gras/chrono/chrono_multiplier --log=root.fmt:%m%n --cd ${CMAKE_BINARY_DIR}/examples/gras/chrono/)
+ADD_TEST(memcheck-gras-chrono-rl-0 ${CMAKE_BINARY_DIR}/examples/gras/chrono/chrono_multiplier --log=root.fmt:%m%n   --cd ${CMAKE_BINARY_DIR}/examples/gras/chrono/)
 ADD_TEST(memcheck-gras-synchro-rl-0 ${CMAKE_BINARY_DIR}/examples/gras/synchro/synchro_philosopher 4 --log=root.fmt=%m%n --cd ${CMAKE_BINARY_DIR}/examples/gras/synchro/)
-ADD_TEST(memcheck-gras-properties-rl-0 ${CMAKE_BINARY_DIR}/examples/gras/properties/properties_alice --log=root.fmt=%P:%t%e%m%n --cd ${CMAKE_BINARY_DIR}/examples/gras/properties/)
-ADD_TEST(memcheck-gras-properties-rl-1 ${CMAKE_BINARY_DIR}/examples/gras/properties/properties_bob --log=root.fmt=%P:%t%e%m%n --cd ${CMAKE_BINARY_DIR}/examples/gras/properties/)
+ADD_TEST(memcheck-gras-properties-rl-0 ${CMAKE_BINARY_DIR}/examples/gras/properties/properties_alice --log=root.fmt=%P:%t%e%m%n  --cd ${CMAKE_BINARY_DIR}/examples/gras/properties/)
+ADD_TEST(memcheck-gras-properties-rl-1 ${CMAKE_BINARY_DIR}/examples/gras/properties/properties_bob --log=root.fmt=%P:%t%e%m%n  --cd ${CMAKE_BINARY_DIR}/examples/gras/properties/)
 
 # BEGIN CONTEXTS FACTORY
-ADD_TEST(memcheck-tesh-msg-get-sender-raw-0 ${CMAKE_BINARY_DIR}/teshsuite/msg/get_sender ${CMAKE_BINARY_DIR}/teshsuite/msg/get_sender.xml "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg contexts/factory:raw  --cd ${CMAKE_BINARY_DIR}/teshsuite/)
-ADD_TEST(memcheck-tesh-msg-get-sender-thread-0 ${CMAKE_BINARY_DIR}/teshsuite/msg/get_sender ${CMAKE_BINARY_DIR}/teshsuite/msg/get_sender.xml "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg contexts/factory:thread  --cd ${CMAKE_BINARY_DIR}/teshsuite/)
-ADD_TEST(memcheck-tesh-msg-get-sender-ucontext-0 ${CMAKE_BINARY_DIR}/teshsuite/msg/get_sender ${CMAKE_BINARY_DIR}/teshsuite/msg/get_sender.xml "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg contexts/factory:ucontext  --cd ${CMAKE_BINARY_DIR}/teshsuite/)
-ADD_TEST(memcheck-tesh-simdag-reinit-costs-raw-0 ${CMAKE_BINARY_DIR}/teshsuite/simdag/network/test_reinit_costs ${CMAKE_BINARY_DIR}/teshsuite/simdag/network/platform_2p_1sl.xml --surf-path=${CMAKE_HOME_DIRECTORY}/src --log=sd_kernel.thres=warning "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg contexts/factory:raw  --cd ${CMAKE_BINARY_DIR}/teshsuite/)
-ADD_TEST(memcheck-tesh-simdag-reinit-costs-thread-0 ${CMAKE_BINARY_DIR}/teshsuite/simdag/network/test_reinit_costs ${CMAKE_BINARY_DIR}/teshsuite/simdag/network/platform_2p_1sl.xml --surf-path=${CMAKE_HOME_DIRECTORY}/src --log=sd_kernel.thres=warning "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg contexts/factory:thread  --cd ${CMAKE_BINARY_DIR}/teshsuite/)
-ADD_TEST(memcheck-tesh-simdag-reinit-costs-ucontext-0 ${CMAKE_BINARY_DIR}/teshsuite/simdag/network/test_reinit_costs ${CMAKE_BINARY_DIR}/teshsuite/simdag/network/platform_2p_1sl.xml --surf-path=${CMAKE_HOME_DIRECTORY}/src --log=sd_kernel.thres=warning "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg contexts/factory:ucontext  --cd ${CMAKE_BINARY_DIR}/teshsuite/)
-ADD_TEST(memcheck-tesh-simdag-parser-raw-0 ${CMAKE_BINARY_DIR}/teshsuite/simdag/platforms/basic_parsing_test one_cluster.xml "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg contexts/factory:raw  --cd /home/navarrop/simgrid/simgrid/trunk/teshsuite/simdag/platforms/)
-ADD_TEST(memcheck-tesh-simdag-parser-raw-1 ${CMAKE_BINARY_DIR}/teshsuite/simdag/platforms/basic_parsing_test one_host_availability.xml "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg contexts/factory:raw  --cd /home/navarrop/simgrid/simgrid/trunk/teshsuite/simdag/platforms/)
-ADD_TEST(memcheck-tesh-simdag-parser-raw-2 ${CMAKE_BINARY_DIR}/teshsuite/simdag/platforms/basic_parsing_test one_host_properties.xml "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg contexts/factory:raw  --cd /home/navarrop/simgrid/simgrid/trunk/teshsuite/simdag/platforms/)
-ADD_TEST(memcheck-tesh-simdag-parser-raw-3 ${CMAKE_BINARY_DIR}/teshsuite/simdag/platforms/basic_parsing_test one_host_state_file.xml "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg contexts/factory:raw  --cd /home/navarrop/simgrid/simgrid/trunk/teshsuite/simdag/platforms/)
-ADD_TEST(memcheck-tesh-simdag-parser-raw-4 ${CMAKE_BINARY_DIR}/teshsuite/simdag/platforms/basic_parsing_test one_host_state_off.xml "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg contexts/factory:raw  --cd /home/navarrop/simgrid/simgrid/trunk/teshsuite/simdag/platforms/)
-ADD_TEST(memcheck-tesh-simdag-parser-raw-5 ${CMAKE_BINARY_DIR}/teshsuite/simdag/platforms/basic_parsing_test one_host_state_on.xml "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg contexts/factory:raw  --cd /home/navarrop/simgrid/simgrid/trunk/teshsuite/simdag/platforms/)
-ADD_TEST(memcheck-tesh-simdag-parser-raw-6 ${CMAKE_BINARY_DIR}/teshsuite/simdag/platforms/basic_parsing_test one_host_trace_file.xml "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg contexts/factory:raw  --cd /home/navarrop/simgrid/simgrid/trunk/teshsuite/simdag/platforms/)
-ADD_TEST(memcheck-tesh-simdag-parser-raw-7 ${CMAKE_BINARY_DIR}/teshsuite/simdag/platforms/basic_parsing_test one_host_trace_inside.xml "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg contexts/factory:raw  --cd /home/navarrop/simgrid/simgrid/trunk/teshsuite/simdag/platforms/)
-ADD_TEST(memcheck-tesh-simdag-parser-raw-8 ${CMAKE_BINARY_DIR}/teshsuite/simdag/platforms/basic_parsing_test one_host.xml "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg contexts/factory:raw  --cd /home/navarrop/simgrid/simgrid/trunk/teshsuite/simdag/platforms/)
-ADD_TEST(memcheck-tesh-simdag-parser-raw-9 ${CMAKE_BINARY_DIR}/teshsuite/simdag/platforms/basic_parsing_test one_link_availability.xml "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg contexts/factory:raw  --cd /home/navarrop/simgrid/simgrid/trunk/teshsuite/simdag/platforms/)
-ADD_TEST(memcheck-tesh-simdag-parser-raw-10 ${CMAKE_BINARY_DIR}/teshsuite/simdag/platforms/basic_parsing_test one_link_fatpipe.xml "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg contexts/factory:raw  --cd /home/navarrop/simgrid/simgrid/trunk/teshsuite/simdag/platforms/)
-ADD_TEST(memcheck-tesh-simdag-parser-raw-11 ${CMAKE_BINARY_DIR}/teshsuite/simdag/platforms/basic_parsing_test one_link_shared.xml "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg contexts/factory:raw  --cd /home/navarrop/simgrid/simgrid/trunk/teshsuite/simdag/platforms/)
-ADD_TEST(memcheck-tesh-simdag-parser-raw-12 ${CMAKE_BINARY_DIR}/teshsuite/simdag/platforms/basic_parsing_test one_link_state_file.xml "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg contexts/factory:raw  --cd /home/navarrop/simgrid/simgrid/trunk/teshsuite/simdag/platforms/)
-ADD_TEST(memcheck-tesh-simdag-parser-raw-13 ${CMAKE_BINARY_DIR}/teshsuite/simdag/platforms/basic_parsing_test three_hosts_non_symmetric_route.xml "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg contexts/factory:raw  --cd /home/navarrop/simgrid/simgrid/trunk/teshsuite/simdag/platforms/)
-ADD_TEST(memcheck-tesh-simdag-parser-raw-14 ${CMAKE_BINARY_DIR}/teshsuite/simdag/platforms/basic_parsing_test two_clusters.xml "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg contexts/factory:raw  --cd /home/navarrop/simgrid/simgrid/trunk/teshsuite/simdag/platforms/)
-ADD_TEST(memcheck-tesh-simdag-parser-raw-15 ${CMAKE_BINARY_DIR}/teshsuite/simdag/platforms/basic_parsing_test two_hosts_multi_hop.xml "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg contexts/factory:raw  --cd /home/navarrop/simgrid/simgrid/trunk/teshsuite/simdag/platforms/)
-ADD_TEST(memcheck-tesh-simdag-parser-raw-16 ${CMAKE_BINARY_DIR}/teshsuite/simdag/platforms/basic_parsing_test two_hosts_one_link.xml "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg contexts/factory:raw  --cd /home/navarrop/simgrid/simgrid/trunk/teshsuite/simdag/platforms/)
-ADD_TEST(memcheck-tesh-simdag-parser-raw-17 ${CMAKE_BINARY_DIR}/teshsuite/simdag/platforms/basic_parsing_test ./four_hosts_floyd.xml --cfg contexts/factory:raw  --cd /home/navarrop/simgrid/simgrid/trunk/teshsuite/simdag/platforms/)
-ADD_TEST(memcheck-tesh-simdag-parser-raw-18 ${CMAKE_BINARY_DIR}/teshsuite/simdag/platforms/basic_parsing_test ./four_hosts_floyd_bis.xml --cfg contexts/factory:raw  --cd /home/navarrop/simgrid/simgrid/trunk/teshsuite/simdag/platforms/)
-ADD_TEST(memcheck-tesh-simdag-parser-raw-19 ${CMAKE_BINARY_DIR}/teshsuite/simdag/platforms/basic_parsing_test ./properties.xml --cfg contexts/factory:raw  --cd /home/navarrop/simgrid/simgrid/trunk/teshsuite/simdag/platforms/)
-ADD_TEST(memcheck-tesh-simdag-parser-raw-20 ${CMAKE_BINARY_DIR}/teshsuite/simdag/platforms/basic_parsing_test ./properties.xml --cfg=cpu/model:CpuTI --cfg contexts/factory:raw  --cd /home/navarrop/simgrid/simgrid/trunk/teshsuite/simdag/platforms/)
-ADD_TEST(memcheck-tesh-simdag-parser-raw-21 ${CMAKE_BINARY_DIR}/teshsuite/simdag/platforms/basic_parsing_test ./one_cluster_file.xml --cfg contexts/factory:raw  --cd /home/navarrop/simgrid/simgrid/trunk/teshsuite/simdag/platforms/)
-ADD_TEST(memcheck-tesh-simdag-parser-raw-22 ${CMAKE_BINARY_DIR}/teshsuite/simdag/platforms/is_router_test ./test_of_is_router.xml --cfg contexts/factory:raw  --cd /home/navarrop/simgrid/simgrid/trunk/teshsuite/simdag/platforms/)
-ADD_TEST(memcheck-tesh-simdag-parser-thread-0 ${CMAKE_BINARY_DIR}/teshsuite/simdag/platforms/basic_parsing_test one_cluster.xml "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg contexts/factory:thread  --cd /home/navarrop/simgrid/simgrid/trunk/teshsuite/simdag/platforms/)
-ADD_TEST(memcheck-tesh-simdag-parser-thread-1 ${CMAKE_BINARY_DIR}/teshsuite/simdag/platforms/basic_parsing_test one_host_availability.xml "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg contexts/factory:thread  --cd /home/navarrop/simgrid/simgrid/trunk/teshsuite/simdag/platforms/)
-ADD_TEST(memcheck-tesh-simdag-parser-thread-2 ${CMAKE_BINARY_DIR}/teshsuite/simdag/platforms/basic_parsing_test one_host_properties.xml "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg contexts/factory:thread  --cd /home/navarrop/simgrid/simgrid/trunk/teshsuite/simdag/platforms/)
-ADD_TEST(memcheck-tesh-simdag-parser-thread-3 ${CMAKE_BINARY_DIR}/teshsuite/simdag/platforms/basic_parsing_test one_host_state_file.xml "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg contexts/factory:thread  --cd /home/navarrop/simgrid/simgrid/trunk/teshsuite/simdag/platforms/)
-ADD_TEST(memcheck-tesh-simdag-parser-thread-4 ${CMAKE_BINARY_DIR}/teshsuite/simdag/platforms/basic_parsing_test one_host_state_off.xml "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg contexts/factory:thread  --cd /home/navarrop/simgrid/simgrid/trunk/teshsuite/simdag/platforms/)
-ADD_TEST(memcheck-tesh-simdag-parser-thread-5 ${CMAKE_BINARY_DIR}/teshsuite/simdag/platforms/basic_parsing_test one_host_state_on.xml "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg contexts/factory:thread  --cd /home/navarrop/simgrid/simgrid/trunk/teshsuite/simdag/platforms/)
-ADD_TEST(memcheck-tesh-simdag-parser-thread-6 ${CMAKE_BINARY_DIR}/teshsuite/simdag/platforms/basic_parsing_test one_host_trace_file.xml "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg contexts/factory:thread  --cd /home/navarrop/simgrid/simgrid/trunk/teshsuite/simdag/platforms/)
-ADD_TEST(memcheck-tesh-simdag-parser-thread-7 ${CMAKE_BINARY_DIR}/teshsuite/simdag/platforms/basic_parsing_test one_host_trace_inside.xml "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg contexts/factory:thread  --cd /home/navarrop/simgrid/simgrid/trunk/teshsuite/simdag/platforms/)
-ADD_TEST(memcheck-tesh-simdag-parser-thread-8 ${CMAKE_BINARY_DIR}/teshsuite/simdag/platforms/basic_parsing_test one_host.xml "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg contexts/factory:thread  --cd /home/navarrop/simgrid/simgrid/trunk/teshsuite/simdag/platforms/)
-ADD_TEST(memcheck-tesh-simdag-parser-thread-9 ${CMAKE_BINARY_DIR}/teshsuite/simdag/platforms/basic_parsing_test one_link_availability.xml "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg contexts/factory:thread  --cd /home/navarrop/simgrid/simgrid/trunk/teshsuite/simdag/platforms/)
-ADD_TEST(memcheck-tesh-simdag-parser-thread-10 ${CMAKE_BINARY_DIR}/teshsuite/simdag/platforms/basic_parsing_test one_link_fatpipe.xml "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg contexts/factory:thread  --cd /home/navarrop/simgrid/simgrid/trunk/teshsuite/simdag/platforms/)
-ADD_TEST(memcheck-tesh-simdag-parser-thread-11 ${CMAKE_BINARY_DIR}/teshsuite/simdag/platforms/basic_parsing_test one_link_shared.xml "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg contexts/factory:thread  --cd /home/navarrop/simgrid/simgrid/trunk/teshsuite/simdag/platforms/)
-ADD_TEST(memcheck-tesh-simdag-parser-thread-12 ${CMAKE_BINARY_DIR}/teshsuite/simdag/platforms/basic_parsing_test one_link_state_file.xml "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg contexts/factory:thread  --cd /home/navarrop/simgrid/simgrid/trunk/teshsuite/simdag/platforms/)
-ADD_TEST(memcheck-tesh-simdag-parser-thread-13 ${CMAKE_BINARY_DIR}/teshsuite/simdag/platforms/basic_parsing_test three_hosts_non_symmetric_route.xml "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg contexts/factory:thread  --cd /home/navarrop/simgrid/simgrid/trunk/teshsuite/simdag/platforms/)
-ADD_TEST(memcheck-tesh-simdag-parser-thread-14 ${CMAKE_BINARY_DIR}/teshsuite/simdag/platforms/basic_parsing_test two_clusters.xml "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg contexts/factory:thread  --cd /home/navarrop/simgrid/simgrid/trunk/teshsuite/simdag/platforms/)
-ADD_TEST(memcheck-tesh-simdag-parser-thread-15 ${CMAKE_BINARY_DIR}/teshsuite/simdag/platforms/basic_parsing_test two_hosts_multi_hop.xml "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg contexts/factory:thread  --cd /home/navarrop/simgrid/simgrid/trunk/teshsuite/simdag/platforms/)
-ADD_TEST(memcheck-tesh-simdag-parser-thread-16 ${CMAKE_BINARY_DIR}/teshsuite/simdag/platforms/basic_parsing_test two_hosts_one_link.xml "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg contexts/factory:thread  --cd /home/navarrop/simgrid/simgrid/trunk/teshsuite/simdag/platforms/)
-ADD_TEST(memcheck-tesh-simdag-parser-thread-17 ${CMAKE_BINARY_DIR}/teshsuite/simdag/platforms/basic_parsing_test ./four_hosts_floyd.xml --cfg contexts/factory:thread  --cd /home/navarrop/simgrid/simgrid/trunk/teshsuite/simdag/platforms/)
-ADD_TEST(memcheck-tesh-simdag-parser-thread-18 ${CMAKE_BINARY_DIR}/teshsuite/simdag/platforms/basic_parsing_test ./four_hosts_floyd_bis.xml --cfg contexts/factory:thread  --cd /home/navarrop/simgrid/simgrid/trunk/teshsuite/simdag/platforms/)
-ADD_TEST(memcheck-tesh-simdag-parser-thread-19 ${CMAKE_BINARY_DIR}/teshsuite/simdag/platforms/basic_parsing_test ./properties.xml --cfg contexts/factory:thread  --cd /home/navarrop/simgrid/simgrid/trunk/teshsuite/simdag/platforms/)
-ADD_TEST(memcheck-tesh-simdag-parser-thread-20 ${CMAKE_BINARY_DIR}/teshsuite/simdag/platforms/basic_parsing_test ./properties.xml --cfg=cpu/model:CpuTI --cfg contexts/factory:thread  --cd /home/navarrop/simgrid/simgrid/trunk/teshsuite/simdag/platforms/)
-ADD_TEST(memcheck-tesh-simdag-parser-thread-21 ${CMAKE_BINARY_DIR}/teshsuite/simdag/platforms/basic_parsing_test ./one_cluster_file.xml --cfg contexts/factory:thread  --cd /home/navarrop/simgrid/simgrid/trunk/teshsuite/simdag/platforms/)
-ADD_TEST(memcheck-tesh-simdag-parser-thread-22 ${CMAKE_BINARY_DIR}/teshsuite/simdag/platforms/is_router_test ./test_of_is_router.xml --cfg contexts/factory:thread  --cd /home/navarrop/simgrid/simgrid/trunk/teshsuite/simdag/platforms/)
-ADD_TEST(memcheck-tesh-simdag-parser-ucontext-0 ${CMAKE_BINARY_DIR}/teshsuite/simdag/platforms/basic_parsing_test one_cluster.xml "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg contexts/factory:ucontext  --cd /home/navarrop/simgrid/simgrid/trunk/teshsuite/simdag/platforms/)
-ADD_TEST(memcheck-tesh-simdag-parser-ucontext-1 ${CMAKE_BINARY_DIR}/teshsuite/simdag/platforms/basic_parsing_test one_host_availability.xml "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg contexts/factory:ucontext  --cd /home/navarrop/simgrid/simgrid/trunk/teshsuite/simdag/platforms/)
-ADD_TEST(memcheck-tesh-simdag-parser-ucontext-2 ${CMAKE_BINARY_DIR}/teshsuite/simdag/platforms/basic_parsing_test one_host_properties.xml "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg contexts/factory:ucontext  --cd /home/navarrop/simgrid/simgrid/trunk/teshsuite/simdag/platforms/)
-ADD_TEST(memcheck-tesh-simdag-parser-ucontext-3 ${CMAKE_BINARY_DIR}/teshsuite/simdag/platforms/basic_parsing_test one_host_state_file.xml "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg contexts/factory:ucontext  --cd /home/navarrop/simgrid/simgrid/trunk/teshsuite/simdag/platforms/)
-ADD_TEST(memcheck-tesh-simdag-parser-ucontext-4 ${CMAKE_BINARY_DIR}/teshsuite/simdag/platforms/basic_parsing_test one_host_state_off.xml "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg contexts/factory:ucontext  --cd /home/navarrop/simgrid/simgrid/trunk/teshsuite/simdag/platforms/)
-ADD_TEST(memcheck-tesh-simdag-parser-ucontext-5 ${CMAKE_BINARY_DIR}/teshsuite/simdag/platforms/basic_parsing_test one_host_state_on.xml "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg contexts/factory:ucontext  --cd /home/navarrop/simgrid/simgrid/trunk/teshsuite/simdag/platforms/)
-ADD_TEST(memcheck-tesh-simdag-parser-ucontext-6 ${CMAKE_BINARY_DIR}/teshsuite/simdag/platforms/basic_parsing_test one_host_trace_file.xml "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg contexts/factory:ucontext  --cd /home/navarrop/simgrid/simgrid/trunk/teshsuite/simdag/platforms/)
-ADD_TEST(memcheck-tesh-simdag-parser-ucontext-7 ${CMAKE_BINARY_DIR}/teshsuite/simdag/platforms/basic_parsing_test one_host_trace_inside.xml "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg contexts/factory:ucontext  --cd /home/navarrop/simgrid/simgrid/trunk/teshsuite/simdag/platforms/)
-ADD_TEST(memcheck-tesh-simdag-parser-ucontext-8 ${CMAKE_BINARY_DIR}/teshsuite/simdag/platforms/basic_parsing_test one_host.xml "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg contexts/factory:ucontext  --cd /home/navarrop/simgrid/simgrid/trunk/teshsuite/simdag/platforms/)
-ADD_TEST(memcheck-tesh-simdag-parser-ucontext-9 ${CMAKE_BINARY_DIR}/teshsuite/simdag/platforms/basic_parsing_test one_link_availability.xml "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg contexts/factory:ucontext  --cd /home/navarrop/simgrid/simgrid/trunk/teshsuite/simdag/platforms/)
-ADD_TEST(memcheck-tesh-simdag-parser-ucontext-10 ${CMAKE_BINARY_DIR}/teshsuite/simdag/platforms/basic_parsing_test one_link_fatpipe.xml "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg contexts/factory:ucontext  --cd /home/navarrop/simgrid/simgrid/trunk/teshsuite/simdag/platforms/)
-ADD_TEST(memcheck-tesh-simdag-parser-ucontext-11 ${CMAKE_BINARY_DIR}/teshsuite/simdag/platforms/basic_parsing_test one_link_shared.xml "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg contexts/factory:ucontext  --cd /home/navarrop/simgrid/simgrid/trunk/teshsuite/simdag/platforms/)
-ADD_TEST(memcheck-tesh-simdag-parser-ucontext-12 ${CMAKE_BINARY_DIR}/teshsuite/simdag/platforms/basic_parsing_test one_link_state_file.xml "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg contexts/factory:ucontext  --cd /home/navarrop/simgrid/simgrid/trunk/teshsuite/simdag/platforms/)
-ADD_TEST(memcheck-tesh-simdag-parser-ucontext-13 ${CMAKE_BINARY_DIR}/teshsuite/simdag/platforms/basic_parsing_test three_hosts_non_symmetric_route.xml "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg contexts/factory:ucontext  --cd /home/navarrop/simgrid/simgrid/trunk/teshsuite/simdag/platforms/)
-ADD_TEST(memcheck-tesh-simdag-parser-ucontext-14 ${CMAKE_BINARY_DIR}/teshsuite/simdag/platforms/basic_parsing_test two_clusters.xml "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg contexts/factory:ucontext  --cd /home/navarrop/simgrid/simgrid/trunk/teshsuite/simdag/platforms/)
-ADD_TEST(memcheck-tesh-simdag-parser-ucontext-15 ${CMAKE_BINARY_DIR}/teshsuite/simdag/platforms/basic_parsing_test two_hosts_multi_hop.xml "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg contexts/factory:ucontext  --cd /home/navarrop/simgrid/simgrid/trunk/teshsuite/simdag/platforms/)
-ADD_TEST(memcheck-tesh-simdag-parser-ucontext-16 ${CMAKE_BINARY_DIR}/teshsuite/simdag/platforms/basic_parsing_test two_hosts_one_link.xml "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg contexts/factory:ucontext  --cd /home/navarrop/simgrid/simgrid/trunk/teshsuite/simdag/platforms/)
-ADD_TEST(memcheck-tesh-simdag-parser-ucontext-17 ${CMAKE_BINARY_DIR}/teshsuite/simdag/platforms/basic_parsing_test ./four_hosts_floyd.xml --cfg contexts/factory:ucontext  --cd /home/navarrop/simgrid/simgrid/trunk/teshsuite/simdag/platforms/)
-ADD_TEST(memcheck-tesh-simdag-parser-ucontext-18 ${CMAKE_BINARY_DIR}/teshsuite/simdag/platforms/basic_parsing_test ./four_hosts_floyd_bis.xml --cfg contexts/factory:ucontext  --cd /home/navarrop/simgrid/simgrid/trunk/teshsuite/simdag/platforms/)
-ADD_TEST(memcheck-tesh-simdag-parser-ucontext-19 ${CMAKE_BINARY_DIR}/teshsuite/simdag/platforms/basic_parsing_test ./properties.xml --cfg contexts/factory:ucontext  --cd /home/navarrop/simgrid/simgrid/trunk/teshsuite/simdag/platforms/)
-ADD_TEST(memcheck-tesh-simdag-parser-ucontext-20 ${CMAKE_BINARY_DIR}/teshsuite/simdag/platforms/basic_parsing_test ./properties.xml --cfg=cpu/model:CpuTI --cfg contexts/factory:ucontext  --cd /home/navarrop/simgrid/simgrid/trunk/teshsuite/simdag/platforms/)
-ADD_TEST(memcheck-tesh-simdag-parser-ucontext-21 ${CMAKE_BINARY_DIR}/teshsuite/simdag/platforms/basic_parsing_test ./one_cluster_file.xml --cfg contexts/factory:ucontext  --cd /home/navarrop/simgrid/simgrid/trunk/teshsuite/simdag/platforms/)
-ADD_TEST(memcheck-tesh-simdag-parser-ucontext-22 ${CMAKE_BINARY_DIR}/teshsuite/simdag/platforms/is_router_test ./test_of_is_router.xml --cfg contexts/factory:ucontext  --cd /home/navarrop/simgrid/simgrid/trunk/teshsuite/simdag/platforms/)
-ADD_TEST(memcheck-tesh-simdag-parser-bogus-symmetric-raw-0 ${CMAKE_BINARY_DIR}/teshsuite/simdag/platforms/flatifier two_hosts_asymetric_BOGUS.xml "--log=root.fmt:[%10.6r]%e[%i:%P@%h]%e%m%n" --cfg contexts/factory:raw  --cd /home/navarrop/simgrid/simgrid/trunk/teshsuite/simdag/platforms/)
-ADD_TEST(memcheck-tesh-simdag-parser-bogus-symmetric-raw-1 ${CMAKE_BINARY_DIR}/teshsuite/simdag/platforms/flatifier two_hosts_asymetric_BOGUS2.xml "--log=root.fmt:[%10.6r]%e[%i:%P@%h]%e%m%n" --cfg contexts/factory:raw  --cd /home/navarrop/simgrid/simgrid/trunk/teshsuite/simdag/platforms/)
-ADD_TEST(memcheck-tesh-simdag-parser-bogus-symmetric-thread-0 ${CMAKE_BINARY_DIR}/teshsuite/simdag/platforms/flatifier two_hosts_asymetric_BOGUS.xml "--log=root.fmt:[%10.6r]%e[%i:%P@%h]%e%m%n" --cfg contexts/factory:thread  --cd /home/navarrop/simgrid/simgrid/trunk/teshsuite/simdag/platforms/)
-ADD_TEST(memcheck-tesh-simdag-parser-bogus-symmetric-thread-1 ${CMAKE_BINARY_DIR}/teshsuite/simdag/platforms/flatifier two_hosts_asymetric_BOGUS2.xml "--log=root.fmt:[%10.6r]%e[%i:%P@%h]%e%m%n" --cfg contexts/factory:thread  --cd /home/navarrop/simgrid/simgrid/trunk/teshsuite/simdag/platforms/)
-ADD_TEST(memcheck-tesh-simdag-parser-bogus-symmetric-ucontext-0 ${CMAKE_BINARY_DIR}/teshsuite/simdag/platforms/flatifier two_hosts_asymetric_BOGUS.xml "--log=root.fmt:[%10.6r]%e[%i:%P@%h]%e%m%n" --cfg contexts/factory:ucontext  --cd /home/navarrop/simgrid/simgrid/trunk/teshsuite/simdag/platforms/)
-ADD_TEST(memcheck-tesh-simdag-parser-bogus-symmetric-ucontext-1 ${CMAKE_BINARY_DIR}/teshsuite/simdag/platforms/flatifier two_hosts_asymetric_BOGUS2.xml "--log=root.fmt:[%10.6r]%e[%i:%P@%h]%e%m%n" --cfg contexts/factory:ucontext  --cd /home/navarrop/simgrid/simgrid/trunk/teshsuite/simdag/platforms/)
-ADD_TEST(memcheck-tesh-simdag-parser-sym-full-raw-0 ${CMAKE_BINARY_DIR}/teshsuite/simdag/platforms/basic_parsing_test one_cluster_fullduplex.xml FULL_LINK "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg contexts/factory:raw  --cd /home/navarrop/simgrid/simgrid/trunk/teshsuite/simdag/platforms/)
-ADD_TEST(memcheck-tesh-simdag-parser-sym-full-raw-1 ${CMAKE_BINARY_DIR}/teshsuite/simdag/platforms/basic_parsing_test two_clusters_symmetric.xml FULL_LINK "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg contexts/factory:raw  --cd /home/navarrop/simgrid/simgrid/trunk/teshsuite/simdag/platforms/)
-ADD_TEST(memcheck-tesh-simdag-parser-sym-full-raw-2 ${CMAKE_BINARY_DIR}/teshsuite/simdag/platforms/basic_parsing_test two_hosts_one_link_symmetrical.xml FULL_LINK "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg contexts/factory:raw  --cd /home/navarrop/simgrid/simgrid/trunk/teshsuite/simdag/platforms/)
-ADD_TEST(memcheck-tesh-simdag-parser-sym-full-raw-3 ${CMAKE_BINARY_DIR}/teshsuite/simdag/platforms/basic_parsing_test two_hosts_one_link_fullduplex.xml FULL_LINK "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg contexts/factory:raw  --cd /home/navarrop/simgrid/simgrid/trunk/teshsuite/simdag/platforms/)
-ADD_TEST(memcheck-tesh-simdag-parser-sym-full-raw-4 ${CMAKE_BINARY_DIR}/teshsuite/simdag/platforms/basic_parsing_test Dijkstra.xml FULL_LINK --log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n --cfg contexts/factory:raw  --cd /home/navarrop/simgrid/simgrid/trunk/teshsuite/simdag/platforms/)
-ADD_TEST(memcheck-tesh-simdag-parser-sym-full-thread-0 ${CMAKE_BINARY_DIR}/teshsuite/simdag/platforms/basic_parsing_test one_cluster_fullduplex.xml FULL_LINK "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg contexts/factory:thread  --cd /home/navarrop/simgrid/simgrid/trunk/teshsuite/simdag/platforms/)
-ADD_TEST(memcheck-tesh-simdag-parser-sym-full-thread-1 ${CMAKE_BINARY_DIR}/teshsuite/simdag/platforms/basic_parsing_test two_clusters_symmetric.xml FULL_LINK "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg contexts/factory:thread  --cd /home/navarrop/simgrid/simgrid/trunk/teshsuite/simdag/platforms/)
-ADD_TEST(memcheck-tesh-simdag-parser-sym-full-thread-2 ${CMAKE_BINARY_DIR}/teshsuite/simdag/platforms/basic_parsing_test two_hosts_one_link_symmetrical.xml FULL_LINK "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg contexts/factory:thread  --cd /home/navarrop/simgrid/simgrid/trunk/teshsuite/simdag/platforms/)
-ADD_TEST(memcheck-tesh-simdag-parser-sym-full-thread-3 ${CMAKE_BINARY_DIR}/teshsuite/simdag/platforms/basic_parsing_test two_hosts_one_link_fullduplex.xml FULL_LINK "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg contexts/factory:thread  --cd /home/navarrop/simgrid/simgrid/trunk/teshsuite/simdag/platforms/)
-ADD_TEST(memcheck-tesh-simdag-parser-sym-full-thread-4 ${CMAKE_BINARY_DIR}/teshsuite/simdag/platforms/basic_parsing_test Dijkstra.xml FULL_LINK --log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n --cfg contexts/factory:thread  --cd /home/navarrop/simgrid/simgrid/trunk/teshsuite/simdag/platforms/)
-ADD_TEST(memcheck-tesh-simdag-parser-sym-full-ucontext-0 ${CMAKE_BINARY_DIR}/teshsuite/simdag/platforms/basic_parsing_test one_cluster_fullduplex.xml FULL_LINK "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg contexts/factory:ucontext  --cd /home/navarrop/simgrid/simgrid/trunk/teshsuite/simdag/platforms/)
-ADD_TEST(memcheck-tesh-simdag-parser-sym-full-ucontext-1 ${CMAKE_BINARY_DIR}/teshsuite/simdag/platforms/basic_parsing_test two_clusters_symmetric.xml FULL_LINK "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg contexts/factory:ucontext  --cd /home/navarrop/simgrid/simgrid/trunk/teshsuite/simdag/platforms/)
-ADD_TEST(memcheck-tesh-simdag-parser-sym-full-ucontext-2 ${CMAKE_BINARY_DIR}/teshsuite/simdag/platforms/basic_parsing_test two_hosts_one_link_symmetrical.xml FULL_LINK "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg contexts/factory:ucontext  --cd /home/navarrop/simgrid/simgrid/trunk/teshsuite/simdag/platforms/)
-ADD_TEST(memcheck-tesh-simdag-parser-sym-full-ucontext-3 ${CMAKE_BINARY_DIR}/teshsuite/simdag/platforms/basic_parsing_test two_hosts_one_link_fullduplex.xml FULL_LINK "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg contexts/factory:ucontext  --cd /home/navarrop/simgrid/simgrid/trunk/teshsuite/simdag/platforms/)
-ADD_TEST(memcheck-tesh-simdag-parser-sym-full-ucontext-4 ${CMAKE_BINARY_DIR}/teshsuite/simdag/platforms/basic_parsing_test Dijkstra.xml FULL_LINK --log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n --cfg contexts/factory:ucontext  --cd /home/navarrop/simgrid/simgrid/trunk/teshsuite/simdag/platforms/)
-ADD_TEST(memcheck-tesh-simdag-flatifier-raw-0 ${CMAKE_BINARY_DIR}/teshsuite/simdag/platforms/flatifier one_cluster.xml "--log=root.fmt:[%10.6r]%e[%i:%P@%h]%e%m%n" --cfg contexts/factory:raw  --cd /home/navarrop/simgrid/simgrid/trunk/teshsuite/simdag/platforms/)
-ADD_TEST(memcheck-tesh-simdag-flatifier-raw-1 ${CMAKE_BINARY_DIR}/teshsuite/simdag/platforms/flatifier one_host_availability.xml "--log=root.fmt:[%10.6r]%e[%i:%P@%h]%e%m%n" --cfg contexts/factory:raw  --cd /home/navarrop/simgrid/simgrid/trunk/teshsuite/simdag/platforms/)
-ADD_TEST(memcheck-tesh-simdag-flatifier-raw-2 ${CMAKE_BINARY_DIR}/teshsuite/simdag/platforms/flatifier one_host_properties.xml "--log=root.fmt:[%10.6r]%e[%i:%P@%h]%e%m%n" --cfg contexts/factory:raw  --cd /home/navarrop/simgrid/simgrid/trunk/teshsuite/simdag/platforms/)
-ADD_TEST(memcheck-tesh-simdag-flatifier-raw-3 ${CMAKE_BINARY_DIR}/teshsuite/simdag/platforms/flatifier one_host_state_file.xml "--log=root.fmt:[%10.6r]%e[%i:%P@%h]%e%m%n" --cfg contexts/factory:raw  --cd /home/navarrop/simgrid/simgrid/trunk/teshsuite/simdag/platforms/)
-ADD_TEST(memcheck-tesh-simdag-flatifier-raw-4 ${CMAKE_BINARY_DIR}/teshsuite/simdag/platforms/flatifier one_host_state_off.xml "--log=root.fmt:[%10.6r]%e[%i:%P@%h]%e%m%n" --cfg contexts/factory:raw  --cd /home/navarrop/simgrid/simgrid/trunk/teshsuite/simdag/platforms/)
-ADD_TEST(memcheck-tesh-simdag-flatifier-raw-5 ${CMAKE_BINARY_DIR}/teshsuite/simdag/platforms/flatifier one_host_state_on.xml "--log=root.fmt:[%10.6r]%e[%i:%P@%h]%e%m%n" --cfg contexts/factory:raw  --cd /home/navarrop/simgrid/simgrid/trunk/teshsuite/simdag/platforms/)
-ADD_TEST(memcheck-tesh-simdag-flatifier-raw-6 ${CMAKE_BINARY_DIR}/teshsuite/simdag/platforms/flatifier one_host_trace_file.xml "--log=root.fmt:[%10.6r]%e[%i:%P@%h]%e%m%n" --cfg contexts/factory:raw  --cd /home/navarrop/simgrid/simgrid/trunk/teshsuite/simdag/platforms/)
-ADD_TEST(memcheck-tesh-simdag-flatifier-raw-7 ${CMAKE_BINARY_DIR}/teshsuite/simdag/platforms/flatifier one_host_trace_inside.xml "--log=root.fmt:[%10.6r]%e[%i:%P@%h]%e%m%n" --cfg contexts/factory:raw  --cd /home/navarrop/simgrid/simgrid/trunk/teshsuite/simdag/platforms/)
-ADD_TEST(memcheck-tesh-simdag-flatifier-raw-8 ${CMAKE_BINARY_DIR}/teshsuite/simdag/platforms/flatifier one_host.xml "--log=root.fmt:[%10.6r]%e[%i:%P@%h]%e%m%n" --cfg contexts/factory:raw  --cd /home/navarrop/simgrid/simgrid/trunk/teshsuite/simdag/platforms/)
-ADD_TEST(memcheck-tesh-simdag-flatifier-raw-9 ${CMAKE_BINARY_DIR}/teshsuite/simdag/platforms/flatifier one_link_availability.xml "--log=root.fmt:[%10.6r]%e[%i:%P@%h]%e%m%n" --cfg contexts/factory:raw  --cd /home/navarrop/simgrid/simgrid/trunk/teshsuite/simdag/platforms/)
-ADD_TEST(memcheck-tesh-simdag-flatifier-raw-10 ${CMAKE_BINARY_DIR}/teshsuite/simdag/platforms/flatifier one_link_fatpipe.xml "--log=root.fmt:[%10.6r]%e[%i:%P@%h]%e%m%n" --cfg contexts/factory:raw  --cd /home/navarrop/simgrid/simgrid/trunk/teshsuite/simdag/platforms/)
-ADD_TEST(memcheck-tesh-simdag-flatifier-raw-11 ${CMAKE_BINARY_DIR}/teshsuite/simdag/platforms/flatifier one_link_shared.xml "--log=root.fmt:[%10.6r]%e[%i:%P@%h]%e%m%n" --cfg contexts/factory:raw  --cd /home/navarrop/simgrid/simgrid/trunk/teshsuite/simdag/platforms/)
-ADD_TEST(memcheck-tesh-simdag-flatifier-raw-12 ${CMAKE_BINARY_DIR}/teshsuite/simdag/platforms/flatifier one_link_state_file.xml "--log=root.fmt:[%10.6r]%e[%i:%P@%h]%e%m%n" --cfg contexts/factory:raw  --cd /home/navarrop/simgrid/simgrid/trunk/teshsuite/simdag/platforms/)
-ADD_TEST(memcheck-tesh-simdag-flatifier-raw-13 ${CMAKE_BINARY_DIR}/teshsuite/simdag/platforms/flatifier three_hosts_non_symmetric_route.xml "--log=root.fmt:[%10.6r]%e[%i:%P@%h]%e%m%n" --cfg contexts/factory:raw  --cd /home/navarrop/simgrid/simgrid/trunk/teshsuite/simdag/platforms/)
-ADD_TEST(memcheck-tesh-simdag-flatifier-raw-14 ${CMAKE_BINARY_DIR}/teshsuite/simdag/platforms/flatifier two_clusters.xml "--log=root.fmt:[%10.6r]%e[%i:%P@%h]%e%m%n" --cfg contexts/factory:raw  --cd /home/navarrop/simgrid/simgrid/trunk/teshsuite/simdag/platforms/)
-ADD_TEST(memcheck-tesh-simdag-flatifier-raw-15 ${CMAKE_BINARY_DIR}/teshsuite/simdag/platforms/flatifier two_hosts_multi_hop.xml "--log=root.fmt:[%10.6r]%e[%i:%P@%h]%e%m%n" --cfg contexts/factory:raw  --cd /home/navarrop/simgrid/simgrid/trunk/teshsuite/simdag/platforms/)
-ADD_TEST(memcheck-tesh-simdag-flatifier-raw-16 ${CMAKE_BINARY_DIR}/teshsuite/simdag/platforms/flatifier two_hosts_one_link.xml "--log=root.fmt:[%10.6r]%e[%i:%P@%h]%e%m%n" --cfg contexts/factory:raw  --cd /home/navarrop/simgrid/simgrid/trunk/teshsuite/simdag/platforms/)
-ADD_TEST(memcheck-tesh-simdag-flatifier-thread-0 ${CMAKE_BINARY_DIR}/teshsuite/simdag/platforms/flatifier one_cluster.xml "--log=root.fmt:[%10.6r]%e[%i:%P@%h]%e%m%n" --cfg contexts/factory:thread  --cd /home/navarrop/simgrid/simgrid/trunk/teshsuite/simdag/platforms/)
-ADD_TEST(memcheck-tesh-simdag-flatifier-thread-1 ${CMAKE_BINARY_DIR}/teshsuite/simdag/platforms/flatifier one_host_availability.xml "--log=root.fmt:[%10.6r]%e[%i:%P@%h]%e%m%n" --cfg contexts/factory:thread  --cd /home/navarrop/simgrid/simgrid/trunk/teshsuite/simdag/platforms/)
-ADD_TEST(memcheck-tesh-simdag-flatifier-thread-2 ${CMAKE_BINARY_DIR}/teshsuite/simdag/platforms/flatifier one_host_properties.xml "--log=root.fmt:[%10.6r]%e[%i:%P@%h]%e%m%n" --cfg contexts/factory:thread  --cd /home/navarrop/simgrid/simgrid/trunk/teshsuite/simdag/platforms/)
-ADD_TEST(memcheck-tesh-simdag-flatifier-thread-3 ${CMAKE_BINARY_DIR}/teshsuite/simdag/platforms/flatifier one_host_state_file.xml "--log=root.fmt:[%10.6r]%e[%i:%P@%h]%e%m%n" --cfg contexts/factory:thread  --cd /home/navarrop/simgrid/simgrid/trunk/teshsuite/simdag/platforms/)
-ADD_TEST(memcheck-tesh-simdag-flatifier-thread-4 ${CMAKE_BINARY_DIR}/teshsuite/simdag/platforms/flatifier one_host_state_off.xml "--log=root.fmt:[%10.6r]%e[%i:%P@%h]%e%m%n" --cfg contexts/factory:thread  --cd /home/navarrop/simgrid/simgrid/trunk/teshsuite/simdag/platforms/)
-ADD_TEST(memcheck-tesh-simdag-flatifier-thread-5 ${CMAKE_BINARY_DIR}/teshsuite/simdag/platforms/flatifier one_host_state_on.xml "--log=root.fmt:[%10.6r]%e[%i:%P@%h]%e%m%n" --cfg contexts/factory:thread  --cd /home/navarrop/simgrid/simgrid/trunk/teshsuite/simdag/platforms/)
-ADD_TEST(memcheck-tesh-simdag-flatifier-thread-6 ${CMAKE_BINARY_DIR}/teshsuite/simdag/platforms/flatifier one_host_trace_file.xml "--log=root.fmt:[%10.6r]%e[%i:%P@%h]%e%m%n" --cfg contexts/factory:thread  --cd /home/navarrop/simgrid/simgrid/trunk/teshsuite/simdag/platforms/)
-ADD_TEST(memcheck-tesh-simdag-flatifier-thread-7 ${CMAKE_BINARY_DIR}/teshsuite/simdag/platforms/flatifier one_host_trace_inside.xml "--log=root.fmt:[%10.6r]%e[%i:%P@%h]%e%m%n" --cfg contexts/factory:thread  --cd /home/navarrop/simgrid/simgrid/trunk/teshsuite/simdag/platforms/)
-ADD_TEST(memcheck-tesh-simdag-flatifier-thread-8 ${CMAKE_BINARY_DIR}/teshsuite/simdag/platforms/flatifier one_host.xml "--log=root.fmt:[%10.6r]%e[%i:%P@%h]%e%m%n" --cfg contexts/factory:thread  --cd /home/navarrop/simgrid/simgrid/trunk/teshsuite/simdag/platforms/)
-ADD_TEST(memcheck-tesh-simdag-flatifier-thread-9 ${CMAKE_BINARY_DIR}/teshsuite/simdag/platforms/flatifier one_link_availability.xml "--log=root.fmt:[%10.6r]%e[%i:%P@%h]%e%m%n" --cfg contexts/factory:thread  --cd /home/navarrop/simgrid/simgrid/trunk/teshsuite/simdag/platforms/)
-ADD_TEST(memcheck-tesh-simdag-flatifier-thread-10 ${CMAKE_BINARY_DIR}/teshsuite/simdag/platforms/flatifier one_link_fatpipe.xml "--log=root.fmt:[%10.6r]%e[%i:%P@%h]%e%m%n" --cfg contexts/factory:thread  --cd /home/navarrop/simgrid/simgrid/trunk/teshsuite/simdag/platforms/)
-ADD_TEST(memcheck-tesh-simdag-flatifier-thread-11 ${CMAKE_BINARY_DIR}/teshsuite/simdag/platforms/flatifier one_link_shared.xml "--log=root.fmt:[%10.6r]%e[%i:%P@%h]%e%m%n" --cfg contexts/factory:thread  --cd /home/navarrop/simgrid/simgrid/trunk/teshsuite/simdag/platforms/)
-ADD_TEST(memcheck-tesh-simdag-flatifier-thread-12 ${CMAKE_BINARY_DIR}/teshsuite/simdag/platforms/flatifier one_link_state_file.xml "--log=root.fmt:[%10.6r]%e[%i:%P@%h]%e%m%n" --cfg contexts/factory:thread  --cd /home/navarrop/simgrid/simgrid/trunk/teshsuite/simdag/platforms/)
-ADD_TEST(memcheck-tesh-simdag-flatifier-thread-13 ${CMAKE_BINARY_DIR}/teshsuite/simdag/platforms/flatifier three_hosts_non_symmetric_route.xml "--log=root.fmt:[%10.6r]%e[%i:%P@%h]%e%m%n" --cfg contexts/factory:thread  --cd /home/navarrop/simgrid/simgrid/trunk/teshsuite/simdag/platforms/)
-ADD_TEST(memcheck-tesh-simdag-flatifier-thread-14 ${CMAKE_BINARY_DIR}/teshsuite/simdag/platforms/flatifier two_clusters.xml "--log=root.fmt:[%10.6r]%e[%i:%P@%h]%e%m%n" --cfg contexts/factory:thread  --cd /home/navarrop/simgrid/simgrid/trunk/teshsuite/simdag/platforms/)
-ADD_TEST(memcheck-tesh-simdag-flatifier-thread-15 ${CMAKE_BINARY_DIR}/teshsuite/simdag/platforms/flatifier two_hosts_multi_hop.xml "--log=root.fmt:[%10.6r]%e[%i:%P@%h]%e%m%n" --cfg contexts/factory:thread  --cd /home/navarrop/simgrid/simgrid/trunk/teshsuite/simdag/platforms/)
-ADD_TEST(memcheck-tesh-simdag-flatifier-thread-16 ${CMAKE_BINARY_DIR}/teshsuite/simdag/platforms/flatifier two_hosts_one_link.xml "--log=root.fmt:[%10.6r]%e[%i:%P@%h]%e%m%n" --cfg contexts/factory:thread  --cd /home/navarrop/simgrid/simgrid/trunk/teshsuite/simdag/platforms/)
-ADD_TEST(memcheck-tesh-simdag-flatifier-ucontext-0 ${CMAKE_BINARY_DIR}/teshsuite/simdag/platforms/flatifier one_cluster.xml "--log=root.fmt:[%10.6r]%e[%i:%P@%h]%e%m%n" --cfg contexts/factory:ucontext  --cd /home/navarrop/simgrid/simgrid/trunk/teshsuite/simdag/platforms/)
-ADD_TEST(memcheck-tesh-simdag-flatifier-ucontext-1 ${CMAKE_BINARY_DIR}/teshsuite/simdag/platforms/flatifier one_host_availability.xml "--log=root.fmt:[%10.6r]%e[%i:%P@%h]%e%m%n" --cfg contexts/factory:ucontext  --cd /home/navarrop/simgrid/simgrid/trunk/teshsuite/simdag/platforms/)
-ADD_TEST(memcheck-tesh-simdag-flatifier-ucontext-2 ${CMAKE_BINARY_DIR}/teshsuite/simdag/platforms/flatifier one_host_properties.xml "--log=root.fmt:[%10.6r]%e[%i:%P@%h]%e%m%n" --cfg contexts/factory:ucontext  --cd /home/navarrop/simgrid/simgrid/trunk/teshsuite/simdag/platforms/)
-ADD_TEST(memcheck-tesh-simdag-flatifier-ucontext-3 ${CMAKE_BINARY_DIR}/teshsuite/simdag/platforms/flatifier one_host_state_file.xml "--log=root.fmt:[%10.6r]%e[%i:%P@%h]%e%m%n" --cfg contexts/factory:ucontext  --cd /home/navarrop/simgrid/simgrid/trunk/teshsuite/simdag/platforms/)
-ADD_TEST(memcheck-tesh-simdag-flatifier-ucontext-4 ${CMAKE_BINARY_DIR}/teshsuite/simdag/platforms/flatifier one_host_state_off.xml "--log=root.fmt:[%10.6r]%e[%i:%P@%h]%e%m%n" --cfg contexts/factory:ucontext  --cd /home/navarrop/simgrid/simgrid/trunk/teshsuite/simdag/platforms/)
-ADD_TEST(memcheck-tesh-simdag-flatifier-ucontext-5 ${CMAKE_BINARY_DIR}/teshsuite/simdag/platforms/flatifier one_host_state_on.xml "--log=root.fmt:[%10.6r]%e[%i:%P@%h]%e%m%n" --cfg contexts/factory:ucontext  --cd /home/navarrop/simgrid/simgrid/trunk/teshsuite/simdag/platforms/)
-ADD_TEST(memcheck-tesh-simdag-flatifier-ucontext-6 ${CMAKE_BINARY_DIR}/teshsuite/simdag/platforms/flatifier one_host_trace_file.xml "--log=root.fmt:[%10.6r]%e[%i:%P@%h]%e%m%n" --cfg contexts/factory:ucontext  --cd /home/navarrop/simgrid/simgrid/trunk/teshsuite/simdag/platforms/)
-ADD_TEST(memcheck-tesh-simdag-flatifier-ucontext-7 ${CMAKE_BINARY_DIR}/teshsuite/simdag/platforms/flatifier one_host_trace_inside.xml "--log=root.fmt:[%10.6r]%e[%i:%P@%h]%e%m%n" --cfg contexts/factory:ucontext  --cd /home/navarrop/simgrid/simgrid/trunk/teshsuite/simdag/platforms/)
-ADD_TEST(memcheck-tesh-simdag-flatifier-ucontext-8 ${CMAKE_BINARY_DIR}/teshsuite/simdag/platforms/flatifier one_host.xml "--log=root.fmt:[%10.6r]%e[%i:%P@%h]%e%m%n" --cfg contexts/factory:ucontext  --cd /home/navarrop/simgrid/simgrid/trunk/teshsuite/simdag/platforms/)
-ADD_TEST(memcheck-tesh-simdag-flatifier-ucontext-9 ${CMAKE_BINARY_DIR}/teshsuite/simdag/platforms/flatifier one_link_availability.xml "--log=root.fmt:[%10.6r]%e[%i:%P@%h]%e%m%n" --cfg contexts/factory:ucontext  --cd /home/navarrop/simgrid/simgrid/trunk/teshsuite/simdag/platforms/)
-ADD_TEST(memcheck-tesh-simdag-flatifier-ucontext-10 ${CMAKE_BINARY_DIR}/teshsuite/simdag/platforms/flatifier one_link_fatpipe.xml "--log=root.fmt:[%10.6r]%e[%i:%P@%h]%e%m%n" --cfg contexts/factory:ucontext  --cd /home/navarrop/simgrid/simgrid/trunk/teshsuite/simdag/platforms/)
-ADD_TEST(memcheck-tesh-simdag-flatifier-ucontext-11 ${CMAKE_BINARY_DIR}/teshsuite/simdag/platforms/flatifier one_link_shared.xml "--log=root.fmt:[%10.6r]%e[%i:%P@%h]%e%m%n" --cfg contexts/factory:ucontext  --cd /home/navarrop/simgrid/simgrid/trunk/teshsuite/simdag/platforms/)
-ADD_TEST(memcheck-tesh-simdag-flatifier-ucontext-12 ${CMAKE_BINARY_DIR}/teshsuite/simdag/platforms/flatifier one_link_state_file.xml "--log=root.fmt:[%10.6r]%e[%i:%P@%h]%e%m%n" --cfg contexts/factory:ucontext  --cd /home/navarrop/simgrid/simgrid/trunk/teshsuite/simdag/platforms/)
-ADD_TEST(memcheck-tesh-simdag-flatifier-ucontext-13 ${CMAKE_BINARY_DIR}/teshsuite/simdag/platforms/flatifier three_hosts_non_symmetric_route.xml "--log=root.fmt:[%10.6r]%e[%i:%P@%h]%e%m%n" --cfg contexts/factory:ucontext  --cd /home/navarrop/simgrid/simgrid/trunk/teshsuite/simdag/platforms/)
-ADD_TEST(memcheck-tesh-simdag-flatifier-ucontext-14 ${CMAKE_BINARY_DIR}/teshsuite/simdag/platforms/flatifier two_clusters.xml "--log=root.fmt:[%10.6r]%e[%i:%P@%h]%e%m%n" --cfg contexts/factory:ucontext  --cd /home/navarrop/simgrid/simgrid/trunk/teshsuite/simdag/platforms/)
-ADD_TEST(memcheck-tesh-simdag-flatifier-ucontext-15 ${CMAKE_BINARY_DIR}/teshsuite/simdag/platforms/flatifier two_hosts_multi_hop.xml "--log=root.fmt:[%10.6r]%e[%i:%P@%h]%e%m%n" --cfg contexts/factory:ucontext  --cd /home/navarrop/simgrid/simgrid/trunk/teshsuite/simdag/platforms/)
-ADD_TEST(memcheck-tesh-simdag-flatifier-ucontext-16 ${CMAKE_BINARY_DIR}/teshsuite/simdag/platforms/flatifier two_hosts_one_link.xml "--log=root.fmt:[%10.6r]%e[%i:%P@%h]%e%m%n" --cfg contexts/factory:ucontext  --cd /home/navarrop/simgrid/simgrid/trunk/teshsuite/simdag/platforms/)
-ADD_TEST(memcheck-tesh-simdag-full-links-raw-0 ${CMAKE_BINARY_DIR}/teshsuite/simdag/platforms/basic_parsing_test ./four_hosts_floyd.xml FULL_LINK --cfg contexts/factory:raw  --cd /home/navarrop/simgrid/simgrid/trunk/teshsuite/simdag/platforms/)
-ADD_TEST(memcheck-tesh-simdag-full-links-raw-1 ${CMAKE_BINARY_DIR}/teshsuite/simdag/platforms/basic_parsing_test ./four_hosts_floyd_bis.xml FULL_LINK --cfg contexts/factory:raw  --cd /home/navarrop/simgrid/simgrid/trunk/teshsuite/simdag/platforms/)
-ADD_TEST(memcheck-tesh-simdag-full-links-thread-0 ${CMAKE_BINARY_DIR}/teshsuite/simdag/platforms/basic_parsing_test ./four_hosts_floyd.xml FULL_LINK --cfg contexts/factory:thread  --cd /home/navarrop/simgrid/simgrid/trunk/teshsuite/simdag/platforms/)
-ADD_TEST(memcheck-tesh-simdag-full-links-thread-1 ${CMAKE_BINARY_DIR}/teshsuite/simdag/platforms/basic_parsing_test ./four_hosts_floyd_bis.xml FULL_LINK --cfg contexts/factory:thread  --cd /home/navarrop/simgrid/simgrid/trunk/teshsuite/simdag/platforms/)
-ADD_TEST(memcheck-tesh-simdag-full-links-ucontext-0 ${CMAKE_BINARY_DIR}/teshsuite/simdag/platforms/basic_parsing_test ./four_hosts_floyd.xml FULL_LINK --cfg contexts/factory:ucontext  --cd /home/navarrop/simgrid/simgrid/trunk/teshsuite/simdag/platforms/)
-ADD_TEST(memcheck-tesh-simdag-full-links-ucontext-1 ${CMAKE_BINARY_DIR}/teshsuite/simdag/platforms/basic_parsing_test ./four_hosts_floyd_bis.xml FULL_LINK --cfg contexts/factory:ucontext  --cd /home/navarrop/simgrid/simgrid/trunk/teshsuite/simdag/platforms/)
-ADD_TEST(memcheck-tesh-simdag-basic0-raw-0 ${CMAKE_BINARY_DIR}/teshsuite/simdag/basic0 ${CMAKE_BINARY_DIR}/teshsuite/simdag/basic_platform.xml --surf-path=${CMAKE_HOME_DIRECTORY}/src "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg contexts/factory:raw  --cd ${CMAKE_BINARY_DIR}/teshsuite/)
-ADD_TEST(memcheck-tesh-simdag-basic0-thread-0 ${CMAKE_BINARY_DIR}/teshsuite/simdag/basic0 ${CMAKE_BINARY_DIR}/teshsuite/simdag/basic_platform.xml --surf-path=${CMAKE_HOME_DIRECTORY}/src "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg contexts/factory:thread  --cd ${CMAKE_BINARY_DIR}/teshsuite/)
-ADD_TEST(memcheck-tesh-simdag-basic0-ucontext-0 ${CMAKE_BINARY_DIR}/teshsuite/simdag/basic0 ${CMAKE_BINARY_DIR}/teshsuite/simdag/basic_platform.xml --surf-path=${CMAKE_HOME_DIRECTORY}/src "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg contexts/factory:ucontext  --cd ${CMAKE_BINARY_DIR}/teshsuite/)
-ADD_TEST(memcheck-tesh-simdag-basic1-raw-0 ${CMAKE_BINARY_DIR}/teshsuite/simdag/basic1 ${CMAKE_BINARY_DIR}/teshsuite/simdag/basic_platform.xml --surf-path=${CMAKE_HOME_DIRECTORY}/src "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg contexts/factory:raw  --cd ${CMAKE_BINARY_DIR}/teshsuite/)
-ADD_TEST(memcheck-tesh-simdag-basic1-thread-0 ${CMAKE_BINARY_DIR}/teshsuite/simdag/basic1 ${CMAKE_BINARY_DIR}/teshsuite/simdag/basic_platform.xml --surf-path=${CMAKE_HOME_DIRECTORY}/src "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg contexts/factory:thread  --cd ${CMAKE_BINARY_DIR}/teshsuite/)
-ADD_TEST(memcheck-tesh-simdag-basic1-ucontext-0 ${CMAKE_BINARY_DIR}/teshsuite/simdag/basic1 ${CMAKE_BINARY_DIR}/teshsuite/simdag/basic_platform.xml --surf-path=${CMAKE_HOME_DIRECTORY}/src "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg contexts/factory:ucontext  --cd ${CMAKE_BINARY_DIR}/teshsuite/)
-ADD_TEST(memcheck-tesh-simdag-basic2-raw-0 ${CMAKE_BINARY_DIR}/teshsuite/simdag/basic2 ${CMAKE_BINARY_DIR}/teshsuite/simdag/basic_platform.xml --surf-path=${CMAKE_HOME_DIRECTORY}/src "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg contexts/factory:raw  --cd ${CMAKE_BINARY_DIR}/teshsuite/)
-ADD_TEST(memcheck-tesh-simdag-basic2-thread-0 ${CMAKE_BINARY_DIR}/teshsuite/simdag/basic2 ${CMAKE_BINARY_DIR}/teshsuite/simdag/basic_platform.xml --surf-path=${CMAKE_HOME_DIRECTORY}/src "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg contexts/factory:thread  --cd ${CMAKE_BINARY_DIR}/teshsuite/)
-ADD_TEST(memcheck-tesh-simdag-basic2-ucontext-0 ${CMAKE_BINARY_DIR}/teshsuite/simdag/basic2 ${CMAKE_BINARY_DIR}/teshsuite/simdag/basic_platform.xml --surf-path=${CMAKE_HOME_DIRECTORY}/src "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg contexts/factory:ucontext  --cd ${CMAKE_BINARY_DIR}/teshsuite/)
-ADD_TEST(memcheck-tesh-simdag-basic3-raw-0 ${CMAKE_BINARY_DIR}/teshsuite/simdag/basic3 ${CMAKE_BINARY_DIR}/teshsuite/simdag/basic_platform.xml --surf-path=${CMAKE_HOME_DIRECTORY}/src "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg contexts/factory:raw  --cd ${CMAKE_BINARY_DIR}/teshsuite/)
-ADD_TEST(memcheck-tesh-simdag-basic3-thread-0 ${CMAKE_BINARY_DIR}/teshsuite/simdag/basic3 ${CMAKE_BINARY_DIR}/teshsuite/simdag/basic_platform.xml --surf-path=${CMAKE_HOME_DIRECTORY}/src "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg contexts/factory:thread  --cd ${CMAKE_BINARY_DIR}/teshsuite/)
-ADD_TEST(memcheck-tesh-simdag-basic3-ucontext-0 ${CMAKE_BINARY_DIR}/teshsuite/simdag/basic3 ${CMAKE_BINARY_DIR}/teshsuite/simdag/basic_platform.xml --surf-path=${CMAKE_HOME_DIRECTORY}/src "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg contexts/factory:ucontext  --cd ${CMAKE_BINARY_DIR}/teshsuite/)
-ADD_TEST(memcheck-tesh-simdag-basic4-raw-0 ${CMAKE_BINARY_DIR}/teshsuite/simdag/basic4 ${CMAKE_BINARY_DIR}/teshsuite/simdag/basic_platform.xml --surf-path=${CMAKE_HOME_DIRECTORY}/src "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg contexts/factory:raw  --cd ${CMAKE_BINARY_DIR}/teshsuite/)
-ADD_TEST(memcheck-tesh-simdag-basic4-thread-0 ${CMAKE_BINARY_DIR}/teshsuite/simdag/basic4 ${CMAKE_BINARY_DIR}/teshsuite/simdag/basic_platform.xml --surf-path=${CMAKE_HOME_DIRECTORY}/src "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg contexts/factory:thread  --cd ${CMAKE_BINARY_DIR}/teshsuite/)
-ADD_TEST(memcheck-tesh-simdag-basic4-ucontext-0 ${CMAKE_BINARY_DIR}/teshsuite/simdag/basic4 ${CMAKE_BINARY_DIR}/teshsuite/simdag/basic_platform.xml --surf-path=${CMAKE_HOME_DIRECTORY}/src "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg contexts/factory:ucontext  --cd ${CMAKE_BINARY_DIR}/teshsuite/)
-ADD_TEST(memcheck-tesh-simdag-basic5-raw-0 ${CMAKE_BINARY_DIR}/teshsuite/simdag/basic5 ${CMAKE_BINARY_DIR}/teshsuite/simdag/basic_platform.xml --surf-path=${CMAKE_HOME_DIRECTORY}/src "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg contexts/factory:raw  --cd ${CMAKE_BINARY_DIR}/teshsuite/)
-ADD_TEST(memcheck-tesh-simdag-basic5-thread-0 ${CMAKE_BINARY_DIR}/teshsuite/simdag/basic5 ${CMAKE_BINARY_DIR}/teshsuite/simdag/basic_platform.xml --surf-path=${CMAKE_HOME_DIRECTORY}/src "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg contexts/factory:thread  --cd ${CMAKE_BINARY_DIR}/teshsuite/)
-ADD_TEST(memcheck-tesh-simdag-basic5-ucontext-0 ${CMAKE_BINARY_DIR}/teshsuite/simdag/basic5 ${CMAKE_BINARY_DIR}/teshsuite/simdag/basic_platform.xml --surf-path=${CMAKE_HOME_DIRECTORY}/src "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg contexts/factory:ucontext  --cd ${CMAKE_BINARY_DIR}/teshsuite/)
-ADD_TEST(memcheck-tesh-simdag-basic6-raw-0 ${CMAKE_BINARY_DIR}/teshsuite/simdag/basic6 ${CMAKE_BINARY_DIR}/teshsuite/simdag/network/p2p/platform_2p_1sl.xml --surf-path=${CMAKE_HOME_DIRECTORY}/src "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg contexts/factory:raw  --cd ${CMAKE_BINARY_DIR}/teshsuite/)
-ADD_TEST(memcheck-tesh-simdag-basic6-thread-0 ${CMAKE_BINARY_DIR}/teshsuite/simdag/basic6 ${CMAKE_BINARY_DIR}/teshsuite/simdag/network/p2p/platform_2p_1sl.xml --surf-path=${CMAKE_HOME_DIRECTORY}/src "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg contexts/factory:thread  --cd ${CMAKE_BINARY_DIR}/teshsuite/)
-ADD_TEST(memcheck-tesh-simdag-basic6-ucontext-0 ${CMAKE_BINARY_DIR}/teshsuite/simdag/basic6 ${CMAKE_BINARY_DIR}/teshsuite/simdag/network/p2p/platform_2p_1sl.xml --surf-path=${CMAKE_HOME_DIRECTORY}/src "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg contexts/factory:ucontext  --cd ${CMAKE_BINARY_DIR}/teshsuite/)
-ADD_TEST(memcheck-tesh-simdag-p2p-1-raw-0 ${CMAKE_BINARY_DIR}/teshsuite/simdag/network/p2p/test_latency1 ${CMAKE_BINARY_DIR}/teshsuite/simdag/network/p2p/platform_2p_1sl.xml --surf-path=${CMAKE_HOME_DIRECTORY}/src --log=sd_kernel.thres=warning "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg contexts/factory:raw  --cd ${CMAKE_BINARY_DIR}/teshsuite/)
-ADD_TEST(memcheck-tesh-simdag-p2p-1-raw-1 ${CMAKE_BINARY_DIR}/teshsuite/simdag/network/p2p/test_latency1 ${CMAKE_BINARY_DIR}/teshsuite/simdag/network/p2p/platform_2p_1fl.xml --surf-path=${CMAKE_HOME_DIRECTORY}/src --log=sd_kernel.thres=warning "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg contexts/factory:raw  --cd ${CMAKE_BINARY_DIR}/teshsuite/)
-ADD_TEST(memcheck-tesh-simdag-p2p-1-raw-2 ${CMAKE_BINARY_DIR}/teshsuite/simdag/network/p2p/test_latency1 ${CMAKE_BINARY_DIR}/teshsuite/simdag/network/p2p/platform_2p_1switch.xml --surf-path=${CMAKE_HOME_DIRECTORY}/src --log=sd_kernel.thres=warning "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg contexts/factory:raw  --cd ${CMAKE_BINARY_DIR}/teshsuite/)
-ADD_TEST(memcheck-tesh-simdag-p2p-1-thread-0 ${CMAKE_BINARY_DIR}/teshsuite/simdag/network/p2p/test_latency1 ${CMAKE_BINARY_DIR}/teshsuite/simdag/network/p2p/platform_2p_1sl.xml --surf-path=${CMAKE_HOME_DIRECTORY}/src --log=sd_kernel.thres=warning "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg contexts/factory:thread  --cd ${CMAKE_BINARY_DIR}/teshsuite/)
-ADD_TEST(memcheck-tesh-simdag-p2p-1-thread-1 ${CMAKE_BINARY_DIR}/teshsuite/simdag/network/p2p/test_latency1 ${CMAKE_BINARY_DIR}/teshsuite/simdag/network/p2p/platform_2p_1fl.xml --surf-path=${CMAKE_HOME_DIRECTORY}/src --log=sd_kernel.thres=warning "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg contexts/factory:thread  --cd ${CMAKE_BINARY_DIR}/teshsuite/)
-ADD_TEST(memcheck-tesh-simdag-p2p-1-thread-2 ${CMAKE_BINARY_DIR}/teshsuite/simdag/network/p2p/test_latency1 ${CMAKE_BINARY_DIR}/teshsuite/simdag/network/p2p/platform_2p_1switch.xml --surf-path=${CMAKE_HOME_DIRECTORY}/src --log=sd_kernel.thres=warning "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg contexts/factory:thread  --cd ${CMAKE_BINARY_DIR}/teshsuite/)
-ADD_TEST(memcheck-tesh-simdag-p2p-1-ucontext-0 ${CMAKE_BINARY_DIR}/teshsuite/simdag/network/p2p/test_latency1 ${CMAKE_BINARY_DIR}/teshsuite/simdag/network/p2p/platform_2p_1sl.xml --surf-path=${CMAKE_HOME_DIRECTORY}/src --log=sd_kernel.thres=warning "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg contexts/factory:ucontext  --cd ${CMAKE_BINARY_DIR}/teshsuite/)
-ADD_TEST(memcheck-tesh-simdag-p2p-1-ucontext-1 ${CMAKE_BINARY_DIR}/teshsuite/simdag/network/p2p/test_latency1 ${CMAKE_BINARY_DIR}/teshsuite/simdag/network/p2p/platform_2p_1fl.xml --surf-path=${CMAKE_HOME_DIRECTORY}/src --log=sd_kernel.thres=warning "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg contexts/factory:ucontext  --cd ${CMAKE_BINARY_DIR}/teshsuite/)
-ADD_TEST(memcheck-tesh-simdag-p2p-1-ucontext-2 ${CMAKE_BINARY_DIR}/teshsuite/simdag/network/p2p/test_latency1 ${CMAKE_BINARY_DIR}/teshsuite/simdag/network/p2p/platform_2p_1switch.xml --surf-path=${CMAKE_HOME_DIRECTORY}/src --log=sd_kernel.thres=warning "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg contexts/factory:ucontext  --cd ${CMAKE_BINARY_DIR}/teshsuite/)
-ADD_TEST(memcheck-tesh-simdag-p2p-2-raw-0 ${CMAKE_BINARY_DIR}/teshsuite/simdag/network/p2p/test_latency2 ${CMAKE_BINARY_DIR}/teshsuite/simdag/network/p2p/platform_2p_1sl.xml --surf-path=${CMAKE_HOME_DIRECTORY}/src --log=sd_kernel.thres=warning "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg contexts/factory:raw  --cd ${CMAKE_BINARY_DIR}/teshsuite/)
-ADD_TEST(memcheck-tesh-simdag-p2p-2-raw-1 ${CMAKE_BINARY_DIR}/teshsuite/simdag/network/p2p/test_latency2 ${CMAKE_BINARY_DIR}/teshsuite/simdag/network/p2p/platform_2p_1fl.xml --surf-path=${CMAKE_HOME_DIRECTORY}/src --log=sd_kernel.thres=warning "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg contexts/factory:raw  --cd ${CMAKE_BINARY_DIR}/teshsuite/)
-ADD_TEST(memcheck-tesh-simdag-p2p-2-raw-2 ${CMAKE_BINARY_DIR}/teshsuite/simdag/network/p2p/test_latency2 ${CMAKE_BINARY_DIR}/teshsuite/simdag/network/p2p/platform_2p_1switch.xml --surf-path=${CMAKE_HOME_DIRECTORY}/src --log=sd_kernel.thres=warning "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg contexts/factory:raw  --cd ${CMAKE_BINARY_DIR}/teshsuite/)
-ADD_TEST(memcheck-tesh-simdag-p2p-2-thread-0 ${CMAKE_BINARY_DIR}/teshsuite/simdag/network/p2p/test_latency2 ${CMAKE_BINARY_DIR}/teshsuite/simdag/network/p2p/platform_2p_1sl.xml --surf-path=${CMAKE_HOME_DIRECTORY}/src --log=sd_kernel.thres=warning "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg contexts/factory:thread  --cd ${CMAKE_BINARY_DIR}/teshsuite/)
-ADD_TEST(memcheck-tesh-simdag-p2p-2-thread-1 ${CMAKE_BINARY_DIR}/teshsuite/simdag/network/p2p/test_latency2 ${CMAKE_BINARY_DIR}/teshsuite/simdag/network/p2p/platform_2p_1fl.xml --surf-path=${CMAKE_HOME_DIRECTORY}/src --log=sd_kernel.thres=warning "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg contexts/factory:thread  --cd ${CMAKE_BINARY_DIR}/teshsuite/)
-ADD_TEST(memcheck-tesh-simdag-p2p-2-thread-2 ${CMAKE_BINARY_DIR}/teshsuite/simdag/network/p2p/test_latency2 ${CMAKE_BINARY_DIR}/teshsuite/simdag/network/p2p/platform_2p_1switch.xml --surf-path=${CMAKE_HOME_DIRECTORY}/src --log=sd_kernel.thres=warning "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg contexts/factory:thread  --cd ${CMAKE_BINARY_DIR}/teshsuite/)
-ADD_TEST(memcheck-tesh-simdag-p2p-2-ucontext-0 ${CMAKE_BINARY_DIR}/teshsuite/simdag/network/p2p/test_latency2 ${CMAKE_BINARY_DIR}/teshsuite/simdag/network/p2p/platform_2p_1sl.xml --surf-path=${CMAKE_HOME_DIRECTORY}/src --log=sd_kernel.thres=warning "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg contexts/factory:ucontext  --cd ${CMAKE_BINARY_DIR}/teshsuite/)
-ADD_TEST(memcheck-tesh-simdag-p2p-2-ucontext-1 ${CMAKE_BINARY_DIR}/teshsuite/simdag/network/p2p/test_latency2 ${CMAKE_BINARY_DIR}/teshsuite/simdag/network/p2p/platform_2p_1fl.xml --surf-path=${CMAKE_HOME_DIRECTORY}/src --log=sd_kernel.thres=warning "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg contexts/factory:ucontext  --cd ${CMAKE_BINARY_DIR}/teshsuite/)
-ADD_TEST(memcheck-tesh-simdag-p2p-2-ucontext-2 ${CMAKE_BINARY_DIR}/teshsuite/simdag/network/p2p/test_latency2 ${CMAKE_BINARY_DIR}/teshsuite/simdag/network/p2p/platform_2p_1switch.xml --surf-path=${CMAKE_HOME_DIRECTORY}/src --log=sd_kernel.thres=warning "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg contexts/factory:ucontext  --cd ${CMAKE_BINARY_DIR}/teshsuite/)
-ADD_TEST(memcheck-tesh-simdag-p2p-3-raw-0 ${CMAKE_BINARY_DIR}/teshsuite/simdag/network/p2p/test_latency3 ${CMAKE_BINARY_DIR}/teshsuite/simdag/network/p2p/platform_2p_1sl.xml --surf-path=${CMAKE_HOME_DIRECTORY}/src --log=sd_kernel.thres=warning "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg contexts/factory:raw  --cd ${CMAKE_BINARY_DIR}/teshsuite/)
-ADD_TEST(memcheck-tesh-simdag-p2p-3-raw-1 ${CMAKE_BINARY_DIR}/teshsuite/simdag/network/p2p/test_latency3 ${CMAKE_BINARY_DIR}/teshsuite/simdag/network/p2p/platform_2p_1fl.xml --surf-path=${CMAKE_HOME_DIRECTORY}/src --log=sd_kernel.thres=warning "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg contexts/factory:raw  --cd ${CMAKE_BINARY_DIR}/teshsuite/)
-ADD_TEST(memcheck-tesh-simdag-p2p-3-raw-2 ${CMAKE_BINARY_DIR}/teshsuite/simdag/network/p2p/test_latency3 ${CMAKE_BINARY_DIR}/teshsuite/simdag/network/p2p/platform_2p_1switch.xml --surf-path=${CMAKE_HOME_DIRECTORY}/src --log=sd_kernel.thres=warning "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg contexts/factory:raw  --cd ${CMAKE_BINARY_DIR}/teshsuite/)
-ADD_TEST(memcheck-tesh-simdag-p2p-3-thread-0 ${CMAKE_BINARY_DIR}/teshsuite/simdag/network/p2p/test_latency3 ${CMAKE_BINARY_DIR}/teshsuite/simdag/network/p2p/platform_2p_1sl.xml --surf-path=${CMAKE_HOME_DIRECTORY}/src --log=sd_kernel.thres=warning "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg contexts/factory:thread  --cd ${CMAKE_BINARY_DIR}/teshsuite/)
-ADD_TEST(memcheck-tesh-simdag-p2p-3-thread-1 ${CMAKE_BINARY_DIR}/teshsuite/simdag/network/p2p/test_latency3 ${CMAKE_BINARY_DIR}/teshsuite/simdag/network/p2p/platform_2p_1fl.xml --surf-path=${CMAKE_HOME_DIRECTORY}/src --log=sd_kernel.thres=warning "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg contexts/factory:thread  --cd ${CMAKE_BINARY_DIR}/teshsuite/)
-ADD_TEST(memcheck-tesh-simdag-p2p-3-thread-2 ${CMAKE_BINARY_DIR}/teshsuite/simdag/network/p2p/test_latency3 ${CMAKE_BINARY_DIR}/teshsuite/simdag/network/p2p/platform_2p_1switch.xml --surf-path=${CMAKE_HOME_DIRECTORY}/src --log=sd_kernel.thres=warning "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg contexts/factory:thread  --cd ${CMAKE_BINARY_DIR}/teshsuite/)
-ADD_TEST(memcheck-tesh-simdag-p2p-3-ucontext-0 ${CMAKE_BINARY_DIR}/teshsuite/simdag/network/p2p/test_latency3 ${CMAKE_BINARY_DIR}/teshsuite/simdag/network/p2p/platform_2p_1sl.xml --surf-path=${CMAKE_HOME_DIRECTORY}/src --log=sd_kernel.thres=warning "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg contexts/factory:ucontext  --cd ${CMAKE_BINARY_DIR}/teshsuite/)
-ADD_TEST(memcheck-tesh-simdag-p2p-3-ucontext-1 ${CMAKE_BINARY_DIR}/teshsuite/simdag/network/p2p/test_latency3 ${CMAKE_BINARY_DIR}/teshsuite/simdag/network/p2p/platform_2p_1fl.xml --surf-path=${CMAKE_HOME_DIRECTORY}/src --log=sd_kernel.thres=warning "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg contexts/factory:ucontext  --cd ${CMAKE_BINARY_DIR}/teshsuite/)
-ADD_TEST(memcheck-tesh-simdag-p2p-3-ucontext-2 ${CMAKE_BINARY_DIR}/teshsuite/simdag/network/p2p/test_latency3 ${CMAKE_BINARY_DIR}/teshsuite/simdag/network/p2p/platform_2p_1switch.xml --surf-path=${CMAKE_HOME_DIRECTORY}/src --log=sd_kernel.thres=warning "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg contexts/factory:ucontext  --cd ${CMAKE_BINARY_DIR}/teshsuite/)
-ADD_TEST(memcheck-tesh-simdag-p2p-4-raw-0 ${CMAKE_BINARY_DIR}/teshsuite/simdag/network/p2p/test_latency_bound ${CMAKE_BINARY_DIR}/teshsuite/simdag/network/p2p/platform_2p_1bb.xml --surf-path=${CMAKE_HOME_DIRECTORY}/src --log=sd_kernel.thres=warning "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg contexts/factory:raw  --cd ${CMAKE_BINARY_DIR}/teshsuite/)
-ADD_TEST(memcheck-tesh-simdag-p2p-4-thread-0 ${CMAKE_BINARY_DIR}/teshsuite/simdag/network/p2p/test_latency_bound ${CMAKE_BINARY_DIR}/teshsuite/simdag/network/p2p/platform_2p_1bb.xml --surf-path=${CMAKE_HOME_DIRECTORY}/src --log=sd_kernel.thres=warning "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg contexts/factory:thread  --cd ${CMAKE_BINARY_DIR}/teshsuite/)
-ADD_TEST(memcheck-tesh-simdag-p2p-4-ucontext-0 ${CMAKE_BINARY_DIR}/teshsuite/simdag/network/p2p/test_latency_bound ${CMAKE_BINARY_DIR}/teshsuite/simdag/network/p2p/platform_2p_1bb.xml --surf-path=${CMAKE_HOME_DIRECTORY}/src --log=sd_kernel.thres=warning "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg contexts/factory:ucontext  --cd ${CMAKE_BINARY_DIR}/teshsuite/)
-ADD_TEST(memcheck-tesh-simdag-mxn-1-raw-0 ${CMAKE_BINARY_DIR}/teshsuite/simdag/network/mxn/test_intra_all2all ${CMAKE_BINARY_DIR}/teshsuite/simdag/network/mxn/platform_4p_1switch.xml --surf-path=${CMAKE_HOME_DIRECTORY}/src --log=sd_kernel.thres=warning "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg contexts/factory:raw  --cd ${CMAKE_BINARY_DIR}/teshsuite/)
-ADD_TEST(memcheck-tesh-simdag-mxn-1-thread-0 ${CMAKE_BINARY_DIR}/teshsuite/simdag/network/mxn/test_intra_all2all ${CMAKE_BINARY_DIR}/teshsuite/simdag/network/mxn/platform_4p_1switch.xml --surf-path=${CMAKE_HOME_DIRECTORY}/src --log=sd_kernel.thres=warning "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg contexts/factory:thread  --cd ${CMAKE_BINARY_DIR}/teshsuite/)
-ADD_TEST(memcheck-tesh-simdag-mxn-1-ucontext-0 ${CMAKE_BINARY_DIR}/teshsuite/simdag/network/mxn/test_intra_all2all ${CMAKE_BINARY_DIR}/teshsuite/simdag/network/mxn/platform_4p_1switch.xml --surf-path=${CMAKE_HOME_DIRECTORY}/src --log=sd_kernel.thres=warning "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg contexts/factory:ucontext  --cd ${CMAKE_BINARY_DIR}/teshsuite/)
-ADD_TEST(memcheck-tesh-simdag-mxn-2-raw-0 ${CMAKE_BINARY_DIR}/teshsuite/simdag/network/mxn/test_intra_independent_comm ${CMAKE_BINARY_DIR}/teshsuite/simdag/network/mxn/platform_4p_1switch.xml --surf-path=${CMAKE_HOME_DIRECTORY}/src --log=sd_kernel.thres=warning "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg contexts/factory:raw  --cd ${CMAKE_BINARY_DIR}/teshsuite/)
-ADD_TEST(memcheck-tesh-simdag-mxn-2-thread-0 ${CMAKE_BINARY_DIR}/teshsuite/simdag/network/mxn/test_intra_independent_comm ${CMAKE_BINARY_DIR}/teshsuite/simdag/network/mxn/platform_4p_1switch.xml --surf-path=${CMAKE_HOME_DIRECTORY}/src --log=sd_kernel.thres=warning "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg contexts/factory:thread  --cd ${CMAKE_BINARY_DIR}/teshsuite/)
-ADD_TEST(memcheck-tesh-simdag-mxn-2-ucontext-0 ${CMAKE_BINARY_DIR}/teshsuite/simdag/network/mxn/test_intra_independent_comm ${CMAKE_BINARY_DIR}/teshsuite/simdag/network/mxn/platform_4p_1switch.xml --surf-path=${CMAKE_HOME_DIRECTORY}/src --log=sd_kernel.thres=warning "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg contexts/factory:ucontext  --cd ${CMAKE_BINARY_DIR}/teshsuite/)
-ADD_TEST(memcheck-tesh-simdag-mxn-3-raw-0 ${CMAKE_BINARY_DIR}/teshsuite/simdag/network/mxn/test_intra_scatter ${CMAKE_BINARY_DIR}/teshsuite/simdag/network/mxn/platform_4p_1switch.xml --surf-path=${CMAKE_HOME_DIRECTORY}/src --log=sd_kernel.thres=warning "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg contexts/factory:raw  --cd ${CMAKE_BINARY_DIR}/teshsuite/)
-ADD_TEST(memcheck-tesh-simdag-mxn-3-thread-0 ${CMAKE_BINARY_DIR}/teshsuite/simdag/network/mxn/test_intra_scatter ${CMAKE_BINARY_DIR}/teshsuite/simdag/network/mxn/platform_4p_1switch.xml --surf-path=${CMAKE_HOME_DIRECTORY}/src --log=sd_kernel.thres=warning "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg contexts/factory:thread  --cd ${CMAKE_BINARY_DIR}/teshsuite/)
-ADD_TEST(memcheck-tesh-simdag-mxn-3-ucontext-0 ${CMAKE_BINARY_DIR}/teshsuite/simdag/network/mxn/test_intra_scatter ${CMAKE_BINARY_DIR}/teshsuite/simdag/network/mxn/platform_4p_1switch.xml --surf-path=${CMAKE_HOME_DIRECTORY}/src --log=sd_kernel.thres=warning "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg contexts/factory:ucontext  --cd ${CMAKE_BINARY_DIR}/teshsuite/)
-ADD_TEST(memcheck-tesh-simdag-par-1-raw-0 ${CMAKE_BINARY_DIR}/teshsuite/simdag/partask/test_comp_only_seq ${CMAKE_BINARY_DIR}/teshsuite/simdag/partask/platform_2p_1sl.xml --surf-path=${CMAKE_HOME_DIRECTORY}/src --log=sd_kernel.thres=warning "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg contexts/factory:raw  --cd ${CMAKE_BINARY_DIR}/teshsuite/)
-ADD_TEST(memcheck-tesh-simdag-par-1-thread-0 ${CMAKE_BINARY_DIR}/teshsuite/simdag/partask/test_comp_only_seq ${CMAKE_BINARY_DIR}/teshsuite/simdag/partask/platform_2p_1sl.xml --surf-path=${CMAKE_HOME_DIRECTORY}/src --log=sd_kernel.thres=warning "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg contexts/factory:thread  --cd ${CMAKE_BINARY_DIR}/teshsuite/)
-ADD_TEST(memcheck-tesh-simdag-par-1-ucontext-0 ${CMAKE_BINARY_DIR}/teshsuite/simdag/partask/test_comp_only_seq ${CMAKE_BINARY_DIR}/teshsuite/simdag/partask/platform_2p_1sl.xml --surf-path=${CMAKE_HOME_DIRECTORY}/src --log=sd_kernel.thres=warning "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg contexts/factory:ucontext  --cd ${CMAKE_BINARY_DIR}/teshsuite/)
-ADD_TEST(memcheck-tesh-simdag-par-2-raw-0 ${CMAKE_BINARY_DIR}/teshsuite/simdag/partask/test_comp_only_par ${CMAKE_BINARY_DIR}/teshsuite/simdag/partask/platform_2p_1sl.xml --surf-path=${CMAKE_HOME_DIRECTORY}/src --log=sd_kernel.thres=warning "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg contexts/factory:raw  --cd ${CMAKE_BINARY_DIR}/teshsuite/)
-ADD_TEST(memcheck-tesh-simdag-par-2-raw-1 ${CMAKE_BINARY_DIR}/teshsuite/simdag/partask/test_comp_only_par ${CMAKE_BINARY_DIR}/teshsuite/simdag/partask/platform_2p_1sl_hetero.xml --surf-path=${CMAKE_HOME_DIRECTORY}/src --log=sd_kernel.thres=warning "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg contexts/factory:raw  --cd ${CMAKE_BINARY_DIR}/teshsuite/)
-ADD_TEST(memcheck-tesh-simdag-par-2-thread-0 ${CMAKE_BINARY_DIR}/teshsuite/simdag/partask/test_comp_only_par ${CMAKE_BINARY_DIR}/teshsuite/simdag/partask/platform_2p_1sl.xml --surf-path=${CMAKE_HOME_DIRECTORY}/src --log=sd_kernel.thres=warning "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg contexts/factory:thread  --cd ${CMAKE_BINARY_DIR}/teshsuite/)
-ADD_TEST(memcheck-tesh-simdag-par-2-thread-1 ${CMAKE_BINARY_DIR}/teshsuite/simdag/partask/test_comp_only_par ${CMAKE_BINARY_DIR}/teshsuite/simdag/partask/platform_2p_1sl_hetero.xml --surf-path=${CMAKE_HOME_DIRECTORY}/src --log=sd_kernel.thres=warning "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg contexts/factory:thread  --cd ${CMAKE_BINARY_DIR}/teshsuite/)
-ADD_TEST(memcheck-tesh-simdag-par-2-ucontext-0 ${CMAKE_BINARY_DIR}/teshsuite/simdag/partask/test_comp_only_par ${CMAKE_BINARY_DIR}/teshsuite/simdag/partask/platform_2p_1sl.xml --surf-path=${CMAKE_HOME_DIRECTORY}/src --log=sd_kernel.thres=warning "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg contexts/factory:ucontext  --cd ${CMAKE_BINARY_DIR}/teshsuite/)
-ADD_TEST(memcheck-tesh-simdag-par-2-ucontext-1 ${CMAKE_BINARY_DIR}/teshsuite/simdag/partask/test_comp_only_par ${CMAKE_BINARY_DIR}/teshsuite/simdag/partask/platform_2p_1sl_hetero.xml --surf-path=${CMAKE_HOME_DIRECTORY}/src --log=sd_kernel.thres=warning "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg contexts/factory:ucontext  --cd ${CMAKE_BINARY_DIR}/teshsuite/)
+ADD_TEST(memcheck-tesh-msg-get-sender-thread-0 ${CMAKE_BINARY_DIR}/teshsuite/msg/get_sender ${CMAKE_HOME_DIRECTORY}/teshsuite/msg/get_sender.xml "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg=contexts/factory:thread  --cd ${CMAKE_BINARY_DIR}/teshsuite/)
+if(HAVE_RAWCTX)
+ADD_TEST(memcheck-tesh-msg-get-sender-raw-0 ${CMAKE_BINARY_DIR}/teshsuite/msg/get_sender ${CMAKE_HOME_DIRECTORY}/teshsuite/msg/get_sender.xml "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg=contexts/factory:raw  --cd ${CMAKE_BINARY_DIR}/teshsuite/)
+endif(HAVE_RAWCTX)
+if(HAVE_UCONTEXT_H)
+ADD_TEST(memcheck-tesh-msg-get-sender-ucontext-0 ${CMAKE_BINARY_DIR}/teshsuite/msg/get_sender ${CMAKE_HOME_DIRECTORY}/teshsuite/msg/get_sender.xml "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg=contexts/factory:ucontext  --cd ${CMAKE_BINARY_DIR}/teshsuite/)
+endif(HAVE_UCONTEXT_H)
+
+IF(enable_debug) # these tests need the assertion mechanism
+ADD_TEST(memcheck-tesh-simdag-parser-bogus-symmetric-0 ${CMAKE_BINARY_DIR}/teshsuite/simdag/platforms/flatifier two_hosts_asymetric_BOGUS.xml "--log=root.fmt:[%10.6r]%e[%i:%P@%h]%e%m%n" --cd ${CMAKE_HOME_DIRECTORY}/teshsuite/simdag/platforms/)
+ADD_TEST(memcheck-tesh-simdag-parser-bogus-symmetric-1 ${CMAKE_BINARY_DIR}/teshsuite/simdag/platforms/flatifier two_hosts_asymetric_BOGUS2.xml "--log=root.fmt:[%10.6r]%e[%i:%P@%h]%e%m%n" --cd ${CMAKE_HOME_DIRECTORY}/teshsuite/simdag/platforms/)
+ENDIF(enable_debug)
+
+ADD_TEST(memcheck-tesh-simdag-reinit-costs-0 ${CMAKE_BINARY_DIR}/teshsuite/simdag/network/test_reinit_costs ${CMAKE_HOME_DIRECTORY}/teshsuite/simdag/network/platform_2p_1sl.xml --surf-path=${CMAKE_HOME_DIRECTORY}/teshsuite --log=sd_kernel.thres=warning "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cd ${CMAKE_BINARY_DIR}/teshsuite/)
+ADD_TEST(memcheck-tesh-simdag-parser-0 ${CMAKE_BINARY_DIR}/teshsuite/simdag/platforms/basic_parsing_test one_cluster.xml "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cd ${CMAKE_HOME_DIRECTORY}/teshsuite/simdag/platforms/)
+ADD_TEST(memcheck-tesh-simdag-parser-1 ${CMAKE_BINARY_DIR}/teshsuite/simdag/platforms/basic_parsing_test one_host_availability.xml "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cd ${CMAKE_HOME_DIRECTORY}/teshsuite/simdag/platforms/)
+ADD_TEST(memcheck-tesh-simdag-parser-2 ${CMAKE_BINARY_DIR}/teshsuite/simdag/platforms/basic_parsing_test one_host_properties.xml "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cd ${CMAKE_HOME_DIRECTORY}/teshsuite/simdag/platforms/)
+ADD_TEST(memcheck-tesh-simdag-parser-3 ${CMAKE_BINARY_DIR}/teshsuite/simdag/platforms/basic_parsing_test one_host_state_file.xml "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cd ${CMAKE_HOME_DIRECTORY}/teshsuite/simdag/platforms/)
+ADD_TEST(memcheck-tesh-simdag-parser-4 ${CMAKE_BINARY_DIR}/teshsuite/simdag/platforms/basic_parsing_test one_host_state_off.xml "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cd ${CMAKE_HOME_DIRECTORY}/teshsuite/simdag/platforms/)
+ADD_TEST(memcheck-tesh-simdag-parser-5 ${CMAKE_BINARY_DIR}/teshsuite/simdag/platforms/basic_parsing_test one_host_state_on.xml "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cd ${CMAKE_HOME_DIRECTORY}/teshsuite/simdag/platforms/)
+ADD_TEST(memcheck-tesh-simdag-parser-6 ${CMAKE_BINARY_DIR}/teshsuite/simdag/platforms/basic_parsing_test one_host_trace_file.xml "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cd ${CMAKE_HOME_DIRECTORY}/teshsuite/simdag/platforms/)
+ADD_TEST(memcheck-tesh-simdag-parser-7 ${CMAKE_BINARY_DIR}/teshsuite/simdag/platforms/basic_parsing_test one_host_trace_inside.xml "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cd ${CMAKE_HOME_DIRECTORY}/teshsuite/simdag/platforms/)
+ADD_TEST(memcheck-tesh-simdag-parser-8 ${CMAKE_BINARY_DIR}/teshsuite/simdag/platforms/basic_parsing_test one_host.xml "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cd ${CMAKE_HOME_DIRECTORY}/teshsuite/simdag/platforms/)
+ADD_TEST(memcheck-tesh-simdag-parser-9 ${CMAKE_BINARY_DIR}/teshsuite/simdag/platforms/basic_parsing_test one_link_availability.xml "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cd ${CMAKE_HOME_DIRECTORY}/teshsuite/simdag/platforms/)
+ADD_TEST(memcheck-tesh-simdag-parser-10 ${CMAKE_BINARY_DIR}/teshsuite/simdag/platforms/basic_parsing_test one_link_fatpipe.xml "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cd ${CMAKE_HOME_DIRECTORY}/teshsuite/simdag/platforms/)
+ADD_TEST(memcheck-tesh-simdag-parser-11 ${CMAKE_BINARY_DIR}/teshsuite/simdag/platforms/basic_parsing_test one_link_shared.xml "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cd ${CMAKE_HOME_DIRECTORY}/teshsuite/simdag/platforms/)
+ADD_TEST(memcheck-tesh-simdag-parser-12 ${CMAKE_BINARY_DIR}/teshsuite/simdag/platforms/basic_parsing_test one_link_state_file.xml "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cd ${CMAKE_HOME_DIRECTORY}/teshsuite/simdag/platforms/)
+ADD_TEST(memcheck-tesh-simdag-parser-13 ${CMAKE_BINARY_DIR}/teshsuite/simdag/platforms/basic_parsing_test three_hosts_non_symmetric_route.xml "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cd ${CMAKE_HOME_DIRECTORY}/teshsuite/simdag/platforms/)
+ADD_TEST(memcheck-tesh-simdag-parser-14 ${CMAKE_BINARY_DIR}/teshsuite/simdag/platforms/basic_parsing_test two_clusters.xml "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cd ${CMAKE_HOME_DIRECTORY}/teshsuite/simdag/platforms/)
+ADD_TEST(memcheck-tesh-simdag-parser-15 ${CMAKE_BINARY_DIR}/teshsuite/simdag/platforms/basic_parsing_test two_hosts_multi_hop.xml "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cd ${CMAKE_HOME_DIRECTORY}/teshsuite/simdag/platforms/)
+ADD_TEST(memcheck-tesh-simdag-parser-16 ${CMAKE_BINARY_DIR}/teshsuite/simdag/platforms/basic_parsing_test two_hosts_one_link.xml "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cd ${CMAKE_HOME_DIRECTORY}/teshsuite/simdag/platforms/)
+ADD_TEST(memcheck-tesh-simdag-parser-17 ${CMAKE_BINARY_DIR}/teshsuite/simdag/platforms/basic_parsing_test ./four_hosts_floyd.xml --cd ${CMAKE_HOME_DIRECTORY}/teshsuite/simdag/platforms/)
+ADD_TEST(memcheck-tesh-simdag-parser-18 ${CMAKE_BINARY_DIR}/teshsuite/simdag/platforms/basic_parsing_test ./four_hosts_floyd_bis.xml --cd ${CMAKE_HOME_DIRECTORY}/teshsuite/simdag/platforms/)
+ADD_TEST(memcheck-tesh-simdag-parser-19 ${CMAKE_BINARY_DIR}/teshsuite/simdag/platforms/basic_parsing_test ./properties.xml --cd ${CMAKE_HOME_DIRECTORY}/teshsuite/simdag/platforms/)
+ADD_TEST(memcheck-tesh-simdag-parser-20 ${CMAKE_BINARY_DIR}/teshsuite/simdag/platforms/basic_parsing_test ./properties.xml --cfg=cpu/model:CpuTI --cd ${CMAKE_HOME_DIRECTORY}/teshsuite/simdag/platforms/)
+ADD_TEST(memcheck-tesh-simdag-parser-21 ${CMAKE_BINARY_DIR}/teshsuite/simdag/platforms/basic_parsing_test ./one_cluster_file.xml --cd ${CMAKE_HOME_DIRECTORY}/teshsuite/simdag/platforms/)
+ADD_TEST(memcheck-tesh-simdag-parser-22 ${CMAKE_BINARY_DIR}/teshsuite/simdag/platforms/is_router_test ./test_of_is_router.xml --cd ${CMAKE_HOME_DIRECTORY}/teshsuite/simdag/platforms/)
+ADD_TEST(memcheck-tesh-simdag-parser-sym-full-0 ${CMAKE_BINARY_DIR}/teshsuite/simdag/platforms/basic_parsing_test one_cluster_fullduplex.xml FULL_LINK "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cd ${CMAKE_HOME_DIRECTORY}/teshsuite/simdag/platforms/)
+ADD_TEST(memcheck-tesh-simdag-parser-sym-full-1 ${CMAKE_BINARY_DIR}/teshsuite/simdag/platforms/basic_parsing_test two_clusters_symmetric.xml FULL_LINK "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cd ${CMAKE_HOME_DIRECTORY}/teshsuite/simdag/platforms/)
+ADD_TEST(memcheck-tesh-simdag-parser-sym-full-2 ${CMAKE_BINARY_DIR}/teshsuite/simdag/platforms/basic_parsing_test two_hosts_one_link_symmetrical.xml FULL_LINK "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cd ${CMAKE_HOME_DIRECTORY}/teshsuite/simdag/platforms/)
+ADD_TEST(memcheck-tesh-simdag-parser-sym-full-3 ${CMAKE_BINARY_DIR}/teshsuite/simdag/platforms/basic_parsing_test two_hosts_one_link_fullduplex.xml FULL_LINK "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cd ${CMAKE_HOME_DIRECTORY}/teshsuite/simdag/platforms/)
+ADD_TEST(memcheck-tesh-simdag-parser-sym-full-4 ${CMAKE_BINARY_DIR}/teshsuite/simdag/platforms/basic_parsing_test Dijkstra.xml FULL_LINK "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cd ${CMAKE_HOME_DIRECTORY}/teshsuite/simdag/platforms/)
+ADD_TEST(memcheck-tesh-simdag-flatifier-0 ${CMAKE_BINARY_DIR}/teshsuite/simdag/platforms/flatifier one_cluster.xml "--log=root.fmt:[%10.6r]%e[%i:%P@%h]%e%m%n" --cd ${CMAKE_HOME_DIRECTORY}/teshsuite/simdag/platforms/)
+ADD_TEST(memcheck-tesh-simdag-flatifier-1 ${CMAKE_BINARY_DIR}/teshsuite/simdag/platforms/flatifier one_host_availability.xml "--log=root.fmt:[%10.6r]%e[%i:%P@%h]%e%m%n" --cd ${CMAKE_HOME_DIRECTORY}/teshsuite/simdag/platforms/)
+ADD_TEST(memcheck-tesh-simdag-flatifier-2 ${CMAKE_BINARY_DIR}/teshsuite/simdag/platforms/flatifier one_host_properties.xml "--log=root.fmt:[%10.6r]%e[%i:%P@%h]%e%m%n" --cd ${CMAKE_HOME_DIRECTORY}/teshsuite/simdag/platforms/)
+ADD_TEST(memcheck-tesh-simdag-flatifier-3 ${CMAKE_BINARY_DIR}/teshsuite/simdag/platforms/flatifier one_host_state_file.xml "--log=root.fmt:[%10.6r]%e[%i:%P@%h]%e%m%n" --cd ${CMAKE_HOME_DIRECTORY}/teshsuite/simdag/platforms/)
+ADD_TEST(memcheck-tesh-simdag-flatifier-4 ${CMAKE_BINARY_DIR}/teshsuite/simdag/platforms/flatifier one_host_state_off.xml "--log=root.fmt:[%10.6r]%e[%i:%P@%h]%e%m%n" --cd ${CMAKE_HOME_DIRECTORY}/teshsuite/simdag/platforms/)
+ADD_TEST(memcheck-tesh-simdag-flatifier-5 ${CMAKE_BINARY_DIR}/teshsuite/simdag/platforms/flatifier one_host_state_on.xml "--log=root.fmt:[%10.6r]%e[%i:%P@%h]%e%m%n" --cd ${CMAKE_HOME_DIRECTORY}/teshsuite/simdag/platforms/)
+ADD_TEST(memcheck-tesh-simdag-flatifier-6 ${CMAKE_BINARY_DIR}/teshsuite/simdag/platforms/flatifier one_host_trace_file.xml "--log=root.fmt:[%10.6r]%e[%i:%P@%h]%e%m%n" --cd ${CMAKE_HOME_DIRECTORY}/teshsuite/simdag/platforms/)
+ADD_TEST(memcheck-tesh-simdag-flatifier-7 ${CMAKE_BINARY_DIR}/teshsuite/simdag/platforms/flatifier one_host_trace_inside.xml "--log=root.fmt:[%10.6r]%e[%i:%P@%h]%e%m%n" --cd ${CMAKE_HOME_DIRECTORY}/teshsuite/simdag/platforms/)
+ADD_TEST(memcheck-tesh-simdag-flatifier-8 ${CMAKE_BINARY_DIR}/teshsuite/simdag/platforms/flatifier one_host.xml "--log=root.fmt:[%10.6r]%e[%i:%P@%h]%e%m%n" --cd ${CMAKE_HOME_DIRECTORY}/teshsuite/simdag/platforms/)
+ADD_TEST(memcheck-tesh-simdag-flatifier-9 ${CMAKE_BINARY_DIR}/teshsuite/simdag/platforms/flatifier one_link_availability.xml "--log=root.fmt:[%10.6r]%e[%i:%P@%h]%e%m%n" --cd ${CMAKE_HOME_DIRECTORY}/teshsuite/simdag/platforms/)
+ADD_TEST(memcheck-tesh-simdag-flatifier-10 ${CMAKE_BINARY_DIR}/teshsuite/simdag/platforms/flatifier one_link_fatpipe.xml "--log=root.fmt:[%10.6r]%e[%i:%P@%h]%e%m%n" --cd ${CMAKE_HOME_DIRECTORY}/teshsuite/simdag/platforms/)
+ADD_TEST(memcheck-tesh-simdag-flatifier-11 ${CMAKE_BINARY_DIR}/teshsuite/simdag/platforms/flatifier one_link_shared.xml "--log=root.fmt:[%10.6r]%e[%i:%P@%h]%e%m%n" --cd ${CMAKE_HOME_DIRECTORY}/teshsuite/simdag/platforms/)
+ADD_TEST(memcheck-tesh-simdag-flatifier-12 ${CMAKE_BINARY_DIR}/teshsuite/simdag/platforms/flatifier one_link_state_file.xml "--log=root.fmt:[%10.6r]%e[%i:%P@%h]%e%m%n" --cd ${CMAKE_HOME_DIRECTORY}/teshsuite/simdag/platforms/)
+ADD_TEST(memcheck-tesh-simdag-flatifier-13 ${CMAKE_BINARY_DIR}/teshsuite/simdag/platforms/flatifier three_hosts_non_symmetric_route.xml "--log=root.fmt:[%10.6r]%e[%i:%P@%h]%e%m%n" --cd ${CMAKE_HOME_DIRECTORY}/teshsuite/simdag/platforms/)
+ADD_TEST(memcheck-tesh-simdag-flatifier-14 ${CMAKE_BINARY_DIR}/teshsuite/simdag/platforms/flatifier two_clusters.xml "--log=root.fmt:[%10.6r]%e[%i:%P@%h]%e%m%n" --cd ${CMAKE_HOME_DIRECTORY}/teshsuite/simdag/platforms/)
+ADD_TEST(memcheck-tesh-simdag-flatifier-15 ${CMAKE_BINARY_DIR}/teshsuite/simdag/platforms/flatifier two_hosts_multi_hop.xml "--log=root.fmt:[%10.6r]%e[%i:%P@%h]%e%m%n" --cd ${CMAKE_HOME_DIRECTORY}/teshsuite/simdag/platforms/)
+ADD_TEST(memcheck-tesh-simdag-flatifier-16 ${CMAKE_BINARY_DIR}/teshsuite/simdag/platforms/flatifier two_hosts_one_link.xml "--log=root.fmt:[%10.6r]%e[%i:%P@%h]%e%m%n" --cd ${CMAKE_HOME_DIRECTORY}/teshsuite/simdag/platforms/)
+ADD_TEST(memcheck-tesh-simdag-flatifier-17 ${CMAKE_BINARY_DIR}/teshsuite/simdag/platforms/flatifier three_clusters_bypass.xml "--log=root.fmt:[%10.6r]%e[%i:%P@%h]%e%m%n" --cd ${CMAKE_HOME_DIRECTORY}/teshsuite/simdag/platforms/)
+ADD_TEST(memcheck-tesh-simdag-full-links-0 ${CMAKE_BINARY_DIR}/teshsuite/simdag/platforms/basic_parsing_test ./four_hosts_floyd.xml FULL_LINK --cd ${CMAKE_HOME_DIRECTORY}/teshsuite/simdag/platforms/)
+ADD_TEST(memcheck-tesh-simdag-full-links-1 ${CMAKE_BINARY_DIR}/teshsuite/simdag/platforms/basic_parsing_test ./four_hosts_floyd_bis.xml FULL_LINK --cd ${CMAKE_HOME_DIRECTORY}/teshsuite/simdag/platforms/)
+ADD_TEST(memcheck-tesh-simdag-parser-bypass-0 ${CMAKE_BINARY_DIR}/teshsuite/simdag/platforms/basic_parsing_test ./three_clusters_bypass.xml FULL_LINK --cd ${CMAKE_HOME_DIRECTORY}/teshsuite/simdag/platforms/)
+ADD_TEST(memcheck-tesh-simdag-basic0-0 ${CMAKE_BINARY_DIR}/teshsuite/simdag/basic0 ${CMAKE_HOME_DIRECTORY}/teshsuite/simdag/basic_platform.xml --surf-path=${CMAKE_HOME_DIRECTORY}/teshsuite "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cd ${CMAKE_BINARY_DIR}/teshsuite/)
+ADD_TEST(memcheck-tesh-simdag-basic1-0 ${CMAKE_BINARY_DIR}/teshsuite/simdag/basic1 ${CMAKE_HOME_DIRECTORY}/teshsuite/simdag/basic_platform.xml --surf-path=${CMAKE_HOME_DIRECTORY}/teshsuite "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cd ${CMAKE_BINARY_DIR}/teshsuite/)
+ADD_TEST(memcheck-tesh-simdag-basic2-0 ${CMAKE_BINARY_DIR}/teshsuite/simdag/basic2 ${CMAKE_HOME_DIRECTORY}/teshsuite/simdag/basic_platform.xml --surf-path=${CMAKE_HOME_DIRECTORY}/teshsuite "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cd ${CMAKE_BINARY_DIR}/teshsuite/)
+ADD_TEST(memcheck-tesh-simdag-basic3-0 ${CMAKE_BINARY_DIR}/teshsuite/simdag/basic3 ${CMAKE_HOME_DIRECTORY}/teshsuite/simdag/basic_platform.xml --surf-path=${CMAKE_HOME_DIRECTORY}/teshsuite "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cd ${CMAKE_BINARY_DIR}/teshsuite/)
+ADD_TEST(memcheck-tesh-simdag-basic4-0 ${CMAKE_BINARY_DIR}/teshsuite/simdag/basic4 ${CMAKE_HOME_DIRECTORY}/teshsuite/simdag/basic_platform.xml --surf-path=${CMAKE_HOME_DIRECTORY}/teshsuite "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cd ${CMAKE_BINARY_DIR}/teshsuite/)
+ADD_TEST(memcheck-tesh-simdag-basic5-0 ${CMAKE_BINARY_DIR}/teshsuite/simdag/basic5 ${CMAKE_HOME_DIRECTORY}/teshsuite/simdag/basic_platform.xml --surf-path=${CMAKE_HOME_DIRECTORY}/teshsuite "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cd ${CMAKE_BINARY_DIR}/teshsuite/)
+ADD_TEST(memcheck-tesh-simdag-basic6-0 ${CMAKE_BINARY_DIR}/teshsuite/simdag/basic6 ${CMAKE_HOME_DIRECTORY}/teshsuite/simdag/network/p2p/platform_2p_1sl.xml --surf-path=${CMAKE_HOME_DIRECTORY}/teshsuite "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cd ${CMAKE_BINARY_DIR}/teshsuite/)
+ADD_TEST(memcheck-tesh-simdag-p2p-1-0 ${CMAKE_BINARY_DIR}/teshsuite/simdag/network/p2p/test_latency1 ${CMAKE_HOME_DIRECTORY}/teshsuite/simdag/network/p2p/platform_2p_1sl.xml --surf-path=${CMAKE_HOME_DIRECTORY}/teshsuite --log=sd_kernel.thres=warning "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cd ${CMAKE_BINARY_DIR}/teshsuite/)
+ADD_TEST(memcheck-tesh-simdag-p2p-1-1 ${CMAKE_BINARY_DIR}/teshsuite/simdag/network/p2p/test_latency1 ${CMAKE_HOME_DIRECTORY}/teshsuite/simdag/network/p2p/platform_2p_1fl.xml --surf-path=${CMAKE_HOME_DIRECTORY}/teshsuite --log=sd_kernel.thres=warning "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cd ${CMAKE_BINARY_DIR}/teshsuite/)
+ADD_TEST(memcheck-tesh-simdag-p2p-1-2 ${CMAKE_BINARY_DIR}/teshsuite/simdag/network/p2p/test_latency1 ${CMAKE_HOME_DIRECTORY}/teshsuite/simdag/network/p2p/platform_2p_1switch.xml --surf-path=${CMAKE_HOME_DIRECTORY}/teshsuite --log=sd_kernel.thres=warning "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cd ${CMAKE_BINARY_DIR}/teshsuite/)
+ADD_TEST(memcheck-tesh-simdag-p2p-2-0 ${CMAKE_BINARY_DIR}/teshsuite/simdag/network/p2p/test_latency2 ${CMAKE_HOME_DIRECTORY}/teshsuite/simdag/network/p2p/platform_2p_1sl.xml --surf-path=${CMAKE_HOME_DIRECTORY}/teshsuite --log=sd_kernel.thres=warning "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cd ${CMAKE_BINARY_DIR}/teshsuite/)
+ADD_TEST(memcheck-tesh-simdag-p2p-2-1 ${CMAKE_BINARY_DIR}/teshsuite/simdag/network/p2p/test_latency2 ${CMAKE_HOME_DIRECTORY}/teshsuite/simdag/network/p2p/platform_2p_1fl.xml --surf-path=${CMAKE_HOME_DIRECTORY}/teshsuite --log=sd_kernel.thres=warning "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cd ${CMAKE_BINARY_DIR}/teshsuite/)
+ADD_TEST(memcheck-tesh-simdag-p2p-2-2 ${CMAKE_BINARY_DIR}/teshsuite/simdag/network/p2p/test_latency2 ${CMAKE_HOME_DIRECTORY}/teshsuite/simdag/network/p2p/platform_2p_1switch.xml --surf-path=${CMAKE_HOME_DIRECTORY}/teshsuite --log=sd_kernel.thres=warning "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cd ${CMAKE_BINARY_DIR}/teshsuite/)
+ADD_TEST(memcheck-tesh-simdag-p2p-3-0 ${CMAKE_BINARY_DIR}/teshsuite/simdag/network/p2p/test_latency3 ${CMAKE_HOME_DIRECTORY}/teshsuite/simdag/network/p2p/platform_2p_1sl.xml --surf-path=${CMAKE_HOME_DIRECTORY}/teshsuite --log=sd_kernel.thres=warning "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cd ${CMAKE_BINARY_DIR}/teshsuite/)
+ADD_TEST(memcheck-tesh-simdag-p2p-3-1 ${CMAKE_BINARY_DIR}/teshsuite/simdag/network/p2p/test_latency3 ${CMAKE_HOME_DIRECTORY}/teshsuite/simdag/network/p2p/platform_2p_1fl.xml --surf-path=${CMAKE_HOME_DIRECTORY}/teshsuite --log=sd_kernel.thres=warning "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cd ${CMAKE_BINARY_DIR}/teshsuite/)
+ADD_TEST(memcheck-tesh-simdag-p2p-3-2 ${CMAKE_BINARY_DIR}/teshsuite/simdag/network/p2p/test_latency3 ${CMAKE_HOME_DIRECTORY}/teshsuite/simdag/network/p2p/platform_2p_1switch.xml --surf-path=${CMAKE_HOME_DIRECTORY}/teshsuite --log=sd_kernel.thres=warning "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cd ${CMAKE_BINARY_DIR}/teshsuite/)
+ADD_TEST(memcheck-tesh-simdag-p2p-4-0 ${CMAKE_BINARY_DIR}/teshsuite/simdag/network/p2p/test_latency_bound ${CMAKE_HOME_DIRECTORY}/teshsuite/simdag/network/p2p/platform_2p_1bb.xml --surf-path=${CMAKE_HOME_DIRECTORY}/teshsuite --log=sd_kernel.thres=warning "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cd ${CMAKE_BINARY_DIR}/teshsuite/)
+ADD_TEST(memcheck-tesh-simdag-mxn-1-0 ${CMAKE_BINARY_DIR}/teshsuite/simdag/network/mxn/test_intra_all2all ${CMAKE_HOME_DIRECTORY}/teshsuite/simdag/network/mxn/platform_4p_1switch.xml --surf-path=${CMAKE_HOME_DIRECTORY}/teshsuite --log=sd_kernel.thres=warning "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cd ${CMAKE_BINARY_DIR}/teshsuite/)
+ADD_TEST(memcheck-tesh-simdag-mxn-2-0 ${CMAKE_BINARY_DIR}/teshsuite/simdag/network/mxn/test_intra_independent_comm ${CMAKE_HOME_DIRECTORY}/teshsuite/simdag/network/mxn/platform_4p_1switch.xml --surf-path=${CMAKE_HOME_DIRECTORY}/teshsuite --log=sd_kernel.thres=warning "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cd ${CMAKE_BINARY_DIR}/teshsuite/)
+ADD_TEST(memcheck-tesh-simdag-mxn-3-0 ${CMAKE_BINARY_DIR}/teshsuite/simdag/network/mxn/test_intra_scatter ${CMAKE_HOME_DIRECTORY}/teshsuite/simdag/network/mxn/platform_4p_1switch.xml --surf-path=${CMAKE_HOME_DIRECTORY}/teshsuite --log=sd_kernel.thres=warning "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cd ${CMAKE_BINARY_DIR}/teshsuite/)
+ADD_TEST(memcheck-tesh-simdag-par-1-0 ${CMAKE_BINARY_DIR}/teshsuite/simdag/partask/test_comp_only_seq ${CMAKE_HOME_DIRECTORY}/teshsuite/simdag/partask/platform_2p_1sl.xml --surf-path=${CMAKE_HOME_DIRECTORY}/teshsuite --log=sd_kernel.thres=warning "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cd ${CMAKE_BINARY_DIR}/teshsuite/)
+ADD_TEST(memcheck-tesh-simdag-par-2-0 ${CMAKE_BINARY_DIR}/teshsuite/simdag/partask/test_comp_only_par ${CMAKE_HOME_DIRECTORY}/teshsuite/simdag/partask/platform_2p_1sl.xml --surf-path=${CMAKE_HOME_DIRECTORY}/teshsuite --log=sd_kernel.thres=warning "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cd ${CMAKE_BINARY_DIR}/teshsuite/)
+ADD_TEST(memcheck-tesh-simdag-par-2-1 ${CMAKE_BINARY_DIR}/teshsuite/simdag/partask/test_comp_only_par ${CMAKE_HOME_DIRECTORY}/teshsuite/simdag/partask/platform_2p_1sl_hetero.xml --surf-path=${CMAKE_HOME_DIRECTORY}/teshsuite --log=sd_kernel.thres=warning "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cd ${CMAKE_BINARY_DIR}/teshsuite/)
 
 # MSG examples
-ADD_TEST(memcheck-msg-sendrecv-CLM03-raw-0 ${CMAKE_BINARY_DIR}/examples/msg/sendrecv/sendrecv ${CMAKE_BINARY_DIR}/examples/msg/sendrecv/platform_sendrecv.xml ${CMAKE_BINARY_DIR}/examples/msg/sendrecv/deployment_sendrecv.xml --cfg=workstation/model:CLM03 --cfg=cpu/model:Cas01 --cfg=network/model:CM02 "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg contexts/factory:raw  --cd ${CMAKE_BINARY_DIR}/examples/msg/)
-ADD_TEST(memcheck-msg-sendrecv-CLM03-thread-0 ${CMAKE_BINARY_DIR}/examples/msg/sendrecv/sendrecv ${CMAKE_BINARY_DIR}/examples/msg/sendrecv/platform_sendrecv.xml ${CMAKE_BINARY_DIR}/examples/msg/sendrecv/deployment_sendrecv.xml --cfg=workstation/model:CLM03 --cfg=cpu/model:Cas01 --cfg=network/model:CM02 "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg contexts/factory:thread  --cd ${CMAKE_BINARY_DIR}/examples/msg/)
-ADD_TEST(memcheck-msg-sendrecv-CLM03-ucontext-0 ${CMAKE_BINARY_DIR}/examples/msg/sendrecv/sendrecv ${CMAKE_BINARY_DIR}/examples/msg/sendrecv/platform_sendrecv.xml ${CMAKE_BINARY_DIR}/examples/msg/sendrecv/deployment_sendrecv.xml --cfg=workstation/model:CLM03 --cfg=cpu/model:Cas01 --cfg=network/model:CM02 "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg contexts/factory:ucontext  --cd ${CMAKE_BINARY_DIR}/examples/msg/)
-ADD_TEST(memcheck-msg-sendrecv-Vegas-raw-0 ${CMAKE_BINARY_DIR}/examples/msg/sendrecv/sendrecv ${CMAKE_BINARY_DIR}/examples/msg/sendrecv/platform_sendrecv.xml ${CMAKE_BINARY_DIR}/examples/msg/sendrecv/deployment_sendrecv.xml "--cfg=workstation/model:compound cpu/model:Cas01 network/model:Vegas" "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg contexts/factory:raw  --cd ${CMAKE_BINARY_DIR}/examples/msg/)
-ADD_TEST(memcheck-msg-sendrecv-Vegas-thread-0 ${CMAKE_BINARY_DIR}/examples/msg/sendrecv/sendrecv ${CMAKE_BINARY_DIR}/examples/msg/sendrecv/platform_sendrecv.xml ${CMAKE_BINARY_DIR}/examples/msg/sendrecv/deployment_sendrecv.xml "--cfg=workstation/model:compound cpu/model:Cas01 network/model:Vegas" "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg contexts/factory:thread  --cd ${CMAKE_BINARY_DIR}/examples/msg/)
-ADD_TEST(memcheck-msg-sendrecv-Vegas-ucontext-0 ${CMAKE_BINARY_DIR}/examples/msg/sendrecv/sendrecv ${CMAKE_BINARY_DIR}/examples/msg/sendrecv/platform_sendrecv.xml ${CMAKE_BINARY_DIR}/examples/msg/sendrecv/deployment_sendrecv.xml "--cfg=workstation/model:compound cpu/model:Cas01 network/model:Vegas" "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg contexts/factory:ucontext  --cd ${CMAKE_BINARY_DIR}/examples/msg/)
-ADD_TEST(memcheck-msg-sendrecv-Reno-raw-0 ${CMAKE_BINARY_DIR}/examples/msg/sendrecv/sendrecv ${CMAKE_BINARY_DIR}/examples/msg/sendrecv/platform_sendrecv.xml ${CMAKE_BINARY_DIR}/examples/msg/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" --cfg contexts/factory:raw  --cd ${CMAKE_BINARY_DIR}/examples/msg/)
-ADD_TEST(memcheck-msg-sendrecv-Reno-thread-0 ${CMAKE_BINARY_DIR}/examples/msg/sendrecv/sendrecv ${CMAKE_BINARY_DIR}/examples/msg/sendrecv/platform_sendrecv.xml ${CMAKE_BINARY_DIR}/examples/msg/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" --cfg contexts/factory:thread  --cd ${CMAKE_BINARY_DIR}/examples/msg/)
-ADD_TEST(memcheck-msg-sendrecv-Reno-ucontext-0 ${CMAKE_BINARY_DIR}/examples/msg/sendrecv/sendrecv ${CMAKE_BINARY_DIR}/examples/msg/sendrecv/platform_sendrecv.xml ${CMAKE_BINARY_DIR}/examples/msg/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" --cfg contexts/factory:ucontext  --cd ${CMAKE_BINARY_DIR}/examples/msg/)
-ADD_TEST(memcheck-msg-suspend-raw-0 ${CMAKE_BINARY_DIR}/examples/msg/suspend/suspend ${CMAKE_BINARY_DIR}/examples/msg/msg_platform.xml ${CMAKE_BINARY_DIR}/examples/msg/suspend/deployment_suspend.xml  "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg contexts/factory:raw  --cd ${CMAKE_BINARY_DIR}/examples/msg/)
-ADD_TEST(memcheck-msg-suspend-thread-0 ${CMAKE_BINARY_DIR}/examples/msg/suspend/suspend ${CMAKE_BINARY_DIR}/examples/msg/msg_platform.xml ${CMAKE_BINARY_DIR}/examples/msg/suspend/deployment_suspend.xml  "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg contexts/factory:thread  --cd ${CMAKE_BINARY_DIR}/examples/msg/)
-ADD_TEST(memcheck-msg-suspend-ucontext-0 ${CMAKE_BINARY_DIR}/examples/msg/suspend/suspend ${CMAKE_BINARY_DIR}/examples/msg/msg_platform.xml ${CMAKE_BINARY_DIR}/examples/msg/suspend/deployment_suspend.xml  "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg contexts/factory:ucontext  --cd ${CMAKE_BINARY_DIR}/examples/msg/)
-ADD_TEST(memcheck-msg-masterslave-raw-0 ${CMAKE_BINARY_DIR}/examples/msg/masterslave/masterslave_forwarder ${CMAKE_BINARY_DIR}/examples/msg/small_platform_with_routers.xml ${CMAKE_BINARY_DIR}/examples/msg/masterslave/deployment_masterslave.xml --trace "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg contexts/factory:raw  --cd ${CMAKE_BINARY_DIR}/examples/msg/)
-ADD_TEST(memcheck-msg-masterslave-thread-0 ${CMAKE_BINARY_DIR}/examples/msg/masterslave/masterslave_forwarder ${CMAKE_BINARY_DIR}/examples/msg/small_platform_with_routers.xml ${CMAKE_BINARY_DIR}/examples/msg/masterslave/deployment_masterslave.xml --trace "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg contexts/factory:thread  --cd ${CMAKE_BINARY_DIR}/examples/msg/)
-ADD_TEST(memcheck-msg-masterslave-ucontext-0 ${CMAKE_BINARY_DIR}/examples/msg/masterslave/masterslave_forwarder ${CMAKE_BINARY_DIR}/examples/msg/small_platform_with_routers.xml ${CMAKE_BINARY_DIR}/examples/msg/masterslave/deployment_masterslave.xml --trace "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg contexts/factory:ucontext  --cd ${CMAKE_BINARY_DIR}/examples/msg/)
-ADD_TEST(memcheck-msg-masterslave-forwarder-raw-0 ${CMAKE_BINARY_DIR}/examples/msg/masterslave/masterslave_forwarder ${CMAKE_BINARY_DIR}/examples/msg/msg_platform.xml ${CMAKE_BINARY_DIR}/examples/msg/masterslave/deployment_masterslave_forwarder.xml  "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg contexts/factory:raw  --cd ${CMAKE_BINARY_DIR}/examples/msg/)
-ADD_TEST(memcheck-msg-masterslave-forwarder-thread-0 ${CMAKE_BINARY_DIR}/examples/msg/masterslave/masterslave_forwarder ${CMAKE_BINARY_DIR}/examples/msg/msg_platform.xml ${CMAKE_BINARY_DIR}/examples/msg/masterslave/deployment_masterslave_forwarder.xml  "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg contexts/factory:thread  --cd ${CMAKE_BINARY_DIR}/examples/msg/)
-ADD_TEST(memcheck-msg-masterslave-forwarder-ucontext-0 ${CMAKE_BINARY_DIR}/examples/msg/masterslave/masterslave_forwarder ${CMAKE_BINARY_DIR}/examples/msg/msg_platform.xml ${CMAKE_BINARY_DIR}/examples/msg/masterslave/deployment_masterslave_forwarder.xml  "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg contexts/factory:ucontext  --cd ${CMAKE_BINARY_DIR}/examples/msg/)
-ADD_TEST(memcheck-msg-masterslave-failure-raw-0 ${CMAKE_BINARY_DIR}/examples/msg/masterslave/masterslave_failure --log=xbt_cfg.thres:critical --log=no_loc ${CMAKE_BINARY_DIR}/examples/msg/small_platform_with_failures.xml ${CMAKE_BINARY_DIR}/examples/msg/masterslave/deployment_masterslave.xml --cfg=path:${CMAKE_HOME_DIRECTORY}/src "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg contexts/factory:raw  --cd ${CMAKE_BINARY_DIR}/examples/msg/)
-ADD_TEST(memcheck-msg-masterslave-failure-thread-0 ${CMAKE_BINARY_DIR}/examples/msg/masterslave/masterslave_failure --log=xbt_cfg.thres:critical --log=no_loc ${CMAKE_BINARY_DIR}/examples/msg/small_platform_with_failures.xml ${CMAKE_BINARY_DIR}/examples/msg/masterslave/deployment_masterslave.xml --cfg=path:${CMAKE_HOME_DIRECTORY}/src "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg contexts/factory:thread  --cd ${CMAKE_BINARY_DIR}/examples/msg/)
-ADD_TEST(memcheck-msg-masterslave-failure-ucontext-0 ${CMAKE_BINARY_DIR}/examples/msg/masterslave/masterslave_failure --log=xbt_cfg.thres:critical --log=no_loc ${CMAKE_BINARY_DIR}/examples/msg/small_platform_with_failures.xml ${CMAKE_BINARY_DIR}/examples/msg/masterslave/deployment_masterslave.xml --cfg=path:${CMAKE_HOME_DIRECTORY}/src "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg contexts/factory:ucontext  --cd ${CMAKE_BINARY_DIR}/examples/msg/)
-ADD_TEST(memcheck-msg-masterslave-bypass-raw-0 ${CMAKE_BINARY_DIR}/examples/msg/masterslave/masterslave_bypass --log=no_loc  "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg contexts/factory:raw  --cd ${CMAKE_BINARY_DIR}/examples/msg/)
-ADD_TEST(memcheck-msg-masterslave-bypass-thread-0 ${CMAKE_BINARY_DIR}/examples/msg/masterslave/masterslave_bypass --log=no_loc  "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg contexts/factory:thread  --cd ${CMAKE_BINARY_DIR}/examples/msg/)
-ADD_TEST(memcheck-msg-masterslave-bypass-ucontext-0 ${CMAKE_BINARY_DIR}/examples/msg/masterslave/masterslave_bypass --log=no_loc  "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg contexts/factory:ucontext  --cd ${CMAKE_BINARY_DIR}/examples/msg/)
-ADD_TEST(memcheck-msg-masterslave-mailbox-raw-0 ${CMAKE_BINARY_DIR}/examples/msg/masterslave/masterslave_mailbox ${CMAKE_BINARY_DIR}/examples/msg/small_platform_with_routers.xml ${CMAKE_BINARY_DIR}/examples/msg/masterslave/deployment_masterslave_mailbox.xml --trace "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg contexts/factory:raw  --cd ${CMAKE_BINARY_DIR}/examples/msg/)
-ADD_TEST(memcheck-msg-masterslave-mailbox-thread-0 ${CMAKE_BINARY_DIR}/examples/msg/masterslave/masterslave_mailbox ${CMAKE_BINARY_DIR}/examples/msg/small_platform_with_routers.xml ${CMAKE_BINARY_DIR}/examples/msg/masterslave/deployment_masterslave_mailbox.xml --trace "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg contexts/factory:thread  --cd ${CMAKE_BINARY_DIR}/examples/msg/)
-ADD_TEST(memcheck-msg-masterslave-mailbox-ucontext-0 ${CMAKE_BINARY_DIR}/examples/msg/masterslave/masterslave_mailbox ${CMAKE_BINARY_DIR}/examples/msg/small_platform_with_routers.xml ${CMAKE_BINARY_DIR}/examples/msg/masterslave/deployment_masterslave_mailbox.xml --trace "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg contexts/factory:ucontext  --cd ${CMAKE_BINARY_DIR}/examples/msg/)
-ADD_TEST(memcheck-msg-masterslave-vivaldi-raw-0 ${CMAKE_BINARY_DIR}/examples/msg/masterslave/masterslave_mailbox  ${CMAKE_BINARY_DIR}/examples/msg/../platforms/vivaldi.xml ${CMAKE_BINARY_DIR}/examples/msg/masterslave/deployment_masterslave_vivaldi.xml --cfg=network/latency_factor:1.0 --cfg=network/bandwidth_factor:1.0 --cfg contexts/factory:raw  --cd ${CMAKE_BINARY_DIR}/examples/msg/)
-ADD_TEST(memcheck-msg-masterslave-vivaldi-thread-0 ${CMAKE_BINARY_DIR}/examples/msg/masterslave/masterslave_mailbox  ${CMAKE_BINARY_DIR}/examples/msg/../platforms/vivaldi.xml ${CMAKE_BINARY_DIR}/examples/msg/masterslave/deployment_masterslave_vivaldi.xml --cfg=network/latency_factor:1.0 --cfg=network/bandwidth_factor:1.0 --cfg contexts/factory:thread  --cd ${CMAKE_BINARY_DIR}/examples/msg/)
-ADD_TEST(memcheck-msg-masterslave-vivaldi-ucontext-0 ${CMAKE_BINARY_DIR}/examples/msg/masterslave/masterslave_mailbox  ${CMAKE_BINARY_DIR}/examples/msg/../platforms/vivaldi.xml ${CMAKE_BINARY_DIR}/examples/msg/masterslave/deployment_masterslave_vivaldi.xml --cfg=network/latency_factor:1.0 --cfg=network/bandwidth_factor:1.0 --cfg contexts/factory:ucontext  --cd ${CMAKE_BINARY_DIR}/examples/msg/)
-ADD_TEST(memcheck-msg-masterslave-multicore-raw-0 ${CMAKE_BINARY_DIR}/examples/msg/masterslave/masterslave_mailbox ${CMAKE_BINARY_DIR}/examples/msg/../platforms/multicore_machine.xml ${CMAKE_BINARY_DIR}/examples/msg/masterslave/deployment_masterslave_mailbox_multicore.xml --cfg=cpu/model:Cas01_fullupdate --cfg contexts/factory:raw  --cd ${CMAKE_BINARY_DIR}/examples/msg/)
-ADD_TEST(memcheck-msg-masterslave-multicore-thread-0 ${CMAKE_BINARY_DIR}/examples/msg/masterslave/masterslave_mailbox ${CMAKE_BINARY_DIR}/examples/msg/../platforms/multicore_machine.xml ${CMAKE_BINARY_DIR}/examples/msg/masterslave/deployment_masterslave_mailbox_multicore.xml --cfg=cpu/model:Cas01_fullupdate --cfg contexts/factory:thread  --cd ${CMAKE_BINARY_DIR}/examples/msg/)
-ADD_TEST(memcheck-msg-masterslave-multicore-ucontext-0 ${CMAKE_BINARY_DIR}/examples/msg/masterslave/masterslave_mailbox ${CMAKE_BINARY_DIR}/examples/msg/../platforms/multicore_machine.xml ${CMAKE_BINARY_DIR}/examples/msg/masterslave/deployment_masterslave_mailbox_multicore.xml --cfg=cpu/model:Cas01_fullupdate --cfg contexts/factory:ucontext  --cd ${CMAKE_BINARY_DIR}/examples/msg/)
-ADD_TEST(memcheck-msg-migration-raw-0 ${CMAKE_BINARY_DIR}/examples/msg/migration/migration ${CMAKE_BINARY_DIR}/examples/msg/msg_platform.xml ${CMAKE_BINARY_DIR}/examples/msg/migration/migration.deploy  "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg contexts/factory:raw  --cd ${CMAKE_BINARY_DIR}/examples/msg/)
-ADD_TEST(memcheck-msg-migration-thread-0 ${CMAKE_BINARY_DIR}/examples/msg/migration/migration ${CMAKE_BINARY_DIR}/examples/msg/msg_platform.xml ${CMAKE_BINARY_DIR}/examples/msg/migration/migration.deploy  "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg contexts/factory:thread  --cd ${CMAKE_BINARY_DIR}/examples/msg/)
-ADD_TEST(memcheck-msg-migration-ucontext-0 ${CMAKE_BINARY_DIR}/examples/msg/migration/migration ${CMAKE_BINARY_DIR}/examples/msg/msg_platform.xml ${CMAKE_BINARY_DIR}/examples/msg/migration/migration.deploy  "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg contexts/factory:ucontext  --cd ${CMAKE_BINARY_DIR}/examples/msg/)
-ADD_TEST(memcheck-msg-ptask-raw-0 ${CMAKE_BINARY_DIR}/examples/msg/parallel_task/parallel_task ${CMAKE_BINARY_DIR}/examples/msg/small_platform.xml "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg contexts/factory:raw  --cd ${CMAKE_BINARY_DIR}/examples/msg/)
-ADD_TEST(memcheck-msg-ptask-raw-1 ${CMAKE_BINARY_DIR}/examples/msg/parallel_task/test_ptask ${CMAKE_BINARY_DIR}/examples/msg/parallel_task/test_ptask_platform.xml ${CMAKE_BINARY_DIR}/examples/msg/parallel_task/test_ptask_deployment.xml "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg contexts/factory:raw  --cd ${CMAKE_BINARY_DIR}/examples/msg/)
-ADD_TEST(memcheck-msg-ptask-thread-0 ${CMAKE_BINARY_DIR}/examples/msg/parallel_task/parallel_task ${CMAKE_BINARY_DIR}/examples/msg/small_platform.xml "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg contexts/factory:thread  --cd ${CMAKE_BINARY_DIR}/examples/msg/)
-ADD_TEST(memcheck-msg-ptask-thread-1 ${CMAKE_BINARY_DIR}/examples/msg/parallel_task/test_ptask ${CMAKE_BINARY_DIR}/examples/msg/parallel_task/test_ptask_platform.xml ${CMAKE_BINARY_DIR}/examples/msg/parallel_task/test_ptask_deployment.xml "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg contexts/factory:thread  --cd ${CMAKE_BINARY_DIR}/examples/msg/)
-ADD_TEST(memcheck-msg-ptask-ucontext-0 ${CMAKE_BINARY_DIR}/examples/msg/parallel_task/parallel_task ${CMAKE_BINARY_DIR}/examples/msg/small_platform.xml "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg contexts/factory:ucontext  --cd ${CMAKE_BINARY_DIR}/examples/msg/)
-ADD_TEST(memcheck-msg-ptask-ucontext-1 ${CMAKE_BINARY_DIR}/examples/msg/parallel_task/test_ptask ${CMAKE_BINARY_DIR}/examples/msg/parallel_task/test_ptask_platform.xml ${CMAKE_BINARY_DIR}/examples/msg/parallel_task/test_ptask_deployment.xml "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg contexts/factory:ucontext  --cd ${CMAKE_BINARY_DIR}/examples/msg/)
-ADD_TEST(memcheck-msg-priority-raw-0 ${CMAKE_BINARY_DIR}/examples/msg/priority/priority ${CMAKE_BINARY_DIR}/examples/msg/small_platform.xml  ${CMAKE_BINARY_DIR}/examples/msg/priority/deployment_priority.xml "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg contexts/factory:raw  --cd ${CMAKE_BINARY_DIR}/examples/msg/)
-ADD_TEST(memcheck-msg-priority-thread-0 ${CMAKE_BINARY_DIR}/examples/msg/priority/priority ${CMAKE_BINARY_DIR}/examples/msg/small_platform.xml  ${CMAKE_BINARY_DIR}/examples/msg/priority/deployment_priority.xml "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg contexts/factory:thread  --cd ${CMAKE_BINARY_DIR}/examples/msg/)
-ADD_TEST(memcheck-msg-priority-ucontext-0 ${CMAKE_BINARY_DIR}/examples/msg/priority/priority ${CMAKE_BINARY_DIR}/examples/msg/small_platform.xml  ${CMAKE_BINARY_DIR}/examples/msg/priority/deployment_priority.xml "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg contexts/factory:ucontext  --cd ${CMAKE_BINARY_DIR}/examples/msg/)
-ADD_TEST(memcheck-msg-properties-raw-0 ${CMAKE_BINARY_DIR}/examples/msg/properties/msg_prop ${CMAKE_BINARY_DIR}/examples/msg/../platforms/prop.xml ${CMAKE_BINARY_DIR}/examples/msg/properties/deployment_properties.xml  "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg contexts/factory:raw  --cd ${CMAKE_BINARY_DIR}/examples/msg/)
-ADD_TEST(memcheck-msg-properties-thread-0 ${CMAKE_BINARY_DIR}/examples/msg/properties/msg_prop ${CMAKE_BINARY_DIR}/examples/msg/../platforms/prop.xml ${CMAKE_BINARY_DIR}/examples/msg/properties/deployment_properties.xml  "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg contexts/factory:thread  --cd ${CMAKE_BINARY_DIR}/examples/msg/)
-ADD_TEST(memcheck-msg-properties-ucontext-0 ${CMAKE_BINARY_DIR}/examples/msg/properties/msg_prop ${CMAKE_BINARY_DIR}/examples/msg/../platforms/prop.xml ${CMAKE_BINARY_DIR}/examples/msg/properties/deployment_properties.xml  "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg contexts/factory:ucontext  --cd ${CMAKE_BINARY_DIR}/examples/msg/)
-ADD_TEST(memcheck-msg-icomms-raw-0 ${CMAKE_BINARY_DIR}/examples/msg/icomms/peer ${CMAKE_BINARY_DIR}/examples/msg/icomms/small_platform.xml ${CMAKE_BINARY_DIR}/examples/msg/icomms/deployment_peer01.xml "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg contexts/factory:raw  --cd ${CMAKE_BINARY_DIR}/examples/msg/icomms/)
-ADD_TEST(memcheck-msg-icomms-raw-1 ${CMAKE_BINARY_DIR}/examples/msg/icomms/peer ${CMAKE_BINARY_DIR}/examples/msg/icomms/small_platform.xml ${CMAKE_BINARY_DIR}/examples/msg/icomms/deployment_peer02.xml "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg contexts/factory:raw  --cd ${CMAKE_BINARY_DIR}/examples/msg/icomms/)
-ADD_TEST(memcheck-msg-icomms-raw-2 ${CMAKE_BINARY_DIR}/examples/msg/icomms/peer ${CMAKE_BINARY_DIR}/examples/msg/icomms/small_platform.xml ${CMAKE_BINARY_DIR}/examples/msg/icomms/deployment_peer03.xml "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg contexts/factory:raw  --cd ${CMAKE_BINARY_DIR}/examples/msg/icomms/)
-ADD_TEST(memcheck-msg-icomms-raw-3 ${CMAKE_BINARY_DIR}/examples/msg/icomms/peer ${CMAKE_BINARY_DIR}/examples/msg/icomms/small_platform.xml ${CMAKE_BINARY_DIR}/examples/msg/icomms/deployment_peer04.xml "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg contexts/factory:raw  --cd ${CMAKE_BINARY_DIR}/examples/msg/icomms/)
-ADD_TEST(memcheck-msg-icomms-raw-4 ${CMAKE_BINARY_DIR}/examples/msg/icomms/peer2 ${CMAKE_BINARY_DIR}/examples/msg/icomms/small_platform.xml ${CMAKE_BINARY_DIR}/examples/msg/icomms/deployment_peer.xml "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg contexts/factory:raw  --cd ${CMAKE_BINARY_DIR}/examples/msg/icomms/)
-ADD_TEST(memcheck-msg-icomms-thread-0 ${CMAKE_BINARY_DIR}/examples/msg/icomms/peer ${CMAKE_BINARY_DIR}/examples/msg/icomms/small_platform.xml ${CMAKE_BINARY_DIR}/examples/msg/icomms/deployment_peer01.xml "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg contexts/factory:thread  --cd ${CMAKE_BINARY_DIR}/examples/msg/icomms/)
-ADD_TEST(memcheck-msg-icomms-thread-1 ${CMAKE_BINARY_DIR}/examples/msg/icomms/peer ${CMAKE_BINARY_DIR}/examples/msg/icomms/small_platform.xml ${CMAKE_BINARY_DIR}/examples/msg/icomms/deployment_peer02.xml "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg contexts/factory:thread  --cd ${CMAKE_BINARY_DIR}/examples/msg/icomms/)
-ADD_TEST(memcheck-msg-icomms-thread-2 ${CMAKE_BINARY_DIR}/examples/msg/icomms/peer ${CMAKE_BINARY_DIR}/examples/msg/icomms/small_platform.xml ${CMAKE_BINARY_DIR}/examples/msg/icomms/deployment_peer03.xml "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg contexts/factory:thread  --cd ${CMAKE_BINARY_DIR}/examples/msg/icomms/)
-ADD_TEST(memcheck-msg-icomms-thread-3 ${CMAKE_BINARY_DIR}/examples/msg/icomms/peer ${CMAKE_BINARY_DIR}/examples/msg/icomms/small_platform.xml ${CMAKE_BINARY_DIR}/examples/msg/icomms/deployment_peer04.xml "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg contexts/factory:thread  --cd ${CMAKE_BINARY_DIR}/examples/msg/icomms/)
-ADD_TEST(memcheck-msg-icomms-thread-4 ${CMAKE_BINARY_DIR}/examples/msg/icomms/peer2 ${CMAKE_BINARY_DIR}/examples/msg/icomms/small_platform.xml ${CMAKE_BINARY_DIR}/examples/msg/icomms/deployment_peer.xml "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg contexts/factory:thread  --cd ${CMAKE_BINARY_DIR}/examples/msg/icomms/)
-ADD_TEST(memcheck-msg-icomms-ucontext-0 ${CMAKE_BINARY_DIR}/examples/msg/icomms/peer ${CMAKE_BINARY_DIR}/examples/msg/icomms/small_platform.xml ${CMAKE_BINARY_DIR}/examples/msg/icomms/deployment_peer01.xml "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg contexts/factory:ucontext  --cd ${CMAKE_BINARY_DIR}/examples/msg/icomms/)
-ADD_TEST(memcheck-msg-icomms-ucontext-1 ${CMAKE_BINARY_DIR}/examples/msg/icomms/peer ${CMAKE_BINARY_DIR}/examples/msg/icomms/small_platform.xml ${CMAKE_BINARY_DIR}/examples/msg/icomms/deployment_peer02.xml "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg contexts/factory:ucontext  --cd ${CMAKE_BINARY_DIR}/examples/msg/icomms/)
-ADD_TEST(memcheck-msg-icomms-ucontext-2 ${CMAKE_BINARY_DIR}/examples/msg/icomms/peer ${CMAKE_BINARY_DIR}/examples/msg/icomms/small_platform.xml ${CMAKE_BINARY_DIR}/examples/msg/icomms/deployment_peer03.xml "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg contexts/factory:ucontext  --cd ${CMAKE_BINARY_DIR}/examples/msg/icomms/)
-ADD_TEST(memcheck-msg-icomms-ucontext-3 ${CMAKE_BINARY_DIR}/examples/msg/icomms/peer ${CMAKE_BINARY_DIR}/examples/msg/icomms/small_platform.xml ${CMAKE_BINARY_DIR}/examples/msg/icomms/deployment_peer04.xml "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg contexts/factory:ucontext  --cd ${CMAKE_BINARY_DIR}/examples/msg/icomms/)
-ADD_TEST(memcheck-msg-icomms-ucontext-4 ${CMAKE_BINARY_DIR}/examples/msg/icomms/peer2 ${CMAKE_BINARY_DIR}/examples/msg/icomms/small_platform.xml ${CMAKE_BINARY_DIR}/examples/msg/icomms/deployment_peer.xml "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg contexts/factory:ucontext  --cd ${CMAKE_BINARY_DIR}/examples/msg/icomms/)
-ADD_TEST(memcheck-msg-actions-raw-0 ${CMAKE_BINARY_DIR}/examples/msg/actions/actions --log=actions.thres=verbose homogeneous_3_hosts.xml deployment_split.xml "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg contexts/factory:raw  --cd /home/navarrop/simgrid/simgrid/trunk/examples/msg/actions/)
-ADD_TEST(memcheck-msg-actions-raw-1 ${CMAKE_BINARY_DIR}/examples/msg/actions/actions --log=actions.thres=verbose homogeneous_3_hosts.xml deployment.xml actions_allReduce.txt "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg contexts/factory:raw  --cd /home/navarrop/simgrid/simgrid/trunk/examples/msg/actions/)
-ADD_TEST(memcheck-msg-actions-raw-2 ${CMAKE_BINARY_DIR}/examples/msg/actions/actions --log=actions.thres=verbose homogeneous_3_hosts.xml deployment.xml actions_barrier.txt "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg contexts/factory:raw  --cd /home/navarrop/simgrid/simgrid/trunk/examples/msg/actions/)
-ADD_TEST(memcheck-msg-actions-raw-3 ${CMAKE_BINARY_DIR}/examples/msg/actions/actions --log=actions.thres=verbose homogeneous_3_hosts.xml deployment.xml actions_bcast.txt "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg contexts/factory:raw  --cd /home/navarrop/simgrid/simgrid/trunk/examples/msg/actions/)
-ADD_TEST(memcheck-msg-actions-raw-4 ${CMAKE_BINARY_DIR}/examples/msg/actions/actions --log=actions.thres=verbose homogeneous_3_hosts.xml deployment.xml actions_reduce.txt "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg contexts/factory:raw  --cd /home/navarrop/simgrid/simgrid/trunk/examples/msg/actions/)
-ADD_TEST(memcheck-msg-actions-raw-5 ${CMAKE_BINARY_DIR}/examples/msg/actions/actions --log=actions.thres=verbose homogeneous_3_hosts.xml deployment.xml actions_with_isend.txt "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg contexts/factory:raw  --cd /home/navarrop/simgrid/simgrid/trunk/examples/msg/actions/)
-ADD_TEST(memcheck-msg-actions-thread-0 ${CMAKE_BINARY_DIR}/examples/msg/actions/actions --log=actions.thres=verbose homogeneous_3_hosts.xml deployment_split.xml "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg contexts/factory:thread  --cd /home/navarrop/simgrid/simgrid/trunk/examples/msg/actions/)
-ADD_TEST(memcheck-msg-actions-thread-1 ${CMAKE_BINARY_DIR}/examples/msg/actions/actions --log=actions.thres=verbose homogeneous_3_hosts.xml deployment.xml actions_allReduce.txt "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg contexts/factory:thread  --cd /home/navarrop/simgrid/simgrid/trunk/examples/msg/actions/)
-ADD_TEST(memcheck-msg-actions-thread-2 ${CMAKE_BINARY_DIR}/examples/msg/actions/actions --log=actions.thres=verbose homogeneous_3_hosts.xml deployment.xml actions_barrier.txt "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg contexts/factory:thread  --cd /home/navarrop/simgrid/simgrid/trunk/examples/msg/actions/)
-ADD_TEST(memcheck-msg-actions-thread-3 ${CMAKE_BINARY_DIR}/examples/msg/actions/actions --log=actions.thres=verbose homogeneous_3_hosts.xml deployment.xml actions_bcast.txt "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg contexts/factory:thread  --cd /home/navarrop/simgrid/simgrid/trunk/examples/msg/actions/)
-ADD_TEST(memcheck-msg-actions-thread-4 ${CMAKE_BINARY_DIR}/examples/msg/actions/actions --log=actions.thres=verbose homogeneous_3_hosts.xml deployment.xml actions_reduce.txt "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg contexts/factory:thread  --cd /home/navarrop/simgrid/simgrid/trunk/examples/msg/actions/)
-ADD_TEST(memcheck-msg-actions-thread-5 ${CMAKE_BINARY_DIR}/examples/msg/actions/actions --log=actions.thres=verbose homogeneous_3_hosts.xml deployment.xml actions_with_isend.txt "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg contexts/factory:thread  --cd /home/navarrop/simgrid/simgrid/trunk/examples/msg/actions/)
-ADD_TEST(memcheck-msg-actions-ucontext-0 ${CMAKE_BINARY_DIR}/examples/msg/actions/actions --log=actions.thres=verbose homogeneous_3_hosts.xml deployment_split.xml "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg contexts/factory:ucontext  --cd /home/navarrop/simgrid/simgrid/trunk/examples/msg/actions/)
-ADD_TEST(memcheck-msg-actions-ucontext-1 ${CMAKE_BINARY_DIR}/examples/msg/actions/actions --log=actions.thres=verbose homogeneous_3_hosts.xml deployment.xml actions_allReduce.txt "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg contexts/factory:ucontext  --cd /home/navarrop/simgrid/simgrid/trunk/examples/msg/actions/)
-ADD_TEST(memcheck-msg-actions-ucontext-2 ${CMAKE_BINARY_DIR}/examples/msg/actions/actions --log=actions.thres=verbose homogeneous_3_hosts.xml deployment.xml actions_barrier.txt "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg contexts/factory:ucontext  --cd /home/navarrop/simgrid/simgrid/trunk/examples/msg/actions/)
-ADD_TEST(memcheck-msg-actions-ucontext-3 ${CMAKE_BINARY_DIR}/examples/msg/actions/actions --log=actions.thres=verbose homogeneous_3_hosts.xml deployment.xml actions_bcast.txt "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg contexts/factory:ucontext  --cd /home/navarrop/simgrid/simgrid/trunk/examples/msg/actions/)
-ADD_TEST(memcheck-msg-actions-ucontext-4 ${CMAKE_BINARY_DIR}/examples/msg/actions/actions --log=actions.thres=verbose homogeneous_3_hosts.xml deployment.xml actions_reduce.txt "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg contexts/factory:ucontext  --cd /home/navarrop/simgrid/simgrid/trunk/examples/msg/actions/)
-ADD_TEST(memcheck-msg-actions-ucontext-5 ${CMAKE_BINARY_DIR}/examples/msg/actions/actions --log=actions.thres=verbose homogeneous_3_hosts.xml deployment.xml actions_with_isend.txt "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg contexts/factory:ucontext  --cd /home/navarrop/simgrid/simgrid/trunk/examples/msg/actions/)
-ADD_TEST(memcheck-msg-masterslave-cpu-ti-raw-0 ${CMAKE_BINARY_DIR}/examples/msg/masterslave/masterslave_forwarder small_platform.xml masterslave/deployment_masterslave.xml --cfg=cpu/model:CpuTI "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg contexts/factory:raw  --cd /home/navarrop/simgrid/simgrid/trunk/examples/msg/)
-ADD_TEST(memcheck-msg-masterslave-cpu-ti-raw-1 ${CMAKE_BINARY_DIR}/examples/msg/masterslave/masterslave_forwarder msg_platform.xml masterslave/deployment_masterslave_forwarder.xml --cfg=cpu/model:CpuTI "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg contexts/factory:raw  --cd /home/navarrop/simgrid/simgrid/trunk/examples/msg/)
-ADD_TEST(memcheck-msg-masterslave-cpu-ti-raw-2 ${CMAKE_BINARY_DIR}/examples/msg/masterslave/masterslave_failure --log=xbt_cfg.thres:critical --log=no_loc small_platform_with_failures.xml masterslave/deployment_masterslave.xml --cfg=path:${CMAKE_HOME_DIRECTORY}/src --cfg=cpu/model:CpuTI "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg contexts/factory:raw  --cd /home/navarrop/simgrid/simgrid/trunk/examples/msg/)
-ADD_TEST(memcheck-msg-masterslave-cpu-ti-raw-3 ${CMAKE_BINARY_DIR}/examples/msg/masterslave/masterslave_bypass --log=no_loc --cfg=cpu/model:CpuTI "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg contexts/factory:raw  --cd /home/navarrop/simgrid/simgrid/trunk/examples/msg/)
-ADD_TEST(memcheck-msg-masterslave-cpu-ti-thread-0 ${CMAKE_BINARY_DIR}/examples/msg/masterslave/masterslave_forwarder small_platform.xml masterslave/deployment_masterslave.xml --cfg=cpu/model:CpuTI "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg contexts/factory:thread  --cd /home/navarrop/simgrid/simgrid/trunk/examples/msg/)
-ADD_TEST(memcheck-msg-masterslave-cpu-ti-thread-1 ${CMAKE_BINARY_DIR}/examples/msg/masterslave/masterslave_forwarder msg_platform.xml masterslave/deployment_masterslave_forwarder.xml --cfg=cpu/model:CpuTI "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg contexts/factory:thread  --cd /home/navarrop/simgrid/simgrid/trunk/examples/msg/)
-ADD_TEST(memcheck-msg-masterslave-cpu-ti-thread-2 ${CMAKE_BINARY_DIR}/examples/msg/masterslave/masterslave_failure --log=xbt_cfg.thres:critical --log=no_loc small_platform_with_failures.xml masterslave/deployment_masterslave.xml --cfg=path:${CMAKE_HOME_DIRECTORY}/src --cfg=cpu/model:CpuTI "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg contexts/factory:thread  --cd /home/navarrop/simgrid/simgrid/trunk/examples/msg/)
-ADD_TEST(memcheck-msg-masterslave-cpu-ti-thread-3 ${CMAKE_BINARY_DIR}/examples/msg/masterslave/masterslave_bypass --log=no_loc --cfg=cpu/model:CpuTI "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg contexts/factory:thread  --cd /home/navarrop/simgrid/simgrid/trunk/examples/msg/)
-ADD_TEST(memcheck-msg-masterslave-cpu-ti-ucontext-0 ${CMAKE_BINARY_DIR}/examples/msg/masterslave/masterslave_forwarder small_platform.xml masterslave/deployment_masterslave.xml --cfg=cpu/model:CpuTI "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg contexts/factory:ucontext  --cd /home/navarrop/simgrid/simgrid/trunk/examples/msg/)
-ADD_TEST(memcheck-msg-masterslave-cpu-ti-ucontext-1 ${CMAKE_BINARY_DIR}/examples/msg/masterslave/masterslave_forwarder msg_platform.xml masterslave/deployment_masterslave_forwarder.xml --cfg=cpu/model:CpuTI "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg contexts/factory:ucontext  --cd /home/navarrop/simgrid/simgrid/trunk/examples/msg/)
-ADD_TEST(memcheck-msg-masterslave-cpu-ti-ucontext-2 ${CMAKE_BINARY_DIR}/examples/msg/masterslave/masterslave_failure --log=xbt_cfg.thres:critical --log=no_loc small_platform_with_failures.xml masterslave/deployment_masterslave.xml --cfg=path:${CMAKE_HOME_DIRECTORY}/src --cfg=cpu/model:CpuTI "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg contexts/factory:ucontext  --cd /home/navarrop/simgrid/simgrid/trunk/examples/msg/)
-ADD_TEST(memcheck-msg-masterslave-cpu-ti-ucontext-3 ${CMAKE_BINARY_DIR}/examples/msg/masterslave/masterslave_bypass --log=no_loc --cfg=cpu/model:CpuTI "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg contexts/factory:ucontext  --cd /home/navarrop/simgrid/simgrid/trunk/examples/msg/)
-ADD_TEST(memcheck-msg-trace-raw-0 ${CMAKE_BINARY_DIR}/examples/msg/trace/test_trace_integration ./trace/test1.xml --cfg=workstation/model:compound --cfg=network/model:CM02 --cfg=cpu/model:CpuTI "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg contexts/factory:raw  --cd /home/navarrop/simgrid/simgrid/trunk/examples/msg/)
-ADD_TEST(memcheck-msg-trace-raw-1 ${CMAKE_BINARY_DIR}/examples/msg/trace/test_trace_integration ./trace/test2.xml --cfg=workstation/model:compound --cfg=network/model:CM02 --cfg=cpu/model:CpuTI "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg contexts/factory:raw  --cd /home/navarrop/simgrid/simgrid/trunk/examples/msg/)
-ADD_TEST(memcheck-msg-trace-raw-2 ${CMAKE_BINARY_DIR}/examples/msg/trace/test_trace_integration ./trace/test3.xml --cfg=workstation/model:compound --cfg=network/model:CM02 --cfg=cpu/model:CpuTI "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg contexts/factory:raw  --cd /home/navarrop/simgrid/simgrid/trunk/examples/msg/)
-ADD_TEST(memcheck-msg-trace-raw-3 ${CMAKE_BINARY_DIR}/examples/msg/trace/test_trace_integration ./trace/test4.xml --cfg=workstation/model:compound --cfg=network/model:CM02 --cfg=cpu/model:CpuTI "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg contexts/factory:raw  --cd /home/navarrop/simgrid/simgrid/trunk/examples/msg/)
-ADD_TEST(memcheck-msg-trace-raw-4 ${CMAKE_BINARY_DIR}/examples/msg/trace/test_trace_integration ./trace/test5.xml --cfg=workstation/model:compound --cfg=network/model:CM02 --cfg=cpu/model:CpuTI "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg contexts/factory:raw  --cd /home/navarrop/simgrid/simgrid/trunk/examples/msg/)
-ADD_TEST(memcheck-msg-trace-raw-5 ${CMAKE_BINARY_DIR}/examples/msg/trace/test_trace_integration ./trace/test6.xml --cfg=workstation/model:compound --cfg=network/model:CM02 --cfg=cpu/model:CpuTI "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg contexts/factory:raw  --cd /home/navarrop/simgrid/simgrid/trunk/examples/msg/)
-ADD_TEST(memcheck-msg-trace-raw-6 ${CMAKE_BINARY_DIR}/examples/msg/trace/test_trace_integration ./trace/test7.xml --cfg=workstation/model:compound --cfg=network/model:CM02 --cfg=cpu/model:CpuTI "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg contexts/factory:raw  --cd /home/navarrop/simgrid/simgrid/trunk/examples/msg/)
-ADD_TEST(memcheck-msg-trace-raw-7 ${CMAKE_BINARY_DIR}/examples/msg/trace/test_trace_integration ./trace/test8.xml --cfg=workstation/model:compound --cfg=network/model:CM02 --cfg=cpu/model:CpuTI "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg contexts/factory:raw  --cd /home/navarrop/simgrid/simgrid/trunk/examples/msg/)
-ADD_TEST(memcheck-msg-trace-raw-8 ${CMAKE_BINARY_DIR}/examples/msg/trace/test_trace_integration ./trace/test9.xml --cfg=workstation/model:compound --cfg=network/model:CM02 --cfg=cpu/model:CpuTI "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg contexts/factory:raw  --cd /home/navarrop/simgrid/simgrid/trunk/examples/msg/)
-ADD_TEST(memcheck-msg-trace-raw-9 ${CMAKE_BINARY_DIR}/examples/msg/trace/test_trace_integration ./trace/test10.xml --cfg=workstation/model:compound --cfg=network/model:CM02 --cfg=cpu/model:CpuTI "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg contexts/factory:raw  --cd /home/navarrop/simgrid/simgrid/trunk/examples/msg/)
-ADD_TEST(memcheck-msg-trace-raw-10 ${CMAKE_BINARY_DIR}/examples/msg/trace/test_trace_integration ./trace/test11.xml --cfg=workstation/model:compound --cfg=network/model:CM02 --cfg=cpu/model:CpuTI "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg contexts/factory:raw  --cd /home/navarrop/simgrid/simgrid/trunk/examples/msg/)
-ADD_TEST(memcheck-msg-trace-thread-0 ${CMAKE_BINARY_DIR}/examples/msg/trace/test_trace_integration ./trace/test1.xml --cfg=workstation/model:compound --cfg=network/model:CM02 --cfg=cpu/model:CpuTI "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg contexts/factory:thread  --cd /home/navarrop/simgrid/simgrid/trunk/examples/msg/)
-ADD_TEST(memcheck-msg-trace-thread-1 ${CMAKE_BINARY_DIR}/examples/msg/trace/test_trace_integration ./trace/test2.xml --cfg=workstation/model:compound --cfg=network/model:CM02 --cfg=cpu/model:CpuTI "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg contexts/factory:thread  --cd /home/navarrop/simgrid/simgrid/trunk/examples/msg/)
-ADD_TEST(memcheck-msg-trace-thread-2 ${CMAKE_BINARY_DIR}/examples/msg/trace/test_trace_integration ./trace/test3.xml --cfg=workstation/model:compound --cfg=network/model:CM02 --cfg=cpu/model:CpuTI "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg contexts/factory:thread  --cd /home/navarrop/simgrid/simgrid/trunk/examples/msg/)
-ADD_TEST(memcheck-msg-trace-thread-3 ${CMAKE_BINARY_DIR}/examples/msg/trace/test_trace_integration ./trace/test4.xml --cfg=workstation/model:compound --cfg=network/model:CM02 --cfg=cpu/model:CpuTI "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg contexts/factory:thread  --cd /home/navarrop/simgrid/simgrid/trunk/examples/msg/)
-ADD_TEST(memcheck-msg-trace-thread-4 ${CMAKE_BINARY_DIR}/examples/msg/trace/test_trace_integration ./trace/test5.xml --cfg=workstation/model:compound --cfg=network/model:CM02 --cfg=cpu/model:CpuTI "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg contexts/factory:thread  --cd /home/navarrop/simgrid/simgrid/trunk/examples/msg/)
-ADD_TEST(memcheck-msg-trace-thread-5 ${CMAKE_BINARY_DIR}/examples/msg/trace/test_trace_integration ./trace/test6.xml --cfg=workstation/model:compound --cfg=network/model:CM02 --cfg=cpu/model:CpuTI "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg contexts/factory:thread  --cd /home/navarrop/simgrid/simgrid/trunk/examples/msg/)
-ADD_TEST(memcheck-msg-trace-thread-6 ${CMAKE_BINARY_DIR}/examples/msg/trace/test_trace_integration ./trace/test7.xml --cfg=workstation/model:compound --cfg=network/model:CM02 --cfg=cpu/model:CpuTI "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg contexts/factory:thread  --cd /home/navarrop/simgrid/simgrid/trunk/examples/msg/)
-ADD_TEST(memcheck-msg-trace-thread-7 ${CMAKE_BINARY_DIR}/examples/msg/trace/test_trace_integration ./trace/test8.xml --cfg=workstation/model:compound --cfg=network/model:CM02 --cfg=cpu/model:CpuTI "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg contexts/factory:thread  --cd /home/navarrop/simgrid/simgrid/trunk/examples/msg/)
-ADD_TEST(memcheck-msg-trace-thread-8 ${CMAKE_BINARY_DIR}/examples/msg/trace/test_trace_integration ./trace/test9.xml --cfg=workstation/model:compound --cfg=network/model:CM02 --cfg=cpu/model:CpuTI "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg contexts/factory:thread  --cd /home/navarrop/simgrid/simgrid/trunk/examples/msg/)
-ADD_TEST(memcheck-msg-trace-thread-9 ${CMAKE_BINARY_DIR}/examples/msg/trace/test_trace_integration ./trace/test10.xml --cfg=workstation/model:compound --cfg=network/model:CM02 --cfg=cpu/model:CpuTI "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg contexts/factory:thread  --cd /home/navarrop/simgrid/simgrid/trunk/examples/msg/)
-ADD_TEST(memcheck-msg-trace-thread-10 ${CMAKE_BINARY_DIR}/examples/msg/trace/test_trace_integration ./trace/test11.xml --cfg=workstation/model:compound --cfg=network/model:CM02 --cfg=cpu/model:CpuTI "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg contexts/factory:thread  --cd /home/navarrop/simgrid/simgrid/trunk/examples/msg/)
-ADD_TEST(memcheck-msg-trace-ucontext-0 ${CMAKE_BINARY_DIR}/examples/msg/trace/test_trace_integration ./trace/test1.xml --cfg=workstation/model:compound --cfg=network/model:CM02 --cfg=cpu/model:CpuTI "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg contexts/factory:ucontext  --cd /home/navarrop/simgrid/simgrid/trunk/examples/msg/)
-ADD_TEST(memcheck-msg-trace-ucontext-1 ${CMAKE_BINARY_DIR}/examples/msg/trace/test_trace_integration ./trace/test2.xml --cfg=workstation/model:compound --cfg=network/model:CM02 --cfg=cpu/model:CpuTI "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg contexts/factory:ucontext  --cd /home/navarrop/simgrid/simgrid/trunk/examples/msg/)
-ADD_TEST(memcheck-msg-trace-ucontext-2 ${CMAKE_BINARY_DIR}/examples/msg/trace/test_trace_integration ./trace/test3.xml --cfg=workstation/model:compound --cfg=network/model:CM02 --cfg=cpu/model:CpuTI "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg contexts/factory:ucontext  --cd /home/navarrop/simgrid/simgrid/trunk/examples/msg/)
-ADD_TEST(memcheck-msg-trace-ucontext-3 ${CMAKE_BINARY_DIR}/examples/msg/trace/test_trace_integration ./trace/test4.xml --cfg=workstation/model:compound --cfg=network/model:CM02 --cfg=cpu/model:CpuTI "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg contexts/factory:ucontext  --cd /home/navarrop/simgrid/simgrid/trunk/examples/msg/)
-ADD_TEST(memcheck-msg-trace-ucontext-4 ${CMAKE_BINARY_DIR}/examples/msg/trace/test_trace_integration ./trace/test5.xml --cfg=workstation/model:compound --cfg=network/model:CM02 --cfg=cpu/model:CpuTI "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg contexts/factory:ucontext  --cd /home/navarrop/simgrid/simgrid/trunk/examples/msg/)
-ADD_TEST(memcheck-msg-trace-ucontext-5 ${CMAKE_BINARY_DIR}/examples/msg/trace/test_trace_integration ./trace/test6.xml --cfg=workstation/model:compound --cfg=network/model:CM02 --cfg=cpu/model:CpuTI "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg contexts/factory:ucontext  --cd /home/navarrop/simgrid/simgrid/trunk/examples/msg/)
-ADD_TEST(memcheck-msg-trace-ucontext-6 ${CMAKE_BINARY_DIR}/examples/msg/trace/test_trace_integration ./trace/test7.xml --cfg=workstation/model:compound --cfg=network/model:CM02 --cfg=cpu/model:CpuTI "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg contexts/factory:ucontext  --cd /home/navarrop/simgrid/simgrid/trunk/examples/msg/)
-ADD_TEST(memcheck-msg-trace-ucontext-7 ${CMAKE_BINARY_DIR}/examples/msg/trace/test_trace_integration ./trace/test8.xml --cfg=workstation/model:compound --cfg=network/model:CM02 --cfg=cpu/model:CpuTI "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg contexts/factory:ucontext  --cd /home/navarrop/simgrid/simgrid/trunk/examples/msg/)
-ADD_TEST(memcheck-msg-trace-ucontext-8 ${CMAKE_BINARY_DIR}/examples/msg/trace/test_trace_integration ./trace/test9.xml --cfg=workstation/model:compound --cfg=network/model:CM02 --cfg=cpu/model:CpuTI "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg contexts/factory:ucontext  --cd /home/navarrop/simgrid/simgrid/trunk/examples/msg/)
-ADD_TEST(memcheck-msg-trace-ucontext-9 ${CMAKE_BINARY_DIR}/examples/msg/trace/test_trace_integration ./trace/test10.xml --cfg=workstation/model:compound --cfg=network/model:CM02 --cfg=cpu/model:CpuTI "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg contexts/factory:ucontext  --cd /home/navarrop/simgrid/simgrid/trunk/examples/msg/)
-ADD_TEST(memcheck-msg-trace-ucontext-10 ${CMAKE_BINARY_DIR}/examples/msg/trace/test_trace_integration ./trace/test11.xml --cfg=workstation/model:compound --cfg=network/model:CM02 --cfg=cpu/model:CpuTI "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg contexts/factory:ucontext  --cd /home/navarrop/simgrid/simgrid/trunk/examples/msg/)
-ADD_TEST(memcheck-msg-token-ring-raw-0 token_ring ${CMAKE_BINARY_DIR}/examples/msg/token_ring/two_clusters.xml --log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n  --cfg contexts/factory:raw  --cd ${CMAKE_BINARY_DIR}/examples/msg/token_ring/)
-ADD_TEST(memcheck-msg-token-ring-raw-1 token_ring ${CMAKE_BINARY_DIR}/examples/msg/token_ring/two_peers.xml "--log=root.fmt:[%10.6r]%e[%i:%P@%h]%e%m%n" --cfg contexts/factory:raw  --cd ${CMAKE_BINARY_DIR}/examples/msg/token_ring/)
-ADD_TEST(memcheck-msg-token-ring-thread-0 token_ring ${CMAKE_BINARY_DIR}/examples/msg/token_ring/two_clusters.xml --log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n  --cfg contexts/factory:thread  --cd ${CMAKE_BINARY_DIR}/examples/msg/token_ring/)
-ADD_TEST(memcheck-msg-token-ring-thread-1 token_ring ${CMAKE_BINARY_DIR}/examples/msg/token_ring/two_peers.xml "--log=root.fmt:[%10.6r]%e[%i:%P@%h]%e%m%n" --cfg contexts/factory:thread  --cd ${CMAKE_BINARY_DIR}/examples/msg/token_ring/)
-ADD_TEST(memcheck-msg-token-ring-ucontext-0 token_ring ${CMAKE_BINARY_DIR}/examples/msg/token_ring/two_clusters.xml --log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n  --cfg contexts/factory:ucontext  --cd ${CMAKE_BINARY_DIR}/examples/msg/token_ring/)
-ADD_TEST(memcheck-msg-token-ring-ucontext-1 token_ring ${CMAKE_BINARY_DIR}/examples/msg/token_ring/two_peers.xml "--log=root.fmt:[%10.6r]%e[%i:%P@%h]%e%m%n" --cfg contexts/factory:ucontext  --cd ${CMAKE_BINARY_DIR}/examples/msg/token_ring/)
+ADD_TEST(memcheck-msg-sendrecv-CLM03-thread-0 ${CMAKE_BINARY_DIR}/examples/msg/sendrecv/sendrecv ${CMAKE_HOME_DIRECTORY}/examples/msg/sendrecv/platform_sendrecv.xml ${CMAKE_HOME_DIRECTORY}/examples/msg/sendrecv/deployment_sendrecv.xml --cfg=workstation/model:CLM03 --cfg=cpu/model:Cas01 --cfg=network/model:CM02 "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg=contexts/factory:thread  --cd ${CMAKE_BINARY_DIR}/examples/msg/)
+ADD_TEST(memcheck-msg-sendrecv-Vegas-thread-0 ${CMAKE_BINARY_DIR}/examples/msg/sendrecv/sendrecv ${CMAKE_HOME_DIRECTORY}/examples/msg/sendrecv/platform_sendrecv.xml ${CMAKE_HOME_DIRECTORY}/examples/msg/sendrecv/deployment_sendrecv.xml "--cfg=workstation/model:compound cpu/model:Cas01 network/model:Vegas" "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg=contexts/factory:thread  --cd ${CMAKE_BINARY_DIR}/examples/msg/)
+ADD_TEST(memcheck-msg-sendrecv-Reno-thread-0 ${CMAKE_BINARY_DIR}/examples/msg/sendrecv/sendrecv ${CMAKE_HOME_DIRECTORY}/examples/msg/sendrecv/platform_sendrecv.xml ${CMAKE_HOME_DIRECTORY}/examples/msg/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" --cfg=contexts/factory:thread  --cd ${CMAKE_BINARY_DIR}/examples/msg/)
+ADD_TEST(memcheck-msg-suspend-thread-0 ${CMAKE_BINARY_DIR}/examples/msg/suspend/suspend ${CMAKE_HOME_DIRECTORY}/examples/msg/msg_platform.xml ${CMAKE_HOME_DIRECTORY}/examples/msg/suspend/deployment_suspend.xml  "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg=contexts/factory:thread  --cd ${CMAKE_BINARY_DIR}/examples/msg/)
+ADD_TEST(memcheck-msg-masterslave-thread-0 ${CMAKE_BINARY_DIR}/examples/msg/masterslave/masterslave_forwarder ${CMAKE_HOME_DIRECTORY}/examples/msg/small_platform_with_routers.xml ${CMAKE_HOME_DIRECTORY}/examples/msg/masterslave/deployment_masterslave.xml --trace "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg=contexts/factory:thread  --cd ${CMAKE_BINARY_DIR}/examples/msg/)
+ADD_TEST(memcheck-msg-masterslave-forwarder-thread-0 ${CMAKE_BINARY_DIR}/examples/msg/masterslave/masterslave_forwarder ${CMAKE_HOME_DIRECTORY}/examples/msg/msg_platform.xml ${CMAKE_HOME_DIRECTORY}/examples/msg/masterslave/deployment_masterslave_forwarder.xml  "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg=contexts/factory:thread  --cd ${CMAKE_BINARY_DIR}/examples/msg/)
+ADD_TEST(memcheck-msg-masterslave-failure-thread-0 ${CMAKE_BINARY_DIR}/examples/msg/masterslave/masterslave_failure --log=xbt_cfg.thres:critical --log=no_loc ${CMAKE_HOME_DIRECTORY}/examples/msg/small_platform_with_failures.xml ${CMAKE_HOME_DIRECTORY}/examples/msg/masterslave/deployment_masterslave.xml --cfg=path:${CMAKE_HOME_DIRECTORY}/examples/msg "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg=contexts/factory:thread  --cd ${CMAKE_BINARY_DIR}/examples/msg/)
+ADD_TEST(memcheck-msg-masterslave-bypass-thread-0 ${CMAKE_BINARY_DIR}/examples/msg/masterslave/masterslave_bypass --log=no_loc  "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg=contexts/factory:thread  --cd ${CMAKE_BINARY_DIR}/examples/msg/)
+ADD_TEST(memcheck-msg-masterslave-mailbox-thread-0 ${CMAKE_BINARY_DIR}/examples/msg/masterslave/masterslave_mailbox ${CMAKE_HOME_DIRECTORY}/examples/msg/small_platform_with_routers.xml ${CMAKE_HOME_DIRECTORY}/examples/msg/masterslave/deployment_masterslave_mailbox.xml --trace "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg=contexts/factory:thread  --cd ${CMAKE_BINARY_DIR}/examples/msg/)
+ADD_TEST(memcheck-msg-masterslave-kill-thread-0 ${CMAKE_BINARY_DIR}/examples/msg/masterslave/masterslave_kill ${CMAKE_HOME_DIRECTORY}/examples/msg/masterslave/platform_kill.xml ${CMAKE_HOME_DIRECTORY}/examples/msg/masterslave/deployment_masterslave_kill.xml --cfg=contexts/factory:thread  --cd ${CMAKE_BINARY_DIR}/examples/msg/)
+
+if(HAVE_UCONTEXT_H)
+ADD_TEST(memcheck-msg-sendrecv-CLM03-ucontext-0 ${CMAKE_BINARY_DIR}/examples/msg/sendrecv/sendrecv ${CMAKE_HOME_DIRECTORY}/examples/msg/sendrecv/platform_sendrecv.xml ${CMAKE_HOME_DIRECTORY}/examples/msg/sendrecv/deployment_sendrecv.xml --cfg=workstation/model:CLM03 --cfg=cpu/model:Cas01 --cfg=network/model:CM02 "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg=contexts/factory:ucontext  --cd ${CMAKE_BINARY_DIR}/examples/msg/)
+ADD_TEST(memcheck-msg-sendrecv-Vegas-ucontext-0 ${CMAKE_BINARY_DIR}/examples/msg/sendrecv/sendrecv ${CMAKE_HOME_DIRECTORY}/examples/msg/sendrecv/platform_sendrecv.xml ${CMAKE_HOME_DIRECTORY}/examples/msg/sendrecv/deployment_sendrecv.xml "--cfg=workstation/model:compound cpu/model:Cas01 network/model:Vegas" "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg=contexts/factory:ucontext  --cd ${CMAKE_BINARY_DIR}/examples/msg/)
+ADD_TEST(memcheck-msg-sendrecv-Reno-ucontext-0 ${CMAKE_BINARY_DIR}/examples/msg/sendrecv/sendrecv ${CMAKE_HOME_DIRECTORY}/examples/msg/sendrecv/platform_sendrecv.xml ${CMAKE_HOME_DIRECTORY}/examples/msg/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" --cfg=contexts/factory:ucontext  --cd ${CMAKE_BINARY_DIR}/examples/msg/)
+ADD_TEST(memcheck-msg-suspend-ucontext-0 ${CMAKE_BINARY_DIR}/examples/msg/suspend/suspend ${CMAKE_HOME_DIRECTORY}/examples/msg/msg_platform.xml ${CMAKE_HOME_DIRECTORY}/examples/msg/suspend/deployment_suspend.xml  "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg=contexts/factory:ucontext  --cd ${CMAKE_BINARY_DIR}/examples/msg/)
+ADD_TEST(memcheck-msg-masterslave-ucontext-0 ${CMAKE_BINARY_DIR}/examples/msg/masterslave/masterslave_forwarder ${CMAKE_HOME_DIRECTORY}/examples/msg/small_platform_with_routers.xml ${CMAKE_HOME_DIRECTORY}/examples/msg/masterslave/deployment_masterslave.xml --trace "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg=contexts/factory:ucontext  --cd ${CMAKE_BINARY_DIR}/examples/msg/)
+ADD_TEST(memcheck-msg-masterslave-forwarder-ucontext-0 ${CMAKE_BINARY_DIR}/examples/msg/masterslave/masterslave_forwarder ${CMAKE_HOME_DIRECTORY}/examples/msg/msg_platform.xml ${CMAKE_HOME_DIRECTORY}/examples/msg/masterslave/deployment_masterslave_forwarder.xml  "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg=contexts/factory:ucontext  --cd ${CMAKE_BINARY_DIR}/examples/msg/)
+ADD_TEST(memcheck-msg-masterslave-failure-ucontext-0 ${CMAKE_BINARY_DIR}/examples/msg/masterslave/masterslave_failure --log=xbt_cfg.thres:critical --log=no_loc ${CMAKE_HOME_DIRECTORY}/examples/msg/small_platform_with_failures.xml ${CMAKE_HOME_DIRECTORY}/examples/msg/masterslave/deployment_masterslave.xml --cfg=path:${CMAKE_HOME_DIRECTORY}/examples/msg "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg=contexts/factory:ucontext  --cd ${CMAKE_BINARY_DIR}/examples/msg/)
+ADD_TEST(memcheck-msg-masterslave-bypass-ucontext-0 ${CMAKE_BINARY_DIR}/examples/msg/masterslave/masterslave_bypass --log=no_loc  "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg=contexts/factory:ucontext  --cd ${CMAKE_BINARY_DIR}/examples/msg/)
+ADD_TEST(memcheck-msg-masterslave-mailbox-ucontext-0 ${CMAKE_BINARY_DIR}/examples/msg/masterslave/masterslave_mailbox ${CMAKE_HOME_DIRECTORY}/examples/msg/small_platform_with_routers.xml ${CMAKE_HOME_DIRECTORY}/examples/msg/masterslave/deployment_masterslave_mailbox.xml --trace "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg=contexts/factory:ucontext  --cd ${CMAKE_BINARY_DIR}/examples/msg/)
+ADD_TEST(memcheck-msg-masterslave-kill-ucontext-0 ${CMAKE_BINARY_DIR}/examples/msg/masterslave/masterslave_kill ${CMAKE_HOME_DIRECTORY}/examples/msg/masterslave/platform_kill.xml ${CMAKE_HOME_DIRECTORY}/examples/msg/masterslave/deployment_masterslave_kill.xml --cfg=contexts/factory:ucontext  --cd ${CMAKE_BINARY_DIR}/examples/msg/)
+endif(HAVE_UCONTEXT_H)
+
+if(HAVE_RAWCTX)
+ADD_TEST(memcheck-msg-sendrecv-CLM03-raw-0 ${CMAKE_BINARY_DIR}/examples/msg/sendrecv/sendrecv ${CMAKE_HOME_DIRECTORY}/examples/msg/sendrecv/platform_sendrecv.xml ${CMAKE_HOME_DIRECTORY}/examples/msg/sendrecv/deployment_sendrecv.xml --cfg=workstation/model:CLM03 --cfg=cpu/model:Cas01 --cfg=network/model:CM02 "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg=contexts/factory:raw  --cd ${CMAKE_BINARY_DIR}/examples/msg/)
+ADD_TEST(memcheck-msg-sendrecv-Vegas-raw-0 ${CMAKE_BINARY_DIR}/examples/msg/sendrecv/sendrecv ${CMAKE_HOME_DIRECTORY}/examples/msg/sendrecv/platform_sendrecv.xml ${CMAKE_HOME_DIRECTORY}/examples/msg/sendrecv/deployment_sendrecv.xml "--cfg=workstation/model:compound cpu/model:Cas01 network/model:Vegas" "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg=contexts/factory:raw  --cd ${CMAKE_BINARY_DIR}/examples/msg/)
+ADD_TEST(memcheck-msg-sendrecv-Reno-raw-0 ${CMAKE_BINARY_DIR}/examples/msg/sendrecv/sendrecv ${CMAKE_HOME_DIRECTORY}/examples/msg/sendrecv/platform_sendrecv.xml ${CMAKE_HOME_DIRECTORY}/examples/msg/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" --cfg=contexts/factory:raw  --cd ${CMAKE_BINARY_DIR}/examples/msg/)
+ADD_TEST(memcheck-msg-suspend-raw-0 ${CMAKE_BINARY_DIR}/examples/msg/suspend/suspend ${CMAKE_HOME_DIRECTORY}/examples/msg/msg_platform.xml ${CMAKE_HOME_DIRECTORY}/examples/msg/suspend/deployment_suspend.xml  "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg=contexts/factory:raw  --cd ${CMAKE_BINARY_DIR}/examples/msg/)
+ADD_TEST(memcheck-msg-masterslave-raw-0 ${CMAKE_BINARY_DIR}/examples/msg/masterslave/masterslave_forwarder ${CMAKE_HOME_DIRECTORY}/examples/msg/small_platform_with_routers.xml ${CMAKE_HOME_DIRECTORY}/examples/msg/masterslave/deployment_masterslave.xml --trace "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg=contexts/factory:raw  --cd ${CMAKE_BINARY_DIR}/examples/msg/)
+ADD_TEST(memcheck-msg-masterslave-forwarder-raw-0 ${CMAKE_BINARY_DIR}/examples/msg/masterslave/masterslave_forwarder ${CMAKE_HOME_DIRECTORY}/examples/msg/msg_platform.xml ${CMAKE_HOME_DIRECTORY}/examples/msg/masterslave/deployment_masterslave_forwarder.xml  "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg=contexts/factory:raw  --cd ${CMAKE_BINARY_DIR}/examples/msg/)
+ADD_TEST(memcheck-msg-masterslave-failure-raw-0 ${CMAKE_BINARY_DIR}/examples/msg/masterslave/masterslave_failure --log=xbt_cfg.thres:critical --log=no_loc ${CMAKE_HOME_DIRECTORY}/examples/msg/small_platform_with_failures.xml ${CMAKE_HOME_DIRECTORY}/examples/msg/masterslave/deployment_masterslave.xml --cfg=path:${CMAKE_HOME_DIRECTORY}/examples/msg "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg=contexts/factory:raw  --cd ${CMAKE_BINARY_DIR}/examples/msg/)
+ADD_TEST(memcheck-msg-masterslave-bypass-raw-0 ${CMAKE_BINARY_DIR}/examples/msg/masterslave/masterslave_bypass --log=no_loc  "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg=contexts/factory:raw  --cd ${CMAKE_BINARY_DIR}/examples/msg/)
+ADD_TEST(memcheck-msg-masterslave-mailbox-raw-0 ${CMAKE_BINARY_DIR}/examples/msg/masterslave/masterslave_mailbox ${CMAKE_HOME_DIRECTORY}/examples/msg/small_platform_with_routers.xml ${CMAKE_HOME_DIRECTORY}/examples/msg/masterslave/deployment_masterslave_mailbox.xml --trace "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg=contexts/factory:raw  --cd ${CMAKE_BINARY_DIR}/examples/msg/)
+ADD_TEST(memcheck-msg-masterslave-kill-raw-0 ${CMAKE_BINARY_DIR}/examples/msg/masterslave/masterslave_kill ${CMAKE_HOME_DIRECTORY}/examples/msg/masterslave/platform_kill.xml ${CMAKE_HOME_DIRECTORY}/examples/msg/masterslave/deployment_masterslave_kill.xml --cfg=contexts/factory:raw  --cd ${CMAKE_BINARY_DIR}/examples/msg/)
+endif(HAVE_RAWCTX)
+
+ADD_TEST(memcheck-msg-masterslave-vivaldi-thread-0 ${CMAKE_BINARY_DIR}/examples/msg/masterslave/masterslave_mailbox  ${CMAKE_HOME_DIRECTORY}/examples/msg/../platforms/vivaldi.xml ${CMAKE_HOME_DIRECTORY}/examples/msg/masterslave/deployment_masterslave_vivaldi.xml --cfg=network/latency_factor:1.0 --cfg=network/bandwidth_factor:1.0 --cfg=contexts/factory:thread  --cd ${CMAKE_BINARY_DIR}/examples/msg/)
+ADD_TEST(memcheck-msg-token-ring-thread-0 token_ring ${CMAKE_HOME_DIRECTORY}/examples/msg/token_ring/two_clusters.xml "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg=contexts/factory:thread  --cd ${CMAKE_BINARY_DIR}/examples/msg/token_ring/)
+ADD_TEST(memcheck-msg-token-ring-thread-1 token_ring ${CMAKE_HOME_DIRECTORY}/examples/msg/token_ring/two_peers.xml --cfg=coordinates:yes "--log=root.fmt:[%12.6r]%e(%i:%P@%h)%e%m%n" --cfg=contexts/factory:thread  --cd ${CMAKE_BINARY_DIR}/examples/msg/token_ring/)
+if(HAVE_RAWCTX)
+ADD_TEST(memcheck-msg-masterslave-vivaldi-raw-0 ${CMAKE_BINARY_DIR}/examples/msg/masterslave/masterslave_mailbox  ${CMAKE_HOME_DIRECTORY}/examples/msg/../platforms/vivaldi.xml ${CMAKE_HOME_DIRECTORY}/examples/msg/masterslave/deployment_masterslave_vivaldi.xml --cfg=network/latency_factor:1.0 --cfg=network/bandwidth_factor:1.0 --cfg=contexts/factory:raw  --cd ${CMAKE_BINARY_DIR}/examples/msg/)
+ADD_TEST(memcheck-msg-token-ring-raw-0 token_ring ${CMAKE_HOME_DIRECTORY}/examples/msg/token_ring/two_clusters.xml "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg=contexts/factory:raw  --cd ${CMAKE_BINARY_DIR}/examples/msg/token_ring/)
+ADD_TEST(memcheck-msg-token-ring-raw-1 token_ring ${CMAKE_HOME_DIRECTORY}/examples/msg/token_ring/two_peers.xml --cfg=coordinates:yes "--log=root.fmt:[%12.6r]%e(%i:%P@%h)%e%m%n" --cfg=contexts/factory:raw  --cd ${CMAKE_BINARY_DIR}/examples/msg/token_ring/)
+endif(HAVE_RAWCTX)
+if(HAVE_UCONTEXT_H)
+ADD_TEST(memcheck-msg-masterslave-vivaldi-ucontext-0 ${CMAKE_BINARY_DIR}/examples/msg/masterslave/masterslave_mailbox  ${CMAKE_HOME_DIRECTORY}/examples/msg/../platforms/vivaldi.xml ${CMAKE_HOME_DIRECTORY}/examples/msg/masterslave/deployment_masterslave_vivaldi.xml --cfg=network/latency_factor:1.0 --cfg=network/bandwidth_factor:1.0 --cfg=contexts/factory:ucontext  --cd ${CMAKE_BINARY_DIR}/examples/msg/)
+ADD_TEST(memcheck-msg-token-ring-ucontext-0 token_ring ${CMAKE_HOME_DIRECTORY}/examples/msg/token_ring/two_clusters.xml "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg=contexts/factory:ucontext  --cd ${CMAKE_BINARY_DIR}/examples/msg/token_ring/)
+ADD_TEST(memcheck-msg-token-ring-ucontext-1 token_ring ${CMAKE_HOME_DIRECTORY}/examples/msg/token_ring/two_peers.xml --cfg=coordinates:yes "--log=root.fmt:[%12.6r]%e(%i:%P@%h)%e%m%n" --cfg=contexts/factory:ucontext  --cd ${CMAKE_BINARY_DIR}/examples/msg/token_ring/)
+endif(HAVE_UCONTEXT_H)
+
+ADD_TEST(memcheck-msg-masterslave-multicore-thread-0 ${CMAKE_BINARY_DIR}/examples/msg/masterslave/masterslave_mailbox ${CMAKE_HOME_DIRECTORY}/examples/msg/../platforms/multicore_machine.xml ${CMAKE_HOME_DIRECTORY}/examples/msg/masterslave/deployment_masterslave_mailbox_multicore.xml --cfg=cpu/model:Cas01_fullupdate --cfg=contexts/factory:thread  --cd ${CMAKE_BINARY_DIR}/examples/msg/)
+ADD_TEST(memcheck-msg-migration-thread-0 ${CMAKE_BINARY_DIR}/examples/msg/migration/migration ${CMAKE_HOME_DIRECTORY}/examples/msg/msg_platform.xml ${CMAKE_HOME_DIRECTORY}/examples/msg/migration/migration.deploy  "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg=contexts/factory:thread  --cd ${CMAKE_BINARY_DIR}/examples/msg/)
+ADD_TEST(memcheck-msg-ptask-thread-0 ${CMAKE_BINARY_DIR}/examples/msg/parallel_task/parallel_task ${CMAKE_HOME_DIRECTORY}/examples/msg/small_platform.xml "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg=contexts/factory:thread  --cd ${CMAKE_BINARY_DIR}/examples/msg/)
+ADD_TEST(memcheck-msg-ptask-thread-1 ${CMAKE_BINARY_DIR}/examples/msg/parallel_task/test_ptask ${CMAKE_HOME_DIRECTORY}/examples/msg/parallel_task/test_ptask_platform.xml ${CMAKE_HOME_DIRECTORY}/examples/msg/parallel_task/test_ptask_deployment.xml "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg=contexts/factory:thread  --cd ${CMAKE_BINARY_DIR}/examples/msg/)
+ADD_TEST(memcheck-msg-priority-thread-0 ${CMAKE_BINARY_DIR}/examples/msg/priority/priority ${CMAKE_HOME_DIRECTORY}/examples/msg/small_platform.xml  ${CMAKE_HOME_DIRECTORY}/examples/msg/priority/deployment_priority.xml "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg=contexts/factory:thread  --cd ${CMAKE_BINARY_DIR}/examples/msg/)
+ADD_TEST(memcheck-msg-properties-thread-0 ${CMAKE_BINARY_DIR}/examples/msg/properties/msg_prop ${CMAKE_HOME_DIRECTORY}/examples/msg/../platforms/prop.xml ${CMAKE_HOME_DIRECTORY}/examples/msg/properties/deployment_properties.xml  "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg=contexts/factory:thread  --cd ${CMAKE_BINARY_DIR}/examples/msg/)
+ADD_TEST(memcheck-msg-icomms-thread-0 ${CMAKE_BINARY_DIR}/examples/msg/icomms/peer ${CMAKE_HOME_DIRECTORY}/examples/msg/icomms/small_platform.xml ${CMAKE_HOME_DIRECTORY}/examples/msg/icomms/deployment_peer01.xml "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg=contexts/factory:thread  --cd ${CMAKE_BINARY_DIR}/examples/msg/icomms/)
+ADD_TEST(memcheck-msg-icomms-thread-1 ${CMAKE_BINARY_DIR}/examples/msg/icomms/peer ${CMAKE_HOME_DIRECTORY}/examples/msg/icomms/small_platform.xml ${CMAKE_HOME_DIRECTORY}/examples/msg/icomms/deployment_peer02.xml "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg=contexts/factory:thread  --cd ${CMAKE_BINARY_DIR}/examples/msg/icomms/)
+ADD_TEST(memcheck-msg-icomms-thread-2 ${CMAKE_BINARY_DIR}/examples/msg/icomms/peer ${CMAKE_HOME_DIRECTORY}/examples/msg/icomms/small_platform.xml ${CMAKE_HOME_DIRECTORY}/examples/msg/icomms/deployment_peer03.xml "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg=contexts/factory:thread  --cd ${CMAKE_BINARY_DIR}/examples/msg/icomms/)
+ADD_TEST(memcheck-msg-icomms-thread-3 ${CMAKE_BINARY_DIR}/examples/msg/icomms/peer ${CMAKE_HOME_DIRECTORY}/examples/msg/icomms/small_platform.xml ${CMAKE_HOME_DIRECTORY}/examples/msg/icomms/deployment_peer04.xml "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg=contexts/factory:thread  --cd ${CMAKE_BINARY_DIR}/examples/msg/icomms/)
+ADD_TEST(memcheck-msg-icomms-thread-4 ${CMAKE_BINARY_DIR}/examples/msg/icomms/peer2 ${CMAKE_HOME_DIRECTORY}/examples/msg/icomms/small_platform.xml ${CMAKE_HOME_DIRECTORY}/examples/msg/icomms/deployment_peer.xml "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg=contexts/factory:thread  --cd ${CMAKE_BINARY_DIR}/examples/msg/icomms/)
+ADD_TEST(memcheck-msg-actions-thread-0 ${CMAKE_BINARY_DIR}/examples/msg/actions/actions --log=actions.thres=verbose homogeneous_3_hosts.xml deployment_split.xml "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg=contexts/factory:thread  --cd ${CMAKE_HOME_DIRECTORY}/examples/msg/actions/)
+ADD_TEST(memcheck-msg-actions-thread-1 ${CMAKE_BINARY_DIR}/examples/msg/actions/actions --log=actions.thres=verbose homogeneous_3_hosts.xml deployment.xml actions_allReduce.txt "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg=contexts/factory:thread  --cd ${CMAKE_HOME_DIRECTORY}/examples/msg/actions/)
+ADD_TEST(memcheck-msg-actions-thread-2 ${CMAKE_BINARY_DIR}/examples/msg/actions/actions --log=actions.thres=verbose homogeneous_3_hosts.xml deployment.xml actions_barrier.txt "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg=contexts/factory:thread  --cd ${CMAKE_HOME_DIRECTORY}/examples/msg/actions/)
+ADD_TEST(memcheck-msg-actions-thread-3 ${CMAKE_BINARY_DIR}/examples/msg/actions/actions --log=actions.thres=verbose homogeneous_3_hosts.xml deployment.xml actions_bcast.txt "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg=contexts/factory:thread  --cd ${CMAKE_HOME_DIRECTORY}/examples/msg/actions/)
+ADD_TEST(memcheck-msg-actions-thread-4 ${CMAKE_BINARY_DIR}/examples/msg/actions/actions --log=actions.thres=verbose homogeneous_3_hosts.xml deployment.xml actions_reduce.txt "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg=contexts/factory:thread  --cd ${CMAKE_HOME_DIRECTORY}/examples/msg/actions/)
+ADD_TEST(memcheck-msg-actions-thread-5 ${CMAKE_BINARY_DIR}/examples/msg/actions/actions --log=actions.thres=verbose homogeneous_3_hosts.xml deployment.xml actions_with_isend.txt "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg=contexts/factory:thread  --cd ${CMAKE_HOME_DIRECTORY}/examples/msg/actions/)
+ADD_TEST(memcheck-msg-masterslave-cpu-ti-thread-0 ${CMAKE_BINARY_DIR}/examples/msg/masterslave/masterslave_forwarder small_platform.xml masterslave/deployment_masterslave.xml --cfg=cpu/model:CpuTI "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg=contexts/factory:thread  --cd ${CMAKE_HOME_DIRECTORY}/examples/msg/)
+ADD_TEST(memcheck-msg-masterslave-cpu-ti-thread-1 ${CMAKE_BINARY_DIR}/examples/msg/masterslave/masterslave_forwarder msg_platform.xml masterslave/deployment_masterslave_forwarder.xml --cfg=cpu/model:CpuTI "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg=contexts/factory:thread  --cd ${CMAKE_HOME_DIRECTORY}/examples/msg/)
+ADD_TEST(memcheck-msg-masterslave-cpu-ti-thread-2 ${CMAKE_BINARY_DIR}/examples/msg/masterslave/masterslave_failure --log=xbt_cfg.thres:critical --log=no_loc small_platform_with_failures.xml masterslave/deployment_masterslave.xml --cfg=path: --cfg=cpu/model:CpuTI "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg=contexts/factory:thread  --cd ${CMAKE_HOME_DIRECTORY}/examples/msg/)
+ADD_TEST(memcheck-msg-masterslave-cpu-ti-thread-3 ${CMAKE_BINARY_DIR}/examples/msg/masterslave/masterslave_bypass --log=no_loc --cfg=cpu/model:CpuTI "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg=contexts/factory:thread  --cd ${CMAKE_HOME_DIRECTORY}/examples/msg/)
+ADD_TEST(memcheck-msg-trace-thread-0 ${CMAKE_BINARY_DIR}/examples/msg/trace/test_trace_integration ./trace/test1.xml --cfg=workstation/model:compound --cfg=network/model:CM02 --cfg=cpu/model:CpuTI "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg=contexts/factory:thread  --cd ${CMAKE_HOME_DIRECTORY}/examples/msg/)
+ADD_TEST(memcheck-msg-trace-thread-1 ${CMAKE_BINARY_DIR}/examples/msg/trace/test_trace_integration ./trace/test2.xml --cfg=workstation/model:compound --cfg=network/model:CM02 --cfg=cpu/model:CpuTI "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg=contexts/factory:thread  --cd ${CMAKE_HOME_DIRECTORY}/examples/msg/)
+ADD_TEST(memcheck-msg-trace-thread-2 ${CMAKE_BINARY_DIR}/examples/msg/trace/test_trace_integration ./trace/test3.xml --cfg=workstation/model:compound --cfg=network/model:CM02 --cfg=cpu/model:CpuTI "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg=contexts/factory:thread  --cd ${CMAKE_HOME_DIRECTORY}/examples/msg/)
+ADD_TEST(memcheck-msg-trace-thread-3 ${CMAKE_BINARY_DIR}/examples/msg/trace/test_trace_integration ./trace/test4.xml --cfg=workstation/model:compound --cfg=network/model:CM02 --cfg=cpu/model:CpuTI "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg=contexts/factory:thread  --cd ${CMAKE_HOME_DIRECTORY}/examples/msg/)
+ADD_TEST(memcheck-msg-trace-thread-4 ${CMAKE_BINARY_DIR}/examples/msg/trace/test_trace_integration ./trace/test5.xml --cfg=workstation/model:compound --cfg=network/model:CM02 --cfg=cpu/model:CpuTI "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg=contexts/factory:thread  --cd ${CMAKE_HOME_DIRECTORY}/examples/msg/)
+ADD_TEST(memcheck-msg-trace-thread-5 ${CMAKE_BINARY_DIR}/examples/msg/trace/test_trace_integration ./trace/test6.xml --cfg=workstation/model:compound --cfg=network/model:CM02 --cfg=cpu/model:CpuTI "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg=contexts/factory:thread  --cd ${CMAKE_HOME_DIRECTORY}/examples/msg/)
+ADD_TEST(memcheck-msg-trace-thread-6 ${CMAKE_BINARY_DIR}/examples/msg/trace/test_trace_integration ./trace/test7.xml --cfg=workstation/model:compound --cfg=network/model:CM02 --cfg=cpu/model:CpuTI "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg=contexts/factory:thread  --cd ${CMAKE_HOME_DIRECTORY}/examples/msg/)
+ADD_TEST(memcheck-msg-trace-thread-7 ${CMAKE_BINARY_DIR}/examples/msg/trace/test_trace_integration ./trace/test8.xml --cfg=workstation/model:compound --cfg=network/model:CM02 --cfg=cpu/model:CpuTI "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg=contexts/factory:thread  --cd ${CMAKE_HOME_DIRECTORY}/examples/msg/)
+ADD_TEST(memcheck-msg-trace-thread-8 ${CMAKE_BINARY_DIR}/examples/msg/trace/test_trace_integration ./trace/test9.xml --cfg=workstation/model:compound --cfg=network/model:CM02 --cfg=cpu/model:CpuTI "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg=contexts/factory:thread  --cd ${CMAKE_HOME_DIRECTORY}/examples/msg/)
+ADD_TEST(memcheck-msg-trace-thread-9 ${CMAKE_BINARY_DIR}/examples/msg/trace/test_trace_integration ./trace/test10.xml --cfg=workstation/model:compound --cfg=network/model:CM02 --cfg=cpu/model:CpuTI "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg=contexts/factory:thread  --cd ${CMAKE_HOME_DIRECTORY}/examples/msg/)
+ADD_TEST(memcheck-msg-trace-thread-10 ${CMAKE_BINARY_DIR}/examples/msg/trace/test_trace_integration ./trace/test11.xml --cfg=workstation/model:compound --cfg=network/model:CM02 --cfg=cpu/model:CpuTI "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg=contexts/factory:thread  --cd ${CMAKE_HOME_DIRECTORY}/examples/msg/)
+ADD_TEST(memcheck-msg-chord-thread-0 ${CMAKE_BINARY_DIR}/examples/msg/chord/chord -nb_bits=6 ./../msg_platform.xml ./chord.xml --log=msg_chord.thres:verbose "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg=contexts/factory:thread  --cd ${CMAKE_HOME_DIRECTORY}/examples/msg/chord/)
+ADD_TEST(memcheck-msg-chord-thread-parallel-0 ${CMAKE_BINARY_DIR}/examples/msg/chord/chord -nb_bits=6 ./../msg_platform.xml ./chord.xml --log=msg_chord.thres:verbose "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg=contexts/nthreads:4 --cfg=contexts/factory:thread  --cd ${CMAKE_HOME_DIRECTORY}/examples/msg/chord/)
+if(HAVE_UCONTEXT_H)
+ADD_TEST(memcheck-msg-masterslave-multicore-ucontext-0 ${CMAKE_BINARY_DIR}/examples/msg/masterslave/masterslave_mailbox ${CMAKE_HOME_DIRECTORY}/examples/msg/../platforms/multicore_machine.xml ${CMAKE_HOME_DIRECTORY}/examples/msg/masterslave/deployment_masterslave_mailbox_multicore.xml --cfg=cpu/model:Cas01_fullupdate --cfg=contexts/factory:ucontext  --cd ${CMAKE_BINARY_DIR}/examples/msg/)
+ADD_TEST(memcheck-msg-migration-ucontext-0 ${CMAKE_BINARY_DIR}/examples/msg/migration/migration ${CMAKE_HOME_DIRECTORY}/examples/msg/msg_platform.xml ${CMAKE_HOME_DIRECTORY}/examples/msg/migration/migration.deploy  "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg=contexts/factory:ucontext  --cd ${CMAKE_BINARY_DIR}/examples/msg/)
+ADD_TEST(memcheck-msg-ptask-ucontext-0 ${CMAKE_BINARY_DIR}/examples/msg/parallel_task/parallel_task ${CMAKE_HOME_DIRECTORY}/examples/msg/small_platform.xml "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg=contexts/factory:ucontext  --cd ${CMAKE_BINARY_DIR}/examples/msg/)
+ADD_TEST(memcheck-msg-ptask-ucontext-1 ${CMAKE_BINARY_DIR}/examples/msg/parallel_task/test_ptask ${CMAKE_HOME_DIRECTORY}/examples/msg/parallel_task/test_ptask_platform.xml ${CMAKE_HOME_DIRECTORY}/examples/msg/parallel_task/test_ptask_deployment.xml "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg=contexts/factory:ucontext  --cd ${CMAKE_BINARY_DIR}/examples/msg/)
+ADD_TEST(memcheck-msg-priority-ucontext-0 ${CMAKE_BINARY_DIR}/examples/msg/priority/priority ${CMAKE_HOME_DIRECTORY}/examples/msg/small_platform.xml  ${CMAKE_HOME_DIRECTORY}/examples/msg/priority/deployment_priority.xml "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg=contexts/factory:ucontext  --cd ${CMAKE_BINARY_DIR}/examples/msg/)
+ADD_TEST(memcheck-msg-properties-ucontext-0 ${CMAKE_BINARY_DIR}/examples/msg/properties/msg_prop ${CMAKE_HOME_DIRECTORY}/examples/msg/../platforms/prop.xml ${CMAKE_HOME_DIRECTORY}/examples/msg/properties/deployment_properties.xml  "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg=contexts/factory:ucontext  --cd ${CMAKE_BINARY_DIR}/examples/msg/)
+ADD_TEST(memcheck-msg-icomms-ucontext-0 ${CMAKE_BINARY_DIR}/examples/msg/icomms/peer ${CMAKE_HOME_DIRECTORY}/examples/msg/icomms/small_platform.xml ${CMAKE_HOME_DIRECTORY}/examples/msg/icomms/deployment_peer01.xml "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg=contexts/factory:ucontext  --cd ${CMAKE_BINARY_DIR}/examples/msg/icomms/)
+ADD_TEST(memcheck-msg-icomms-ucontext-1 ${CMAKE_BINARY_DIR}/examples/msg/icomms/peer ${CMAKE_HOME_DIRECTORY}/examples/msg/icomms/small_platform.xml ${CMAKE_HOME_DIRECTORY}/examples/msg/icomms/deployment_peer02.xml "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg=contexts/factory:ucontext  --cd ${CMAKE_BINARY_DIR}/examples/msg/icomms/)
+ADD_TEST(memcheck-msg-icomms-ucontext-2 ${CMAKE_BINARY_DIR}/examples/msg/icomms/peer ${CMAKE_HOME_DIRECTORY}/examples/msg/icomms/small_platform.xml ${CMAKE_HOME_DIRECTORY}/examples/msg/icomms/deployment_peer03.xml "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg=contexts/factory:ucontext  --cd ${CMAKE_BINARY_DIR}/examples/msg/icomms/)
+ADD_TEST(memcheck-msg-icomms-ucontext-3 ${CMAKE_BINARY_DIR}/examples/msg/icomms/peer ${CMAKE_HOME_DIRECTORY}/examples/msg/icomms/small_platform.xml ${CMAKE_HOME_DIRECTORY}/examples/msg/icomms/deployment_peer04.xml "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg=contexts/factory:ucontext  --cd ${CMAKE_BINARY_DIR}/examples/msg/icomms/)
+ADD_TEST(memcheck-msg-icomms-ucontext-4 ${CMAKE_BINARY_DIR}/examples/msg/icomms/peer2 ${CMAKE_HOME_DIRECTORY}/examples/msg/icomms/small_platform.xml ${CMAKE_HOME_DIRECTORY}/examples/msg/icomms/deployment_peer.xml "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg=contexts/factory:ucontext  --cd ${CMAKE_BINARY_DIR}/examples/msg/icomms/)
+ADD_TEST(memcheck-msg-actions-ucontext-0 ${CMAKE_BINARY_DIR}/examples/msg/actions/actions --log=actions.thres=verbose homogeneous_3_hosts.xml deployment_split.xml "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg=contexts/factory:ucontext  --cd ${CMAKE_HOME_DIRECTORY}/examples/msg/actions/)
+ADD_TEST(memcheck-msg-actions-ucontext-1 ${CMAKE_BINARY_DIR}/examples/msg/actions/actions --log=actions.thres=verbose homogeneous_3_hosts.xml deployment.xml actions_allReduce.txt "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg=contexts/factory:ucontext  --cd ${CMAKE_HOME_DIRECTORY}/examples/msg/actions/)
+ADD_TEST(memcheck-msg-actions-ucontext-2 ${CMAKE_BINARY_DIR}/examples/msg/actions/actions --log=actions.thres=verbose homogeneous_3_hosts.xml deployment.xml actions_barrier.txt "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg=contexts/factory:ucontext  --cd ${CMAKE_HOME_DIRECTORY}/examples/msg/actions/)
+ADD_TEST(memcheck-msg-actions-ucontext-3 ${CMAKE_BINARY_DIR}/examples/msg/actions/actions --log=actions.thres=verbose homogeneous_3_hosts.xml deployment.xml actions_bcast.txt "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg=contexts/factory:ucontext  --cd ${CMAKE_HOME_DIRECTORY}/examples/msg/actions/)
+ADD_TEST(memcheck-msg-actions-ucontext-4 ${CMAKE_BINARY_DIR}/examples/msg/actions/actions --log=actions.thres=verbose homogeneous_3_hosts.xml deployment.xml actions_reduce.txt "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg=contexts/factory:ucontext  --cd ${CMAKE_HOME_DIRECTORY}/examples/msg/actions/)
+ADD_TEST(memcheck-msg-actions-ucontext-5 ${CMAKE_BINARY_DIR}/examples/msg/actions/actions --log=actions.thres=verbose homogeneous_3_hosts.xml deployment.xml actions_with_isend.txt "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg=contexts/factory:ucontext  --cd ${CMAKE_HOME_DIRECTORY}/examples/msg/actions/)
+ADD_TEST(memcheck-msg-masterslave-cpu-ti-ucontext-0 ${CMAKE_BINARY_DIR}/examples/msg/masterslave/masterslave_forwarder small_platform.xml masterslave/deployment_masterslave.xml --cfg=cpu/model:CpuTI "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg=contexts/factory:ucontext  --cd ${CMAKE_HOME_DIRECTORY}/examples/msg/)
+ADD_TEST(memcheck-msg-masterslave-cpu-ti-ucontext-1 ${CMAKE_BINARY_DIR}/examples/msg/masterslave/masterslave_forwarder msg_platform.xml masterslave/deployment_masterslave_forwarder.xml --cfg=cpu/model:CpuTI "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg=contexts/factory:ucontext  --cd ${CMAKE_HOME_DIRECTORY}/examples/msg/)
+ADD_TEST(memcheck-msg-masterslave-cpu-ti-ucontext-2 ${CMAKE_BINARY_DIR}/examples/msg/masterslave/masterslave_failure --log=xbt_cfg.thres:critical --log=no_loc small_platform_with_failures.xml masterslave/deployment_masterslave.xml --cfg=path: --cfg=cpu/model:CpuTI "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg=contexts/factory:ucontext  --cd ${CMAKE_HOME_DIRECTORY}/examples/msg/)
+ADD_TEST(memcheck-msg-masterslave-cpu-ti-ucontext-3 ${CMAKE_BINARY_DIR}/examples/msg/masterslave/masterslave_bypass --log=no_loc --cfg=cpu/model:CpuTI "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg=contexts/factory:ucontext  --cd ${CMAKE_HOME_DIRECTORY}/examples/msg/)
+ADD_TEST(memcheck-msg-trace-ucontext-0 ${CMAKE_BINARY_DIR}/examples/msg/trace/test_trace_integration ./trace/test1.xml --cfg=workstation/model:compound --cfg=network/model:CM02 --cfg=cpu/model:CpuTI "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg=contexts/factory:ucontext  --cd ${CMAKE_HOME_DIRECTORY}/examples/msg/)
+ADD_TEST(memcheck-msg-trace-ucontext-1 ${CMAKE_BINARY_DIR}/examples/msg/trace/test_trace_integration ./trace/test2.xml --cfg=workstation/model:compound --cfg=network/model:CM02 --cfg=cpu/model:CpuTI "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg=contexts/factory:ucontext  --cd ${CMAKE_HOME_DIRECTORY}/examples/msg/)
+ADD_TEST(memcheck-msg-trace-ucontext-2 ${CMAKE_BINARY_DIR}/examples/msg/trace/test_trace_integration ./trace/test3.xml --cfg=workstation/model:compound --cfg=network/model:CM02 --cfg=cpu/model:CpuTI "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg=contexts/factory:ucontext  --cd ${CMAKE_HOME_DIRECTORY}/examples/msg/)
+ADD_TEST(memcheck-msg-trace-ucontext-3 ${CMAKE_BINARY_DIR}/examples/msg/trace/test_trace_integration ./trace/test4.xml --cfg=workstation/model:compound --cfg=network/model:CM02 --cfg=cpu/model:CpuTI "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg=contexts/factory:ucontext  --cd ${CMAKE_HOME_DIRECTORY}/examples/msg/)
+ADD_TEST(memcheck-msg-trace-ucontext-4 ${CMAKE_BINARY_DIR}/examples/msg/trace/test_trace_integration ./trace/test5.xml --cfg=workstation/model:compound --cfg=network/model:CM02 --cfg=cpu/model:CpuTI "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg=contexts/factory:ucontext  --cd ${CMAKE_HOME_DIRECTORY}/examples/msg/)
+ADD_TEST(memcheck-msg-trace-ucontext-5 ${CMAKE_BINARY_DIR}/examples/msg/trace/test_trace_integration ./trace/test6.xml --cfg=workstation/model:compound --cfg=network/model:CM02 --cfg=cpu/model:CpuTI "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg=contexts/factory:ucontext  --cd ${CMAKE_HOME_DIRECTORY}/examples/msg/)
+ADD_TEST(memcheck-msg-trace-ucontext-6 ${CMAKE_BINARY_DIR}/examples/msg/trace/test_trace_integration ./trace/test7.xml --cfg=workstation/model:compound --cfg=network/model:CM02 --cfg=cpu/model:CpuTI "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg=contexts/factory:ucontext  --cd ${CMAKE_HOME_DIRECTORY}/examples/msg/)
+ADD_TEST(memcheck-msg-trace-ucontext-7 ${CMAKE_BINARY_DIR}/examples/msg/trace/test_trace_integration ./trace/test8.xml --cfg=workstation/model:compound --cfg=network/model:CM02 --cfg=cpu/model:CpuTI "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg=contexts/factory:ucontext  --cd ${CMAKE_HOME_DIRECTORY}/examples/msg/)
+ADD_TEST(memcheck-msg-trace-ucontext-8 ${CMAKE_BINARY_DIR}/examples/msg/trace/test_trace_integration ./trace/test9.xml --cfg=workstation/model:compound --cfg=network/model:CM02 --cfg=cpu/model:CpuTI "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg=contexts/factory:ucontext  --cd ${CMAKE_HOME_DIRECTORY}/examples/msg/)
+ADD_TEST(memcheck-msg-trace-ucontext-9 ${CMAKE_BINARY_DIR}/examples/msg/trace/test_trace_integration ./trace/test10.xml --cfg=workstation/model:compound --cfg=network/model:CM02 --cfg=cpu/model:CpuTI "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg=contexts/factory:ucontext  --cd ${CMAKE_HOME_DIRECTORY}/examples/msg/)
+ADD_TEST(memcheck-msg-trace-ucontext-10 ${CMAKE_BINARY_DIR}/examples/msg/trace/test_trace_integration ./trace/test11.xml --cfg=workstation/model:compound --cfg=network/model:CM02 --cfg=cpu/model:CpuTI "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg=contexts/factory:ucontext  --cd ${CMAKE_HOME_DIRECTORY}/examples/msg/)
+ADD_TEST(memcheck-msg-chord-ucontext-0 ${CMAKE_BINARY_DIR}/examples/msg/chord/chord -nb_bits=6 ./../msg_platform.xml ./chord.xml --log=msg_chord.thres:verbose "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg=contexts/factory:ucontext  --cd ${CMAKE_HOME_DIRECTORY}/examples/msg/chord/)
+ADD_TEST(memcheck-msg-chord-ucontext-parallel-0 ${CMAKE_BINARY_DIR}/examples/msg/chord/chord -nb_bits=6 ./../msg_platform.xml ./chord.xml --log=msg_chord.thres:verbose "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg=contexts/nthreads:4 --cfg=contexts/factory:ucontext  --cd ${CMAKE_HOME_DIRECTORY}/examples/msg/chord/)
+endif(HAVE_UCONTEXT_H)
+if(HAVE_RAWCTX)
+ADD_TEST(memcheck-msg-masterslave-multicore-raw-0 ${CMAKE_BINARY_DIR}/examples/msg/masterslave/masterslave_mailbox ${CMAKE_HOME_DIRECTORY}/examples/msg/../platforms/multicore_machine.xml ${CMAKE_HOME_DIRECTORY}/examples/msg/masterslave/deployment_masterslave_mailbox_multicore.xml --cfg=cpu/model:Cas01_fullupdate --cfg=contexts/factory:raw  --cd ${CMAKE_BINARY_DIR}/examples/msg/)
+ADD_TEST(memcheck-msg-migration-raw-0 ${CMAKE_BINARY_DIR}/examples/msg/migration/migration ${CMAKE_HOME_DIRECTORY}/examples/msg/msg_platform.xml ${CMAKE_HOME_DIRECTORY}/examples/msg/migration/migration.deploy  "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg=contexts/factory:raw  --cd ${CMAKE_BINARY_DIR}/examples/msg/)
+ADD_TEST(memcheck-msg-ptask-raw-0 ${CMAKE_BINARY_DIR}/examples/msg/parallel_task/parallel_task ${CMAKE_HOME_DIRECTORY}/examples/msg/small_platform.xml "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg=contexts/factory:raw  --cd ${CMAKE_BINARY_DIR}/examples/msg/)
+ADD_TEST(memcheck-msg-ptask-raw-1 ${CMAKE_BINARY_DIR}/examples/msg/parallel_task/test_ptask ${CMAKE_HOME_DIRECTORY}/examples/msg/parallel_task/test_ptask_platform.xml ${CMAKE_HOME_DIRECTORY}/examples/msg/parallel_task/test_ptask_deployment.xml "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg=contexts/factory:raw  --cd ${CMAKE_BINARY_DIR}/examples/msg/)
+ADD_TEST(memcheck-msg-priority-raw-0 ${CMAKE_BINARY_DIR}/examples/msg/priority/priority ${CMAKE_HOME_DIRECTORY}/examples/msg/small_platform.xml  ${CMAKE_HOME_DIRECTORY}/examples/msg/priority/deployment_priority.xml "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg=contexts/factory:raw  --cd ${CMAKE_BINARY_DIR}/examples/msg/)
+ADD_TEST(memcheck-msg-actions-raw-0 ${CMAKE_BINARY_DIR}/examples/msg/actions/actions --log=actions.thres=verbose homogeneous_3_hosts.xml deployment_split.xml "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg=contexts/factory:raw  --cd ${CMAKE_HOME_DIRECTORY}/examples/msg/actions/)
+ADD_TEST(memcheck-msg-actions-raw-1 ${CMAKE_BINARY_DIR}/examples/msg/actions/actions --log=actions.thres=verbose homogeneous_3_hosts.xml deployment.xml actions_allReduce.txt "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg=contexts/factory:raw  --cd ${CMAKE_HOME_DIRECTORY}/examples/msg/actions/)
+ADD_TEST(memcheck-msg-actions-raw-2 ${CMAKE_BINARY_DIR}/examples/msg/actions/actions --log=actions.thres=verbose homogeneous_3_hosts.xml deployment.xml actions_barrier.txt "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg=contexts/factory:raw  --cd ${CMAKE_HOME_DIRECTORY}/examples/msg/actions/)
+ADD_TEST(memcheck-msg-actions-raw-3 ${CMAKE_BINARY_DIR}/examples/msg/actions/actions --log=actions.thres=verbose homogeneous_3_hosts.xml deployment.xml actions_bcast.txt "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg=contexts/factory:raw  --cd ${CMAKE_HOME_DIRECTORY}/examples/msg/actions/)
+ADD_TEST(memcheck-msg-actions-raw-4 ${CMAKE_BINARY_DIR}/examples/msg/actions/actions --log=actions.thres=verbose homogeneous_3_hosts.xml deployment.xml actions_reduce.txt "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg=contexts/factory:raw  --cd ${CMAKE_HOME_DIRECTORY}/examples/msg/actions/)
+ADD_TEST(memcheck-msg-actions-raw-5 ${CMAKE_BINARY_DIR}/examples/msg/actions/actions --log=actions.thres=verbose homogeneous_3_hosts.xml deployment.xml actions_with_isend.txt "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg=contexts/factory:raw  --cd ${CMAKE_HOME_DIRECTORY}/examples/msg/actions/)
+ADD_TEST(memcheck-msg-icomms-raw-0 ${CMAKE_BINARY_DIR}/examples/msg/icomms/peer ${CMAKE_HOME_DIRECTORY}/examples/msg/icomms/small_platform.xml ${CMAKE_HOME_DIRECTORY}/examples/msg/icomms/deployment_peer01.xml "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg=contexts/factory:raw  --cd ${CMAKE_BINARY_DIR}/examples/msg/icomms/)
+ADD_TEST(memcheck-msg-icomms-raw-1 ${CMAKE_BINARY_DIR}/examples/msg/icomms/peer ${CMAKE_HOME_DIRECTORY}/examples/msg/icomms/small_platform.xml ${CMAKE_HOME_DIRECTORY}/examples/msg/icomms/deployment_peer02.xml "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg=contexts/factory:raw  --cd ${CMAKE_BINARY_DIR}/examples/msg/icomms/)
+ADD_TEST(memcheck-msg-icomms-raw-2 ${CMAKE_BINARY_DIR}/examples/msg/icomms/peer ${CMAKE_HOME_DIRECTORY}/examples/msg/icomms/small_platform.xml ${CMAKE_HOME_DIRECTORY}/examples/msg/icomms/deployment_peer03.xml "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg=contexts/factory:raw  --cd ${CMAKE_BINARY_DIR}/examples/msg/icomms/)
+ADD_TEST(memcheck-msg-icomms-raw-3 ${CMAKE_BINARY_DIR}/examples/msg/icomms/peer ${CMAKE_HOME_DIRECTORY}/examples/msg/icomms/small_platform.xml ${CMAKE_HOME_DIRECTORY}/examples/msg/icomms/deployment_peer04.xml "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg=contexts/factory:raw  --cd ${CMAKE_BINARY_DIR}/examples/msg/icomms/)
+ADD_TEST(memcheck-msg-icomms-raw-4 ${CMAKE_BINARY_DIR}/examples/msg/icomms/peer2 ${CMAKE_HOME_DIRECTORY}/examples/msg/icomms/small_platform.xml ${CMAKE_HOME_DIRECTORY}/examples/msg/icomms/deployment_peer.xml "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg=contexts/factory:raw  --cd ${CMAKE_BINARY_DIR}/examples/msg/icomms/)
+ADD_TEST(memcheck-msg-properties-raw-0 ${CMAKE_BINARY_DIR}/examples/msg/properties/msg_prop ${CMAKE_HOME_DIRECTORY}/examples/msg/../platforms/prop.xml ${CMAKE_HOME_DIRECTORY}/examples/msg/properties/deployment_properties.xml  "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg=contexts/factory:raw  --cd ${CMAKE_BINARY_DIR}/examples/msg/)
+ADD_TEST(memcheck-msg-masterslave-cpu-ti-raw-0 ${CMAKE_BINARY_DIR}/examples/msg/masterslave/masterslave_forwarder small_platform.xml masterslave/deployment_masterslave.xml --cfg=cpu/model:CpuTI "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg=contexts/factory:raw  --cd ${CMAKE_HOME_DIRECTORY}/examples/msg/)
+ADD_TEST(memcheck-msg-masterslave-cpu-ti-raw-1 ${CMAKE_BINARY_DIR}/examples/msg/masterslave/masterslave_forwarder msg_platform.xml masterslave/deployment_masterslave_forwarder.xml --cfg=cpu/model:CpuTI "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg=contexts/factory:raw  --cd ${CMAKE_HOME_DIRECTORY}/examples/msg/)
+ADD_TEST(memcheck-msg-masterslave-cpu-ti-raw-2 ${CMAKE_BINARY_DIR}/examples/msg/masterslave/masterslave_failure --log=xbt_cfg.thres:critical --log=no_loc small_platform_with_failures.xml masterslave/deployment_masterslave.xml --cfg=path: --cfg=cpu/model:CpuTI "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg=contexts/factory:raw  --cd ${CMAKE_HOME_DIRECTORY}/examples/msg/)
+ADD_TEST(memcheck-msg-masterslave-cpu-ti-raw-3 ${CMAKE_BINARY_DIR}/examples/msg/masterslave/masterslave_bypass --log=no_loc --cfg=cpu/model:CpuTI "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg=contexts/factory:raw  --cd ${CMAKE_HOME_DIRECTORY}/examples/msg/)
+ADD_TEST(memcheck-msg-trace-raw-0 ${CMAKE_BINARY_DIR}/examples/msg/trace/test_trace_integration ./trace/test1.xml --cfg=workstation/model:compound --cfg=network/model:CM02 --cfg=cpu/model:CpuTI "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg=contexts/factory:raw  --cd ${CMAKE_HOME_DIRECTORY}/examples/msg/)
+ADD_TEST(memcheck-msg-trace-raw-1 ${CMAKE_BINARY_DIR}/examples/msg/trace/test_trace_integration ./trace/test2.xml --cfg=workstation/model:compound --cfg=network/model:CM02 --cfg=cpu/model:CpuTI "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg=contexts/factory:raw  --cd ${CMAKE_HOME_DIRECTORY}/examples/msg/)
+ADD_TEST(memcheck-msg-trace-raw-2 ${CMAKE_BINARY_DIR}/examples/msg/trace/test_trace_integration ./trace/test3.xml --cfg=workstation/model:compound --cfg=network/model:CM02 --cfg=cpu/model:CpuTI "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg=contexts/factory:raw  --cd ${CMAKE_HOME_DIRECTORY}/examples/msg/)
+ADD_TEST(memcheck-msg-trace-raw-3 ${CMAKE_BINARY_DIR}/examples/msg/trace/test_trace_integration ./trace/test4.xml --cfg=workstation/model:compound --cfg=network/model:CM02 --cfg=cpu/model:CpuTI "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg=contexts/factory:raw  --cd ${CMAKE_HOME_DIRECTORY}/examples/msg/)
+ADD_TEST(memcheck-msg-trace-raw-4 ${CMAKE_BINARY_DIR}/examples/msg/trace/test_trace_integration ./trace/test5.xml --cfg=workstation/model:compound --cfg=network/model:CM02 --cfg=cpu/model:CpuTI "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg=contexts/factory:raw  --cd ${CMAKE_HOME_DIRECTORY}/examples/msg/)
+ADD_TEST(memcheck-msg-trace-raw-5 ${CMAKE_BINARY_DIR}/examples/msg/trace/test_trace_integration ./trace/test6.xml --cfg=workstation/model:compound --cfg=network/model:CM02 --cfg=cpu/model:CpuTI "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg=contexts/factory:raw  --cd ${CMAKE_HOME_DIRECTORY}/examples/msg/)
+ADD_TEST(memcheck-msg-trace-raw-6 ${CMAKE_BINARY_DIR}/examples/msg/trace/test_trace_integration ./trace/test7.xml --cfg=workstation/model:compound --cfg=network/model:CM02 --cfg=cpu/model:CpuTI "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg=contexts/factory:raw  --cd ${CMAKE_HOME_DIRECTORY}/examples/msg/)
+ADD_TEST(memcheck-msg-trace-raw-7 ${CMAKE_BINARY_DIR}/examples/msg/trace/test_trace_integration ./trace/test8.xml --cfg=workstation/model:compound --cfg=network/model:CM02 --cfg=cpu/model:CpuTI "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg=contexts/factory:raw  --cd ${CMAKE_HOME_DIRECTORY}/examples/msg/)
+ADD_TEST(memcheck-msg-trace-raw-8 ${CMAKE_BINARY_DIR}/examples/msg/trace/test_trace_integration ./trace/test9.xml --cfg=workstation/model:compound --cfg=network/model:CM02 --cfg=cpu/model:CpuTI "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg=contexts/factory:raw  --cd ${CMAKE_HOME_DIRECTORY}/examples/msg/)
+ADD_TEST(memcheck-msg-trace-raw-9 ${CMAKE_BINARY_DIR}/examples/msg/trace/test_trace_integration ./trace/test10.xml --cfg=workstation/model:compound --cfg=network/model:CM02 --cfg=cpu/model:CpuTI "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg=contexts/factory:raw  --cd ${CMAKE_HOME_DIRECTORY}/examples/msg/)
+ADD_TEST(memcheck-msg-trace-raw-10 ${CMAKE_BINARY_DIR}/examples/msg/trace/test_trace_integration ./trace/test11.xml --cfg=workstation/model:compound --cfg=network/model:CM02 --cfg=cpu/model:CpuTI "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg=contexts/factory:raw  --cd ${CMAKE_HOME_DIRECTORY}/examples/msg/)
+ADD_TEST(memcheck-msg-chord-raw-0 ${CMAKE_BINARY_DIR}/examples/msg/chord/chord -nb_bits=6 ./../msg_platform.xml ./chord.xml --log=msg_chord.thres:verbose "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg=contexts/factory:raw  --cd ${CMAKE_HOME_DIRECTORY}/examples/msg/chord/)
+ADD_TEST(memcheck-msg-chord-raw-parallel-0 ${CMAKE_BINARY_DIR}/examples/msg/chord/chord -nb_bits=6 ./../msg_platform.xml ./chord.xml --log=msg_chord.thres:verbose "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg=contexts/nthreads:4 --cfg=contexts/factory:raw  --cd ${CMAKE_HOME_DIRECTORY}/examples/msg/chord/)
+endif(HAVE_RAWCTX)
 
 IF(${ARCH_32_BITS})
-ADD_TEST(memcheck-gras-ping-sg-32-raw-0 ${CMAKE_BINARY_DIR}/examples/gras/ping/ping_simulator ${CMAKE_BINARY_DIR}/examples/gras/ping/../../msg/small_platform.xml ${CMAKE_BINARY_DIR}/examples/gras/ping/ping.xml "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg contexts/factory:raw  --cd ${CMAKE_BINARY_DIR}/examples/gras/ping/)
-ADD_TEST(memcheck-gras-ping-sg-32-thread-0 ${CMAKE_BINARY_DIR}/examples/gras/ping/ping_simulator ${CMAKE_BINARY_DIR}/examples/gras/ping/../../msg/small_platform.xml ${CMAKE_BINARY_DIR}/examples/gras/ping/ping.xml "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg contexts/factory:thread  --cd ${CMAKE_BINARY_DIR}/examples/gras/ping/)
-ADD_TEST(memcheck-gras-ping-sg-32-ucontext-0 ${CMAKE_BINARY_DIR}/examples/gras/ping/ping_simulator ${CMAKE_BINARY_DIR}/examples/gras/ping/../../msg/small_platform.xml ${CMAKE_BINARY_DIR}/examples/gras/ping/ping.xml "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg contexts/factory:ucontext  --cd ${CMAKE_BINARY_DIR}/examples/gras/ping/)
-ADD_TEST(memcheck-gras-rpc-sg-32-raw-0 ${CMAKE_BINARY_DIR}/examples/gras/rpc/rpc_simulator ${CMAKE_BINARY_DIR}/examples/gras/rpc/../../msg/small_platform.xml ${CMAKE_BINARY_DIR}/examples/gras/rpc/rpc.xml "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg contexts/factory:raw  --cd ${CMAKE_BINARY_DIR}/examples/gras/rpc/)
-ADD_TEST(memcheck-gras-rpc-sg-32-thread-0 ${CMAKE_BINARY_DIR}/examples/gras/rpc/rpc_simulator ${CMAKE_BINARY_DIR}/examples/gras/rpc/../../msg/small_platform.xml ${CMAKE_BINARY_DIR}/examples/gras/rpc/rpc.xml "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg contexts/factory:thread  --cd ${CMAKE_BINARY_DIR}/examples/gras/rpc/)
-ADD_TEST(memcheck-gras-rpc-sg-32-ucontext-0 ${CMAKE_BINARY_DIR}/examples/gras/rpc/rpc_simulator ${CMAKE_BINARY_DIR}/examples/gras/rpc/../../msg/small_platform.xml ${CMAKE_BINARY_DIR}/examples/gras/rpc/rpc.xml "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg contexts/factory:ucontext  --cd ${CMAKE_BINARY_DIR}/examples/gras/rpc/)
-ADD_TEST(memcheck-gras-spawn-sg-32-raw-0 ${CMAKE_BINARY_DIR}/examples/gras/spawn/spawn_simulator ${CMAKE_BINARY_DIR}/examples/gras/spawn/../../msg/small_platform.xml ${CMAKE_BINARY_DIR}/examples/gras/spawn/spawn.xml --cfg contexts/factory:raw  --cd ${CMAKE_BINARY_DIR}/examples/gras/spawn/)
-ADD_TEST(memcheck-gras-spawn-sg-32-thread-0 ${CMAKE_BINARY_DIR}/examples/gras/spawn/spawn_simulator ${CMAKE_BINARY_DIR}/examples/gras/spawn/../../msg/small_platform.xml ${CMAKE_BINARY_DIR}/examples/gras/spawn/spawn.xml --cfg contexts/factory:thread  --cd ${CMAKE_BINARY_DIR}/examples/gras/spawn/)
-ADD_TEST(memcheck-gras-spawn-sg-32-ucontext-0 ${CMAKE_BINARY_DIR}/examples/gras/spawn/spawn_simulator ${CMAKE_BINARY_DIR}/examples/gras/spawn/../../msg/small_platform.xml ${CMAKE_BINARY_DIR}/examples/gras/spawn/spawn.xml --cfg contexts/factory:ucontext  --cd ${CMAKE_BINARY_DIR}/examples/gras/spawn/)
-ADD_TEST(memcheck-gras-timer-sg-32-raw-0 ${CMAKE_BINARY_DIR}/examples/gras/timer/timer_simulator ${CMAKE_BINARY_DIR}/examples/gras/timer/../../msg/small_platform.xml ${CMAKE_BINARY_DIR}/examples/gras/timer/timer.xml --cfg contexts/factory:raw  --cd ${CMAKE_BINARY_DIR}/examples/gras/timer/)
-ADD_TEST(memcheck-gras-timer-sg-32-thread-0 ${CMAKE_BINARY_DIR}/examples/gras/timer/timer_simulator ${CMAKE_BINARY_DIR}/examples/gras/timer/../../msg/small_platform.xml ${CMAKE_BINARY_DIR}/examples/gras/timer/timer.xml --cfg contexts/factory:thread  --cd ${CMAKE_BINARY_DIR}/examples/gras/timer/)
-ADD_TEST(memcheck-gras-timer-sg-32-ucontext-0 ${CMAKE_BINARY_DIR}/examples/gras/timer/timer_simulator ${CMAKE_BINARY_DIR}/examples/gras/timer/../../msg/small_platform.xml ${CMAKE_BINARY_DIR}/examples/gras/timer/timer.xml --cfg contexts/factory:ucontext  --cd ${CMAKE_BINARY_DIR}/examples/gras/timer/)
-ADD_TEST(memcheck-gras-chrono-sg-32-raw-0 ${CMAKE_BINARY_DIR}/examples/gras/chrono/chrono_simulator ${CMAKE_BINARY_DIR}/examples/gras/chrono/../../msg/small_platform.xml ${CMAKE_BINARY_DIR}/examples/gras/chrono/chrono.xml --cfg contexts/factory:raw  --cd ${CMAKE_BINARY_DIR}/examples/gras/chrono/)
-ADD_TEST(memcheck-gras-chrono-sg-32-thread-0 ${CMAKE_BINARY_DIR}/examples/gras/chrono/chrono_simulator ${CMAKE_BINARY_DIR}/examples/gras/chrono/../../msg/small_platform.xml ${CMAKE_BINARY_DIR}/examples/gras/chrono/chrono.xml --cfg contexts/factory:thread  --cd ${CMAKE_BINARY_DIR}/examples/gras/chrono/)
-ADD_TEST(memcheck-gras-chrono-sg-32-ucontext-0 ${CMAKE_BINARY_DIR}/examples/gras/chrono/chrono_simulator ${CMAKE_BINARY_DIR}/examples/gras/chrono/../../msg/small_platform.xml ${CMAKE_BINARY_DIR}/examples/gras/chrono/chrono.xml --cfg contexts/factory:ucontext  --cd ${CMAKE_BINARY_DIR}/examples/gras/chrono/)
-ADD_TEST(memcheck-gras-simple-token-sg-32-raw-0 ${CMAKE_BINARY_DIR}/examples/gras/mutual_exclusion/simple_token/simple_token_simulator ${CMAKE_BINARY_DIR}/examples/gras/mutual_exclusion/simple_token/../../../msg/small_platform.xml ${CMAKE_BINARY_DIR}/examples/gras/mutual_exclusion/simple_token/simple_token.xml  "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg contexts/factory:raw  --cd ${CMAKE_BINARY_DIR}/examples/gras/mutual_exclusion/simple_token/)
-ADD_TEST(memcheck-gras-simple-token-sg-32-thread-0 ${CMAKE_BINARY_DIR}/examples/gras/mutual_exclusion/simple_token/simple_token_simulator ${CMAKE_BINARY_DIR}/examples/gras/mutual_exclusion/simple_token/../../../msg/small_platform.xml ${CMAKE_BINARY_DIR}/examples/gras/mutual_exclusion/simple_token/simple_token.xml  "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg contexts/factory:thread  --cd ${CMAKE_BINARY_DIR}/examples/gras/mutual_exclusion/simple_token/)
-ADD_TEST(memcheck-gras-simple-token-sg-32-ucontext-0 ${CMAKE_BINARY_DIR}/examples/gras/mutual_exclusion/simple_token/simple_token_simulator ${CMAKE_BINARY_DIR}/examples/gras/mutual_exclusion/simple_token/../../../msg/small_platform.xml ${CMAKE_BINARY_DIR}/examples/gras/mutual_exclusion/simple_token/simple_token.xml  "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg contexts/factory:ucontext  --cd ${CMAKE_BINARY_DIR}/examples/gras/mutual_exclusion/simple_token/)
-ADD_TEST(memcheck-gras-mmrpc-sg-32-raw-0 ${CMAKE_BINARY_DIR}/examples/gras/mmrpc/mmrpc_simulator ${CMAKE_BINARY_DIR}/examples/gras/mmrpc/../../msg/small_platform.xml ${CMAKE_BINARY_DIR}/examples/gras/mmrpc/mmrpc.xml "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg contexts/factory:raw  --cd ${CMAKE_BINARY_DIR}/examples/gras/mmrpc/)
-ADD_TEST(memcheck-gras-mmrpc-sg-32-thread-0 ${CMAKE_BINARY_DIR}/examples/gras/mmrpc/mmrpc_simulator ${CMAKE_BINARY_DIR}/examples/gras/mmrpc/../../msg/small_platform.xml ${CMAKE_BINARY_DIR}/examples/gras/mmrpc/mmrpc.xml "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg contexts/factory:thread  --cd ${CMAKE_BINARY_DIR}/examples/gras/mmrpc/)
-ADD_TEST(memcheck-gras-mmrpc-sg-32-ucontext-0 ${CMAKE_BINARY_DIR}/examples/gras/mmrpc/mmrpc_simulator ${CMAKE_BINARY_DIR}/examples/gras/mmrpc/../../msg/small_platform.xml ${CMAKE_BINARY_DIR}/examples/gras/mmrpc/mmrpc.xml "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg contexts/factory:ucontext  --cd ${CMAKE_BINARY_DIR}/examples/gras/mmrpc/)
-ADD_TEST(memcheck-gras-all2all-sg-32-raw-0 ${CMAKE_BINARY_DIR}/examples/gras/all2all/all2all_simulator ${CMAKE_BINARY_DIR}/examples/gras/all2all/../../msg/small_platform.xml ${CMAKE_BINARY_DIR}/examples/gras/all2all/all2all.xml "--log=root.fmt:[%10.6r]%e(%.2i:%P@%h)%e%m%n" --cfg contexts/factory:raw  --cd ${CMAKE_BINARY_DIR}/examples/gras/all2all/)
-ADD_TEST(memcheck-gras-all2all-sg-32-thread-0 ${CMAKE_BINARY_DIR}/examples/gras/all2all/all2all_simulator ${CMAKE_BINARY_DIR}/examples/gras/all2all/../../msg/small_platform.xml ${CMAKE_BINARY_DIR}/examples/gras/all2all/all2all.xml "--log=root.fmt:[%10.6r]%e(%.2i:%P@%h)%e%m%n" --cfg contexts/factory:thread  --cd ${CMAKE_BINARY_DIR}/examples/gras/all2all/)
-ADD_TEST(memcheck-gras-all2all-sg-32-ucontext-0 ${CMAKE_BINARY_DIR}/examples/gras/all2all/all2all_simulator ${CMAKE_BINARY_DIR}/examples/gras/all2all/../../msg/small_platform.xml ${CMAKE_BINARY_DIR}/examples/gras/all2all/all2all.xml "--log=root.fmt:[%10.6r]%e(%.2i:%P@%h)%e%m%n" --cfg contexts/factory:ucontext  --cd ${CMAKE_BINARY_DIR}/examples/gras/all2all/)
-ADD_TEST(memcheck-gras-pmm-sg-32-raw-0 ${CMAKE_BINARY_DIR}/examples/gras/pmm/pmm_simulator ${CMAKE_BINARY_DIR}/examples/gras/pmm/../../msg/msg_platform.xml ${CMAKE_BINARY_DIR}/examples/gras/pmm/pmm.xml "--log=root.fmt:[%10.6r]%e(%2i:%P@%h)%e%m%n" --cfg contexts/factory:raw  --cd ${CMAKE_BINARY_DIR}/examples/gras/pmm/)
-ADD_TEST(memcheck-gras-pmm-sg-32-thread-0 ${CMAKE_BINARY_DIR}/examples/gras/pmm/pmm_simulator ${CMAKE_BINARY_DIR}/examples/gras/pmm/../../msg/msg_platform.xml ${CMAKE_BINARY_DIR}/examples/gras/pmm/pmm.xml "--log=root.fmt:[%10.6r]%e(%2i:%P@%h)%e%m%n" --cfg contexts/factory:thread  --cd ${CMAKE_BINARY_DIR}/examples/gras/pmm/)
-ADD_TEST(memcheck-gras-pmm-sg-32-ucontext-0 ${CMAKE_BINARY_DIR}/examples/gras/pmm/pmm_simulator ${CMAKE_BINARY_DIR}/examples/gras/pmm/../../msg/msg_platform.xml ${CMAKE_BINARY_DIR}/examples/gras/pmm/pmm.xml "--log=root.fmt:[%10.6r]%e(%2i:%P@%h)%e%m%n" --cfg contexts/factory:ucontext  --cd ${CMAKE_BINARY_DIR}/examples/gras/pmm/)
-ADD_TEST(memcheck-gras-synchro-sg-32-raw-0 ${CMAKE_BINARY_DIR}/examples/gras/synchro/synchro_simulator ${CMAKE_BINARY_DIR}/examples/gras/synchro/../../msg/small_platform.xml ${CMAKE_BINARY_DIR}/examples/gras/synchro/synchro.xml "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg contexts/factory:raw  --cd ${CMAKE_BINARY_DIR}/examples/gras/synchro/)
-ADD_TEST(memcheck-gras-synchro-sg-32-thread-0 ${CMAKE_BINARY_DIR}/examples/gras/synchro/synchro_simulator ${CMAKE_BINARY_DIR}/examples/gras/synchro/../../msg/small_platform.xml ${CMAKE_BINARY_DIR}/examples/gras/synchro/synchro.xml "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg contexts/factory:thread  --cd ${CMAKE_BINARY_DIR}/examples/gras/synchro/)
-ADD_TEST(memcheck-gras-synchro-sg-32-ucontext-0 ${CMAKE_BINARY_DIR}/examples/gras/synchro/synchro_simulator ${CMAKE_BINARY_DIR}/examples/gras/synchro/../../msg/small_platform.xml ${CMAKE_BINARY_DIR}/examples/gras/synchro/synchro.xml "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg contexts/factory:ucontext  --cd ${CMAKE_BINARY_DIR}/examples/gras/synchro/)
+ADD_TEST(memcheck-gras-ping-sg-32-thread-0 ${CMAKE_BINARY_DIR}/examples/gras/ping/ping_simulator ${CMAKE_HOME_DIRECTORY}/examples/gras/ping/../../msg/small_platform.xml ${CMAKE_HOME_DIRECTORY}/examples/gras/ping/ping.xml  "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg=contexts/factory:thread  --cd ${CMAKE_BINARY_DIR}/examples/gras/ping/)
+ADD_TEST(memcheck-gras-rpc-sg-32-thread-0 ${CMAKE_BINARY_DIR}/examples/gras/rpc/rpc_simulator ${CMAKE_HOME_DIRECTORY}/examples/gras/rpc/../../msg/small_platform.xml ${CMAKE_HOME_DIRECTORY}/examples/gras/rpc/rpc.xml "--log=root.fmt:[0]%e(%i:%P@%h)%e%m%n" --cfg=contexts/factory:thread  --cd ${CMAKE_BINARY_DIR}/examples/gras/rpc/)
+ADD_TEST(memcheck-gras-spawn-sg-32-thread-0 ${CMAKE_BINARY_DIR}/examples/gras/spawn/spawn_simulator ${CMAKE_HOME_DIRECTORY}/examples/gras/spawn/../../msg/small_platform.xml ${CMAKE_HOME_DIRECTORY}/examples/gras/spawn/spawn.xml --cfg=contexts/factory:thread  --cd ${CMAKE_BINARY_DIR}/examples/gras/spawn/)
+ADD_TEST(memcheck-gras-timer-sg-32-thread-0 ${CMAKE_BINARY_DIR}/examples/gras/timer/timer_simulator ${CMAKE_HOME_DIRECTORY}/examples/gras/timer/../../msg/small_platform.xml ${CMAKE_HOME_DIRECTORY}/examples/gras/timer/timer.xml --cfg=contexts/factory:thread  --cd ${CMAKE_BINARY_DIR}/examples/gras/timer/)
+ADD_TEST(memcheck-gras-chrono-sg-32-thread-0 ${CMAKE_BINARY_DIR}/examples/gras/chrono/chrono_simulator ${CMAKE_HOME_DIRECTORY}/examples/gras/chrono/../../msg/small_platform.xml ${CMAKE_HOME_DIRECTORY}/examples/gras/chrono/chrono.xml --cfg=contexts/factory:thread  --cd ${CMAKE_BINARY_DIR}/examples/gras/chrono/)
+ADD_TEST(memcheck-gras-simple-token-sg-32-thread-0 ${CMAKE_BINARY_DIR}/examples/gras/mutual_exclusion/simple_token/simple_token_simulator ${CMAKE_HOME_DIRECTORY}/examples/gras/mutual_exclusion/simple_token/../../../msg/small_platform.xml ${CMAKE_HOME_DIRECTORY}/examples/gras/mutual_exclusion/simple_token/simple_token.xml  "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg=contexts/factory:thread  --cd ${CMAKE_BINARY_DIR}/examples/gras/mutual_exclusion/simple_token/)
+ADD_TEST(memcheck-gras-mmrpc-sg-32-thread-0 ${CMAKE_BINARY_DIR}/examples/gras/mmrpc/mmrpc_simulator ${CMAKE_HOME_DIRECTORY}/examples/gras/mmrpc/../../msg/small_platform.xml ${CMAKE_HOME_DIRECTORY}/examples/gras/mmrpc/mmrpc.xml "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg=contexts/factory:thread  --cd ${CMAKE_BINARY_DIR}/examples/gras/mmrpc/)
+ADD_TEST(memcheck-gras-all2all-sg-32-thread-0 ${CMAKE_BINARY_DIR}/examples/gras/all2all/all2all_simulator ${CMAKE_HOME_DIRECTORY}/examples/gras/all2all/../../msg/small_platform.xml ${CMAKE_HOME_DIRECTORY}/examples/gras/all2all/all2all.xml "--log=root.fmt:[%10.6r]%e(%.2i:%P@%h)%e%m%n" --cfg=contexts/factory:thread  --cd ${CMAKE_BINARY_DIR}/examples/gras/all2all/)
+ADD_TEST(memcheck-gras-pmm-sg-32-thread-0 ${CMAKE_BINARY_DIR}/examples/gras/pmm/pmm_simulator ${CMAKE_HOME_DIRECTORY}/examples/gras/pmm/../../msg/msg_platform.xml ${CMAKE_HOME_DIRECTORY}/examples/gras/pmm/pmm.xml "--log=root.fmt:[%10.6r]%e(%2i:%P@%h)%e%m%n" --cfg=contexts/factory:thread  --cd ${CMAKE_BINARY_DIR}/examples/gras/pmm/)
+ADD_TEST(memcheck-gras-synchro-sg-32-thread-0 ${CMAKE_BINARY_DIR}/examples/gras/synchro/synchro_simulator ${CMAKE_HOME_DIRECTORY}/examples/gras/synchro/../../msg/small_platform.xml ${CMAKE_HOME_DIRECTORY}/examples/gras/synchro/synchro.xml "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg=contexts/factory:thread  --cd ${CMAKE_BINARY_DIR}/examples/gras/synchro/)
+if(HAVE_UCONTEXT_H)
+ADD_TEST(memcheck-gras-ping-sg-32-ucontext-0 ${CMAKE_BINARY_DIR}/examples/gras/ping/ping_simulator ${CMAKE_HOME_DIRECTORY}/examples/gras/ping/../../msg/small_platform.xml ${CMAKE_HOME_DIRECTORY}/examples/gras/ping/ping.xml  "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg=contexts/factory:ucontext  --cd ${CMAKE_BINARY_DIR}/examples/gras/ping/)
+ADD_TEST(memcheck-gras-rpc-sg-32-ucontext-0 ${CMAKE_BINARY_DIR}/examples/gras/rpc/rpc_simulator ${CMAKE_HOME_DIRECTORY}/examples/gras/rpc/../../msg/small_platform.xml ${CMAKE_HOME_DIRECTORY}/examples/gras/rpc/rpc.xml "--log=root.fmt:[0]%e(%i:%P@%h)%e%m%n" --cfg=contexts/factory:ucontext  --cd ${CMAKE_BINARY_DIR}/examples/gras/rpc/)
+ADD_TEST(memcheck-gras-spawn-sg-32-ucontext-0 ${CMAKE_BINARY_DIR}/examples/gras/spawn/spawn_simulator ${CMAKE_HOME_DIRECTORY}/examples/gras/spawn/../../msg/small_platform.xml ${CMAKE_HOME_DIRECTORY}/examples/gras/spawn/spawn.xml --cfg=contexts/factory:ucontext  --cd ${CMAKE_BINARY_DIR}/examples/gras/spawn/)
+ADD_TEST(memcheck-gras-timer-sg-32-ucontext-0 ${CMAKE_BINARY_DIR}/examples/gras/timer/timer_simulator ${CMAKE_HOME_DIRECTORY}/examples/gras/timer/../../msg/small_platform.xml ${CMAKE_HOME_DIRECTORY}/examples/gras/timer/timer.xml --cfg=contexts/factory:ucontext  --cd ${CMAKE_BINARY_DIR}/examples/gras/timer/)
+ADD_TEST(memcheck-gras-chrono-sg-32-ucontext-0 ${CMAKE_BINARY_DIR}/examples/gras/chrono/chrono_simulator ${CMAKE_HOME_DIRECTORY}/examples/gras/chrono/../../msg/small_platform.xml ${CMAKE_HOME_DIRECTORY}/examples/gras/chrono/chrono.xml --cfg=contexts/factory:ucontext  --cd ${CMAKE_BINARY_DIR}/examples/gras/chrono/)
+ADD_TEST(memcheck-gras-simple-token-sg-32-ucontext-0 ${CMAKE_BINARY_DIR}/examples/gras/mutual_exclusion/simple_token/simple_token_simulator ${CMAKE_HOME_DIRECTORY}/examples/gras/mutual_exclusion/simple_token/../../../msg/small_platform.xml ${CMAKE_HOME_DIRECTORY}/examples/gras/mutual_exclusion/simple_token/simple_token.xml  "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg=contexts/factory:ucontext  --cd ${CMAKE_BINARY_DIR}/examples/gras/mutual_exclusion/simple_token/)
+ADD_TEST(memcheck-gras-mmrpc-sg-32-ucontext-0 ${CMAKE_BINARY_DIR}/examples/gras/mmrpc/mmrpc_simulator ${CMAKE_HOME_DIRECTORY}/examples/gras/mmrpc/../../msg/small_platform.xml ${CMAKE_HOME_DIRECTORY}/examples/gras/mmrpc/mmrpc.xml "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg=contexts/factory:ucontext  --cd ${CMAKE_BINARY_DIR}/examples/gras/mmrpc/)
+ADD_TEST(memcheck-gras-all2all-sg-32-ucontext-0 ${CMAKE_BINARY_DIR}/examples/gras/all2all/all2all_simulator ${CMAKE_HOME_DIRECTORY}/examples/gras/all2all/../../msg/small_platform.xml ${CMAKE_HOME_DIRECTORY}/examples/gras/all2all/all2all.xml "--log=root.fmt:[%10.6r]%e(%.2i:%P@%h)%e%m%n" --cfg=contexts/factory:ucontext  --cd ${CMAKE_BINARY_DIR}/examples/gras/all2all/)
+ADD_TEST(memcheck-gras-pmm-sg-32-ucontext-0 ${CMAKE_BINARY_DIR}/examples/gras/pmm/pmm_simulator ${CMAKE_HOME_DIRECTORY}/examples/gras/pmm/../../msg/msg_platform.xml ${CMAKE_HOME_DIRECTORY}/examples/gras/pmm/pmm.xml "--log=root.fmt:[%10.6r]%e(%2i:%P@%h)%e%m%n" --cfg=contexts/factory:ucontext  --cd ${CMAKE_BINARY_DIR}/examples/gras/pmm/)
+ADD_TEST(memcheck-gras-synchro-sg-32-ucontext-0 ${CMAKE_BINARY_DIR}/examples/gras/synchro/synchro_simulator ${CMAKE_HOME_DIRECTORY}/examples/gras/synchro/../../msg/small_platform.xml ${CMAKE_HOME_DIRECTORY}/examples/gras/synchro/synchro.xml "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg=contexts/factory:ucontext  --cd ${CMAKE_BINARY_DIR}/examples/gras/synchro/)
+endif(HAVE_UCONTEXT_H)
+if(HAVE_RAWCTX)
+ADD_TEST(memcheck-gras-ping-sg-32-raw-0 ${CMAKE_BINARY_DIR}/examples/gras/ping/ping_simulator ${CMAKE_HOME_DIRECTORY}/examples/gras/ping/../../msg/small_platform.xml ${CMAKE_HOME_DIRECTORY}/examples/gras/ping/ping.xml  "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg=contexts/factory:raw  --cd ${CMAKE_BINARY_DIR}/examples/gras/ping/)
+ADD_TEST(memcheck-gras-rpc-sg-32-raw-0 ${CMAKE_BINARY_DIR}/examples/gras/rpc/rpc_simulator ${CMAKE_HOME_DIRECTORY}/examples/gras/rpc/../../msg/small_platform.xml ${CMAKE_HOME_DIRECTORY}/examples/gras/rpc/rpc.xml "--log=root.fmt:[0]%e(%i:%P@%h)%e%m%n" --cfg=contexts/factory:raw  --cd ${CMAKE_BINARY_DIR}/examples/gras/rpc/)
+ADD_TEST(memcheck-gras-spawn-sg-32-raw-0 ${CMAKE_BINARY_DIR}/examples/gras/spawn/spawn_simulator ${CMAKE_HOME_DIRECTORY}/examples/gras/spawn/../../msg/small_platform.xml ${CMAKE_HOME_DIRECTORY}/examples/gras/spawn/spawn.xml --cfg=contexts/factory:raw  --cd ${CMAKE_BINARY_DIR}/examples/gras/spawn/)
+ADD_TEST(memcheck-gras-timer-sg-32-raw-0 ${CMAKE_BINARY_DIR}/examples/gras/timer/timer_simulator ${CMAKE_HOME_DIRECTORY}/examples/gras/timer/../../msg/small_platform.xml ${CMAKE_HOME_DIRECTORY}/examples/gras/timer/timer.xml --cfg=contexts/factory:raw  --cd ${CMAKE_BINARY_DIR}/examples/gras/timer/)
+ADD_TEST(memcheck-gras-chrono-sg-32-raw-0 ${CMAKE_BINARY_DIR}/examples/gras/chrono/chrono_simulator ${CMAKE_HOME_DIRECTORY}/examples/gras/chrono/../../msg/small_platform.xml ${CMAKE_HOME_DIRECTORY}/examples/gras/chrono/chrono.xml --cfg=contexts/factory:raw  --cd ${CMAKE_BINARY_DIR}/examples/gras/chrono/)
+ADD_TEST(memcheck-gras-simple-token-sg-32-raw-0 ${CMAKE_BINARY_DIR}/examples/gras/mutual_exclusion/simple_token/simple_token_simulator ${CMAKE_HOME_DIRECTORY}/examples/gras/mutual_exclusion/simple_token/../../../msg/small_platform.xml ${CMAKE_HOME_DIRECTORY}/examples/gras/mutual_exclusion/simple_token/simple_token.xml  "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg=contexts/factory:raw  --cd ${CMAKE_BINARY_DIR}/examples/gras/mutual_exclusion/simple_token/)
+ADD_TEST(memcheck-gras-mmrpc-sg-32-raw-0 ${CMAKE_BINARY_DIR}/examples/gras/mmrpc/mmrpc_simulator ${CMAKE_HOME_DIRECTORY}/examples/gras/mmrpc/../../msg/small_platform.xml ${CMAKE_HOME_DIRECTORY}/examples/gras/mmrpc/mmrpc.xml "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg=contexts/factory:raw  --cd ${CMAKE_BINARY_DIR}/examples/gras/mmrpc/)
+ADD_TEST(memcheck-gras-all2all-sg-32-raw-0 ${CMAKE_BINARY_DIR}/examples/gras/all2all/all2all_simulator ${CMAKE_HOME_DIRECTORY}/examples/gras/all2all/../../msg/small_platform.xml ${CMAKE_HOME_DIRECTORY}/examples/gras/all2all/all2all.xml "--log=root.fmt:[%10.6r]%e(%.2i:%P@%h)%e%m%n" --cfg=contexts/factory:raw  --cd ${CMAKE_BINARY_DIR}/examples/gras/all2all/)
+ADD_TEST(memcheck-gras-pmm-sg-32-raw-0 ${CMAKE_BINARY_DIR}/examples/gras/pmm/pmm_simulator ${CMAKE_HOME_DIRECTORY}/examples/gras/pmm/../../msg/msg_platform.xml ${CMAKE_HOME_DIRECTORY}/examples/gras/pmm/pmm.xml "--log=root.fmt:[%10.6r]%e(%2i:%P@%h)%e%m%n" --cfg=contexts/factory:raw  --cd ${CMAKE_BINARY_DIR}/examples/gras/pmm/)
+ADD_TEST(memcheck-gras-synchro-sg-32-raw-0 ${CMAKE_BINARY_DIR}/examples/gras/synchro/synchro_simulator ${CMAKE_HOME_DIRECTORY}/examples/gras/synchro/../../msg/small_platform.xml ${CMAKE_HOME_DIRECTORY}/examples/gras/synchro/synchro.xml "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg=contexts/factory:raw  --cd ${CMAKE_BINARY_DIR}/examples/gras/synchro/)
+endif(HAVE_RAWCTX)
+
 ELSE(${ARCH_32_BITS})
-ADD_TEST(memcheck-gras-ping-sg-64-raw-0 ${CMAKE_BINARY_DIR}/examples/gras/ping/ping_simulator ${CMAKE_BINARY_DIR}/examples/gras/ping/../../msg/small_platform.xml ${CMAKE_BINARY_DIR}/examples/gras/ping/ping.xml "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg contexts/factory:raw  --cd ${CMAKE_BINARY_DIR}/examples/gras/ping/)
-ADD_TEST(memcheck-gras-ping-sg-64-thread-0 ${CMAKE_BINARY_DIR}/examples/gras/ping/ping_simulator ${CMAKE_BINARY_DIR}/examples/gras/ping/../../msg/small_platform.xml ${CMAKE_BINARY_DIR}/examples/gras/ping/ping.xml "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg contexts/factory:thread  --cd ${CMAKE_BINARY_DIR}/examples/gras/ping/)
-ADD_TEST(memcheck-gras-ping-sg-64-ucontext-0 ${CMAKE_BINARY_DIR}/examples/gras/ping/ping_simulator ${CMAKE_BINARY_DIR}/examples/gras/ping/../../msg/small_platform.xml ${CMAKE_BINARY_DIR}/examples/gras/ping/ping.xml "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg contexts/factory:ucontext  --cd ${CMAKE_BINARY_DIR}/examples/gras/ping/)
-ADD_TEST(memcheck-gras-rpc-sg-64-raw-0 ${CMAKE_BINARY_DIR}/examples/gras/rpc/rpc_simulator ${CMAKE_BINARY_DIR}/examples/gras/rpc/../../msg/small_platform.xml ${CMAKE_BINARY_DIR}/examples/gras/rpc/rpc.xml "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg contexts/factory:raw  --cd ${CMAKE_BINARY_DIR}/examples/gras/rpc/)
-ADD_TEST(memcheck-gras-rpc-sg-64-thread-0 ${CMAKE_BINARY_DIR}/examples/gras/rpc/rpc_simulator ${CMAKE_BINARY_DIR}/examples/gras/rpc/../../msg/small_platform.xml ${CMAKE_BINARY_DIR}/examples/gras/rpc/rpc.xml "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg contexts/factory:thread  --cd ${CMAKE_BINARY_DIR}/examples/gras/rpc/)
-ADD_TEST(memcheck-gras-rpc-sg-64-ucontext-0 ${CMAKE_BINARY_DIR}/examples/gras/rpc/rpc_simulator ${CMAKE_BINARY_DIR}/examples/gras/rpc/../../msg/small_platform.xml ${CMAKE_BINARY_DIR}/examples/gras/rpc/rpc.xml "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg contexts/factory:ucontext  --cd ${CMAKE_BINARY_DIR}/examples/gras/rpc/)
-ADD_TEST(memcheck-gras-spawn-sg-64-raw-0 ${CMAKE_BINARY_DIR}/examples/gras/spawn/spawn_simulator ${CMAKE_BINARY_DIR}/examples/gras/spawn/../../msg/small_platform.xml ${CMAKE_BINARY_DIR}/examples/gras/spawn/spawn.xml --cfg contexts/factory:raw  --cd ${CMAKE_BINARY_DIR}/examples/gras/spawn/)
-ADD_TEST(memcheck-gras-spawn-sg-64-thread-0 ${CMAKE_BINARY_DIR}/examples/gras/spawn/spawn_simulator ${CMAKE_BINARY_DIR}/examples/gras/spawn/../../msg/small_platform.xml ${CMAKE_BINARY_DIR}/examples/gras/spawn/spawn.xml --cfg contexts/factory:thread  --cd ${CMAKE_BINARY_DIR}/examples/gras/spawn/)
-ADD_TEST(memcheck-gras-spawn-sg-64-ucontext-0 ${CMAKE_BINARY_DIR}/examples/gras/spawn/spawn_simulator ${CMAKE_BINARY_DIR}/examples/gras/spawn/../../msg/small_platform.xml ${CMAKE_BINARY_DIR}/examples/gras/spawn/spawn.xml --cfg contexts/factory:ucontext  --cd ${CMAKE_BINARY_DIR}/examples/gras/spawn/)
-ADD_TEST(memcheck-gras-timer-sg-64-raw-0 ${CMAKE_BINARY_DIR}/examples/gras/timer/timer_simulator ${CMAKE_BINARY_DIR}/examples/gras/timer/../../msg/small_platform.xml ${CMAKE_BINARY_DIR}/examples/gras/timer/timer.xml --cfg contexts/factory:raw  --cd ${CMAKE_BINARY_DIR}/examples/gras/timer/)
-ADD_TEST(memcheck-gras-timer-sg-64-thread-0 ${CMAKE_BINARY_DIR}/examples/gras/timer/timer_simulator ${CMAKE_BINARY_DIR}/examples/gras/timer/../../msg/small_platform.xml ${CMAKE_BINARY_DIR}/examples/gras/timer/timer.xml --cfg contexts/factory:thread  --cd ${CMAKE_BINARY_DIR}/examples/gras/timer/)
-ADD_TEST(memcheck-gras-timer-sg-64-ucontext-0 ${CMAKE_BINARY_DIR}/examples/gras/timer/timer_simulator ${CMAKE_BINARY_DIR}/examples/gras/timer/../../msg/small_platform.xml ${CMAKE_BINARY_DIR}/examples/gras/timer/timer.xml --cfg contexts/factory:ucontext  --cd ${CMAKE_BINARY_DIR}/examples/gras/timer/)
-ADD_TEST(memcheck-gras-chrono-sg-64-raw-0 ${CMAKE_BINARY_DIR}/examples/gras/chrono/chrono_simulator ${CMAKE_BINARY_DIR}/examples/gras/chrono/../../msg/small_platform.xml ${CMAKE_BINARY_DIR}/examples/gras/chrono/chrono.xml --cfg contexts/factory:raw  --cd ${CMAKE_BINARY_DIR}/examples/gras/chrono/)
-ADD_TEST(memcheck-gras-chrono-sg-64-thread-0 ${CMAKE_BINARY_DIR}/examples/gras/chrono/chrono_simulator ${CMAKE_BINARY_DIR}/examples/gras/chrono/../../msg/small_platform.xml ${CMAKE_BINARY_DIR}/examples/gras/chrono/chrono.xml --cfg contexts/factory:thread  --cd ${CMAKE_BINARY_DIR}/examples/gras/chrono/)
-ADD_TEST(memcheck-gras-chrono-sg-64-ucontext-0 ${CMAKE_BINARY_DIR}/examples/gras/chrono/chrono_simulator ${CMAKE_BINARY_DIR}/examples/gras/chrono/../../msg/small_platform.xml ${CMAKE_BINARY_DIR}/examples/gras/chrono/chrono.xml --cfg contexts/factory:ucontext  --cd ${CMAKE_BINARY_DIR}/examples/gras/chrono/)
-ADD_TEST(memcheck-gras-simple-token-sg-64-raw-0 ${CMAKE_BINARY_DIR}/examples/gras/mutual_exclusion/simple_token/simple_token_simulator ${CMAKE_BINARY_DIR}/examples/gras/mutual_exclusion/simple_token/../../../msg/small_platform.xml ${CMAKE_BINARY_DIR}/examples/gras/mutual_exclusion/simple_token/simple_token.xml  "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg contexts/factory:raw  --cd ${CMAKE_BINARY_DIR}/examples/gras/mutual_exclusion/simple_token/)
-ADD_TEST(memcheck-gras-simple-token-sg-64-thread-0 ${CMAKE_BINARY_DIR}/examples/gras/mutual_exclusion/simple_token/simple_token_simulator ${CMAKE_BINARY_DIR}/examples/gras/mutual_exclusion/simple_token/../../../msg/small_platform.xml ${CMAKE_BINARY_DIR}/examples/gras/mutual_exclusion/simple_token/simple_token.xml  "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg contexts/factory:thread  --cd ${CMAKE_BINARY_DIR}/examples/gras/mutual_exclusion/simple_token/)
-ADD_TEST(memcheck-gras-simple-token-sg-64-ucontext-0 ${CMAKE_BINARY_DIR}/examples/gras/mutual_exclusion/simple_token/simple_token_simulator ${CMAKE_BINARY_DIR}/examples/gras/mutual_exclusion/simple_token/../../../msg/small_platform.xml ${CMAKE_BINARY_DIR}/examples/gras/mutual_exclusion/simple_token/simple_token.xml  "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg contexts/factory:ucontext  --cd ${CMAKE_BINARY_DIR}/examples/gras/mutual_exclusion/simple_token/)
-ADD_TEST(memcheck-gras-mmrpc-sg-64-raw-0 ${CMAKE_BINARY_DIR}/examples/gras/mmrpc/mmrpc_simulator ${CMAKE_BINARY_DIR}/examples/gras/mmrpc/../../msg/small_platform.xml ${CMAKE_BINARY_DIR}/examples/gras/mmrpc/mmrpc.xml "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg contexts/factory:raw  --cd ${CMAKE_BINARY_DIR}/examples/gras/mmrpc/)
-ADD_TEST(memcheck-gras-mmrpc-sg-64-thread-0 ${CMAKE_BINARY_DIR}/examples/gras/mmrpc/mmrpc_simulator ${CMAKE_BINARY_DIR}/examples/gras/mmrpc/../../msg/small_platform.xml ${CMAKE_BINARY_DIR}/examples/gras/mmrpc/mmrpc.xml "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg contexts/factory:thread  --cd ${CMAKE_BINARY_DIR}/examples/gras/mmrpc/)
-ADD_TEST(memcheck-gras-mmrpc-sg-64-ucontext-0 ${CMAKE_BINARY_DIR}/examples/gras/mmrpc/mmrpc_simulator ${CMAKE_BINARY_DIR}/examples/gras/mmrpc/../../msg/small_platform.xml ${CMAKE_BINARY_DIR}/examples/gras/mmrpc/mmrpc.xml "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg contexts/factory:ucontext  --cd ${CMAKE_BINARY_DIR}/examples/gras/mmrpc/)
-ADD_TEST(memcheck-gras-all2all-sg-64-raw-0 ${CMAKE_BINARY_DIR}/examples/gras/all2all/all2all_simulator ${CMAKE_BINARY_DIR}/examples/gras/all2all/../../msg/small_platform.xml ${CMAKE_BINARY_DIR}/examples/gras/all2all/all2all.xml "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg contexts/factory:raw  --cd ${CMAKE_BINARY_DIR}/examples/gras/all2all/)
-ADD_TEST(memcheck-gras-all2all-sg-64-thread-0 ${CMAKE_BINARY_DIR}/examples/gras/all2all/all2all_simulator ${CMAKE_BINARY_DIR}/examples/gras/all2all/../../msg/small_platform.xml ${CMAKE_BINARY_DIR}/examples/gras/all2all/all2all.xml "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg contexts/factory:thread  --cd ${CMAKE_BINARY_DIR}/examples/gras/all2all/)
-ADD_TEST(memcheck-gras-all2all-sg-64-ucontext-0 ${CMAKE_BINARY_DIR}/examples/gras/all2all/all2all_simulator ${CMAKE_BINARY_DIR}/examples/gras/all2all/../../msg/small_platform.xml ${CMAKE_BINARY_DIR}/examples/gras/all2all/all2all.xml "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg contexts/factory:ucontext  --cd ${CMAKE_BINARY_DIR}/examples/gras/all2all/)
-ADD_TEST(memcheck-gras-pmm-sg-64-raw-0 ${CMAKE_BINARY_DIR}/examples/gras/pmm/pmm_simulator ${CMAKE_BINARY_DIR}/examples/gras/pmm/../../msg/msg_platform.xml ${CMAKE_BINARY_DIR}/examples/gras/pmm/pmm.xml "--log=root.fmt:[%10.6r]%e(%2i:%P@%h)%e%m%n" --cfg contexts/factory:raw  --cd ${CMAKE_BINARY_DIR}/examples/gras/pmm/)
-ADD_TEST(memcheck-gras-pmm-sg-64-thread-0 ${CMAKE_BINARY_DIR}/examples/gras/pmm/pmm_simulator ${CMAKE_BINARY_DIR}/examples/gras/pmm/../../msg/msg_platform.xml ${CMAKE_BINARY_DIR}/examples/gras/pmm/pmm.xml "--log=root.fmt:[%10.6r]%e(%2i:%P@%h)%e%m%n" --cfg contexts/factory:thread  --cd ${CMAKE_BINARY_DIR}/examples/gras/pmm/)
-ADD_TEST(memcheck-gras-pmm-sg-64-ucontext-0 ${CMAKE_BINARY_DIR}/examples/gras/pmm/pmm_simulator ${CMAKE_BINARY_DIR}/examples/gras/pmm/../../msg/msg_platform.xml ${CMAKE_BINARY_DIR}/examples/gras/pmm/pmm.xml "--log=root.fmt:[%10.6r]%e(%2i:%P@%h)%e%m%n" --cfg contexts/factory:ucontext  --cd ${CMAKE_BINARY_DIR}/examples/gras/pmm/)
-ADD_TEST(memcheck-gras-synchro-sg-64-raw-0 ${CMAKE_BINARY_DIR}/examples/gras/synchro/synchro_simulator ${CMAKE_BINARY_DIR}/examples/gras/synchro/../../msg/small_platform.xml ${CMAKE_BINARY_DIR}/examples/gras/synchro/synchro.xml "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg contexts/factory:raw  --cd ${CMAKE_BINARY_DIR}/examples/gras/synchro/)
-ADD_TEST(memcheck-gras-synchro-sg-64-thread-0 ${CMAKE_BINARY_DIR}/examples/gras/synchro/synchro_simulator ${CMAKE_BINARY_DIR}/examples/gras/synchro/../../msg/small_platform.xml ${CMAKE_BINARY_DIR}/examples/gras/synchro/synchro.xml "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg contexts/factory:thread  --cd ${CMAKE_BINARY_DIR}/examples/gras/synchro/)
-ADD_TEST(memcheck-gras-synchro-sg-64-ucontext-0 ${CMAKE_BINARY_DIR}/examples/gras/synchro/synchro_simulator ${CMAKE_BINARY_DIR}/examples/gras/synchro/../../msg/small_platform.xml ${CMAKE_BINARY_DIR}/examples/gras/synchro/synchro.xml "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg contexts/factory:ucontext  --cd ${CMAKE_BINARY_DIR}/examples/gras/synchro/)
+ADD_TEST(memcheck-gras-ping-sg-64-thread-0 ${CMAKE_BINARY_DIR}/examples/gras/ping/ping_simulator ${CMAKE_HOME_DIRECTORY}/examples/gras/ping/../../msg/small_platform.xml ${CMAKE_HOME_DIRECTORY}/examples/gras/ping/ping.xml "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg=contexts/factory:thread  --cd ${CMAKE_BINARY_DIR}/examples/gras/ping/)
+ADD_TEST(memcheck-gras-rpc-sg-64-thread-0 ${CMAKE_BINARY_DIR}/examples/gras/rpc/rpc_simulator ${CMAKE_HOME_DIRECTORY}/examples/gras/rpc/../../msg/small_platform.xml ${CMAKE_HOME_DIRECTORY}/examples/gras/rpc/rpc.xml "--log=root.fmt:[0]%e(%i:%P@%h)%e%m%n" --cfg=contexts/factory:thread  --cd ${CMAKE_BINARY_DIR}/examples/gras/rpc/)
+ADD_TEST(memcheck-gras-spawn-sg-64-thread-0 ${CMAKE_BINARY_DIR}/examples/gras/spawn/spawn_simulator ${CMAKE_HOME_DIRECTORY}/examples/gras/spawn/../../msg/small_platform.xml ${CMAKE_HOME_DIRECTORY}/examples/gras/spawn/spawn.xml --cfg=contexts/factory:thread  --cd ${CMAKE_BINARY_DIR}/examples/gras/spawn/)
+ADD_TEST(memcheck-gras-timer-sg-64-thread-0 ${CMAKE_BINARY_DIR}/examples/gras/timer/timer_simulator ${CMAKE_HOME_DIRECTORY}/examples/gras/timer/../../msg/small_platform.xml ${CMAKE_HOME_DIRECTORY}/examples/gras/timer/timer.xml --cfg=contexts/factory:thread  --cd ${CMAKE_BINARY_DIR}/examples/gras/timer/)
+ADD_TEST(memcheck-gras-chrono-sg-64-thread-0 ${CMAKE_BINARY_DIR}/examples/gras/chrono/chrono_simulator ${CMAKE_HOME_DIRECTORY}/examples/gras/chrono/../../msg/small_platform.xml ${CMAKE_HOME_DIRECTORY}/examples/gras/chrono/chrono.xml --cfg=contexts/factory:thread  --cd ${CMAKE_BINARY_DIR}/examples/gras/chrono/)
+ADD_TEST(memcheck-gras-simple-token-sg-64-thread-0 ${CMAKE_BINARY_DIR}/examples/gras/mutual_exclusion/simple_token/simple_token_simulator ${CMAKE_HOME_DIRECTORY}/examples/gras/mutual_exclusion/simple_token/../../../msg/small_platform.xml ${CMAKE_HOME_DIRECTORY}/examples/gras/mutual_exclusion/simple_token/simple_token.xml  "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg=contexts/factory:thread  --cd ${CMAKE_BINARY_DIR}/examples/gras/mutual_exclusion/simple_token/)
+ADD_TEST(memcheck-gras-mmrpc-sg-64-thread-0 ${CMAKE_BINARY_DIR}/examples/gras/mmrpc/mmrpc_simulator ${CMAKE_HOME_DIRECTORY}/examples/gras/mmrpc/../../msg/small_platform.xml ${CMAKE_HOME_DIRECTORY}/examples/gras/mmrpc/mmrpc.xml "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg=contexts/factory:thread  --cd ${CMAKE_BINARY_DIR}/examples/gras/mmrpc/)
+ADD_TEST(memcheck-gras-all2all-sg-64-thread-0 ${CMAKE_BINARY_DIR}/examples/gras/all2all/all2all_simulator ${CMAKE_HOME_DIRECTORY}/examples/gras/all2all/../../msg/small_platform.xml ${CMAKE_HOME_DIRECTORY}/examples/gras/all2all/all2all.xml "--log=root.fmt:[%10.6r]%e(%.2i:%P@%h)%e%m%n" --cfg=contexts/factory:thread  --cd ${CMAKE_BINARY_DIR}/examples/gras/all2all/)
+ADD_TEST(memcheck-gras-pmm-sg-64-thread-0 ${CMAKE_BINARY_DIR}/examples/gras/pmm/pmm_simulator ${CMAKE_HOME_DIRECTORY}/examples/gras/pmm/../../msg/msg_platform.xml ${CMAKE_HOME_DIRECTORY}/examples/gras/pmm/pmm.xml "--log=root.fmt:[%10.6r]%e(%2i:%P@%h)%e%m%n" --cfg=contexts/factory:thread  --cd ${CMAKE_BINARY_DIR}/examples/gras/pmm/)
+ADD_TEST(memcheck-gras-synchro-sg-64-thread-0 ${CMAKE_BINARY_DIR}/examples/gras/synchro/synchro_simulator ${CMAKE_HOME_DIRECTORY}/examples/gras/synchro/../../msg/small_platform.xml ${CMAKE_HOME_DIRECTORY}/examples/gras/synchro/synchro.xml "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg=contexts/factory:thread  --cd ${CMAKE_BINARY_DIR}/examples/gras/synchro/)
+if(HAVE_UCONTEXT_H)
+ADD_TEST(memcheck-gras-ping-sg-64-ucontext-0 ${CMAKE_BINARY_DIR}/examples/gras/ping/ping_simulator ${CMAKE_HOME_DIRECTORY}/examples/gras/ping/../../msg/small_platform.xml ${CMAKE_HOME_DIRECTORY}/examples/gras/ping/ping.xml "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg=contexts/factory:ucontext  --cd ${CMAKE_BINARY_DIR}/examples/gras/ping/)
+ADD_TEST(memcheck-gras-rpc-sg-64-ucontext-0 ${CMAKE_BINARY_DIR}/examples/gras/rpc/rpc_simulator ${CMAKE_HOME_DIRECTORY}/examples/gras/rpc/../../msg/small_platform.xml ${CMAKE_HOME_DIRECTORY}/examples/gras/rpc/rpc.xml "--log=root.fmt:[0]%e(%i:%P@%h)%e%m%n" --cfg=contexts/factory:ucontext  --cd ${CMAKE_BINARY_DIR}/examples/gras/rpc/)
+ADD_TEST(memcheck-gras-spawn-sg-64-ucontext-0 ${CMAKE_BINARY_DIR}/examples/gras/spawn/spawn_simulator ${CMAKE_HOME_DIRECTORY}/examples/gras/spawn/../../msg/small_platform.xml ${CMAKE_HOME_DIRECTORY}/examples/gras/spawn/spawn.xml --cfg=contexts/factory:ucontext  --cd ${CMAKE_BINARY_DIR}/examples/gras/spawn/)
+ADD_TEST(memcheck-gras-timer-sg-64-ucontext-0 ${CMAKE_BINARY_DIR}/examples/gras/timer/timer_simulator ${CMAKE_HOME_DIRECTORY}/examples/gras/timer/../../msg/small_platform.xml ${CMAKE_HOME_DIRECTORY}/examples/gras/timer/timer.xml --cfg=contexts/factory:ucontext  --cd ${CMAKE_BINARY_DIR}/examples/gras/timer/)
+ADD_TEST(memcheck-gras-chrono-sg-64-ucontext-0 ${CMAKE_BINARY_DIR}/examples/gras/chrono/chrono_simulator ${CMAKE_HOME_DIRECTORY}/examples/gras/chrono/../../msg/small_platform.xml ${CMAKE_HOME_DIRECTORY}/examples/gras/chrono/chrono.xml --cfg=contexts/factory:ucontext  --cd ${CMAKE_BINARY_DIR}/examples/gras/chrono/)
+ADD_TEST(memcheck-gras-simple-token-sg-64-ucontext-0 ${CMAKE_BINARY_DIR}/examples/gras/mutual_exclusion/simple_token/simple_token_simulator ${CMAKE_HOME_DIRECTORY}/examples/gras/mutual_exclusion/simple_token/../../../msg/small_platform.xml ${CMAKE_HOME_DIRECTORY}/examples/gras/mutual_exclusion/simple_token/simple_token.xml  "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg=contexts/factory:ucontext  --cd ${CMAKE_BINARY_DIR}/examples/gras/mutual_exclusion/simple_token/)
+ADD_TEST(memcheck-gras-mmrpc-sg-64-ucontext-0 ${CMAKE_BINARY_DIR}/examples/gras/mmrpc/mmrpc_simulator ${CMAKE_HOME_DIRECTORY}/examples/gras/mmrpc/../../msg/small_platform.xml ${CMAKE_HOME_DIRECTORY}/examples/gras/mmrpc/mmrpc.xml "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg=contexts/factory:ucontext  --cd ${CMAKE_BINARY_DIR}/examples/gras/mmrpc/)
+ADD_TEST(memcheck-gras-all2all-sg-64-ucontext-0 ${CMAKE_BINARY_DIR}/examples/gras/all2all/all2all_simulator ${CMAKE_HOME_DIRECTORY}/examples/gras/all2all/../../msg/small_platform.xml ${CMAKE_HOME_DIRECTORY}/examples/gras/all2all/all2all.xml "--log=root.fmt:[%10.6r]%e(%.2i:%P@%h)%e%m%n" --cfg=contexts/factory:ucontext  --cd ${CMAKE_BINARY_DIR}/examples/gras/all2all/)
+ADD_TEST(memcheck-gras-pmm-sg-64-ucontext-0 ${CMAKE_BINARY_DIR}/examples/gras/pmm/pmm_simulator ${CMAKE_HOME_DIRECTORY}/examples/gras/pmm/../../msg/msg_platform.xml ${CMAKE_HOME_DIRECTORY}/examples/gras/pmm/pmm.xml "--log=root.fmt:[%10.6r]%e(%2i:%P@%h)%e%m%n" --cfg=contexts/factory:ucontext  --cd ${CMAKE_BINARY_DIR}/examples/gras/pmm/)
+ADD_TEST(memcheck-gras-synchro-sg-64-ucontext-0 ${CMAKE_BINARY_DIR}/examples/gras/synchro/synchro_simulator ${CMAKE_HOME_DIRECTORY}/examples/gras/synchro/../../msg/small_platform.xml ${CMAKE_HOME_DIRECTORY}/examples/gras/synchro/synchro.xml "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg=contexts/factory:ucontext  --cd ${CMAKE_BINARY_DIR}/examples/gras/synchro/)
+endif(HAVE_UCONTEXT_H)
+if(HAVE_RAWCTX)
+ADD_TEST(memcheck-gras-ping-sg-64-raw-0 ${CMAKE_BINARY_DIR}/examples/gras/ping/ping_simulator ${CMAKE_HOME_DIRECTORY}/examples/gras/ping/../../msg/small_platform.xml ${CMAKE_HOME_DIRECTORY}/examples/gras/ping/ping.xml "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg=contexts/factory:raw  --cd ${CMAKE_BINARY_DIR}/examples/gras/ping/)
+ADD_TEST(memcheck-gras-rpc-sg-64-raw-0 ${CMAKE_BINARY_DIR}/examples/gras/rpc/rpc_simulator ${CMAKE_HOME_DIRECTORY}/examples/gras/rpc/../../msg/small_platform.xml ${CMAKE_HOME_DIRECTORY}/examples/gras/rpc/rpc.xml "--log=root.fmt:[0]%e(%i:%P@%h)%e%m%n" --cfg=contexts/factory:raw  --cd ${CMAKE_BINARY_DIR}/examples/gras/rpc/)
+ADD_TEST(memcheck-gras-spawn-sg-64-raw-0 ${CMAKE_BINARY_DIR}/examples/gras/spawn/spawn_simulator ${CMAKE_HOME_DIRECTORY}/examples/gras/spawn/../../msg/small_platform.xml ${CMAKE_HOME_DIRECTORY}/examples/gras/spawn/spawn.xml --cfg=contexts/factory:raw  --cd ${CMAKE_BINARY_DIR}/examples/gras/spawn/)
+ADD_TEST(memcheck-gras-timer-sg-64-raw-0 ${CMAKE_BINARY_DIR}/examples/gras/timer/timer_simulator ${CMAKE_HOME_DIRECTORY}/examples/gras/timer/../../msg/small_platform.xml ${CMAKE_HOME_DIRECTORY}/examples/gras/timer/timer.xml --cfg=contexts/factory:raw  --cd ${CMAKE_BINARY_DIR}/examples/gras/timer/)
+ADD_TEST(memcheck-gras-chrono-sg-64-raw-0 ${CMAKE_BINARY_DIR}/examples/gras/chrono/chrono_simulator ${CMAKE_HOME_DIRECTORY}/examples/gras/chrono/../../msg/small_platform.xml ${CMAKE_HOME_DIRECTORY}/examples/gras/chrono/chrono.xml --cfg=contexts/factory:raw  --cd ${CMAKE_BINARY_DIR}/examples/gras/chrono/)
+ADD_TEST(memcheck-gras-simple-token-sg-64-raw-0 ${CMAKE_BINARY_DIR}/examples/gras/mutual_exclusion/simple_token/simple_token_simulator ${CMAKE_HOME_DIRECTORY}/examples/gras/mutual_exclusion/simple_token/../../../msg/small_platform.xml ${CMAKE_HOME_DIRECTORY}/examples/gras/mutual_exclusion/simple_token/simple_token.xml  "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg=contexts/factory:raw  --cd ${CMAKE_BINARY_DIR}/examples/gras/mutual_exclusion/simple_token/)
+ADD_TEST(memcheck-gras-mmrpc-sg-64-raw-0 ${CMAKE_BINARY_DIR}/examples/gras/mmrpc/mmrpc_simulator ${CMAKE_HOME_DIRECTORY}/examples/gras/mmrpc/../../msg/small_platform.xml ${CMAKE_HOME_DIRECTORY}/examples/gras/mmrpc/mmrpc.xml "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg=contexts/factory:raw  --cd ${CMAKE_BINARY_DIR}/examples/gras/mmrpc/)
+ADD_TEST(memcheck-gras-all2all-sg-64-raw-0 ${CMAKE_BINARY_DIR}/examples/gras/all2all/all2all_simulator ${CMAKE_HOME_DIRECTORY}/examples/gras/all2all/../../msg/small_platform.xml ${CMAKE_HOME_DIRECTORY}/examples/gras/all2all/all2all.xml "--log=root.fmt:[%10.6r]%e(%.2i:%P@%h)%e%m%n" --cfg=contexts/factory:raw  --cd ${CMAKE_BINARY_DIR}/examples/gras/all2all/)
+ADD_TEST(memcheck-gras-pmm-sg-64-raw-0 ${CMAKE_BINARY_DIR}/examples/gras/pmm/pmm_simulator ${CMAKE_HOME_DIRECTORY}/examples/gras/pmm/../../msg/msg_platform.xml ${CMAKE_HOME_DIRECTORY}/examples/gras/pmm/pmm.xml "--log=root.fmt:[%10.6r]%e(%2i:%P@%h)%e%m%n" --cfg=contexts/factory:raw  --cd ${CMAKE_BINARY_DIR}/examples/gras/pmm/)
+ADD_TEST(memcheck-gras-synchro-sg-64-raw-0 ${CMAKE_BINARY_DIR}/examples/gras/synchro/synchro_simulator ${CMAKE_HOME_DIRECTORY}/examples/gras/synchro/../../msg/small_platform.xml ${CMAKE_HOME_DIRECTORY}/examples/gras/synchro/synchro.xml "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg=contexts/factory:raw  --cd ${CMAKE_BINARY_DIR}/examples/gras/synchro/)
+endif(HAVE_RAWCTX)
+
 ENDIF(${ARCH_32_BITS})
-ADD_TEST(memcheck-gras-properties-sg-raw-0 ${CMAKE_BINARY_DIR}/examples/gras/properties/properties_simulator ${CMAKE_BINARY_DIR}/examples/gras/properties/../../platforms/prop.xml ${CMAKE_BINARY_DIR}/examples/gras/properties/properties.xml --log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n --cfg contexts/factory:raw  --cd ${CMAKE_BINARY_DIR}/examples/gras/properties/)
-ADD_TEST(memcheck-gras-properties-sg-thread-0 ${CMAKE_BINARY_DIR}/examples/gras/properties/properties_simulator ${CMAKE_BINARY_DIR}/examples/gras/properties/../../platforms/prop.xml ${CMAKE_BINARY_DIR}/examples/gras/properties/properties.xml --log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n --cfg contexts/factory:thread  --cd ${CMAKE_BINARY_DIR}/examples/gras/properties/)
-ADD_TEST(memcheck-gras-properties-sg-ucontext-0 ${CMAKE_BINARY_DIR}/examples/gras/properties/properties_simulator ${CMAKE_BINARY_DIR}/examples/gras/properties/../../platforms/prop.xml ${CMAKE_BINARY_DIR}/examples/gras/properties/properties.xml --log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n --cfg contexts/factory:ucontext  --cd ${CMAKE_BINARY_DIR}/examples/gras/properties/)
+ADD_TEST(memcheck-gras-properties-sg-thread-0 ${CMAKE_BINARY_DIR}/examples/gras/properties/properties_simulator ${CMAKE_HOME_DIRECTORY}/examples/gras/properties/../../platforms/prop.xml ${CMAKE_HOME_DIRECTORY}/examples/gras/properties/properties.xml "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg=contexts/factory:thread  --cd ${CMAKE_BINARY_DIR}/examples/gras/properties/)
+if(HAVE_UCONTEXT_H)
+ADD_TEST(memcheck-gras-properties-sg-ucontext-0 ${CMAKE_BINARY_DIR}/examples/gras/properties/properties_simulator ${CMAKE_HOME_DIRECTORY}/examples/gras/properties/../../platforms/prop.xml ${CMAKE_HOME_DIRECTORY}/examples/gras/properties/properties.xml "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg=contexts/factory:ucontext  --cd ${CMAKE_BINARY_DIR}/examples/gras/properties/)
+endif(HAVE_UCONTEXT_H)
+if(HAVE_RAWCTX)
+ADD_TEST(memcheck-gras-properties-sg-raw-0 ${CMAKE_BINARY_DIR}/examples/gras/properties/properties_simulator ${CMAKE_HOME_DIRECTORY}/examples/gras/properties/../../platforms/prop.xml ${CMAKE_HOME_DIRECTORY}/examples/gras/properties/properties.xml "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cfg=contexts/factory:raw  --cd ${CMAKE_BINARY_DIR}/examples/gras/properties/)
+endif(HAVE_RAWCTX)
 
 # amok examples
+
 IF(${ARCH_32_BITS})
-ADD_TEST(memcheck-amok-bandwidth-sg-32-raw-0 ${CMAKE_BINARY_DIR}/examples/amok/bandwidth/bandwidth_simulator ${CMAKE_BINARY_DIR}/examples/amok/../msg/small_platform.xml ${CMAKE_BINARY_DIR}/examples/amok/bandwidth/bandwidth.xml --cfg contexts/factory:raw  --cd ${CMAKE_BINARY_DIR}/examples/amok/)
-ADD_TEST(memcheck-amok-bandwidth-sg-32-thread-0 ${CMAKE_BINARY_DIR}/examples/amok/bandwidth/bandwidth_simulator ${CMAKE_BINARY_DIR}/examples/amok/../msg/small_platform.xml ${CMAKE_BINARY_DIR}/examples/amok/bandwidth/bandwidth.xml --cfg contexts/factory:thread  --cd ${CMAKE_BINARY_DIR}/examples/amok/)
-ADD_TEST(memcheck-amok-bandwidth-sg-32-ucontext-0 ${CMAKE_BINARY_DIR}/examples/amok/bandwidth/bandwidth_simulator ${CMAKE_BINARY_DIR}/examples/amok/../msg/small_platform.xml ${CMAKE_BINARY_DIR}/examples/amok/bandwidth/bandwidth.xml --cfg contexts/factory:ucontext  --cd ${CMAKE_BINARY_DIR}/examples/amok/)
-ADD_TEST(memcheck-amok-saturate-sg-32-raw-0 ${CMAKE_BINARY_DIR}/examples/amok/saturate/saturate_simulator ${CMAKE_BINARY_DIR}/examples/amok/../msg/small_platform.xml ${CMAKE_BINARY_DIR}/examples/amok/saturate/saturate.xml --cfg contexts/factory:raw  --cd ${CMAKE_BINARY_DIR}/examples/amok/)
-ADD_TEST(memcheck-amok-saturate-sg-32-thread-0 ${CMAKE_BINARY_DIR}/examples/amok/saturate/saturate_simulator ${CMAKE_BINARY_DIR}/examples/amok/../msg/small_platform.xml ${CMAKE_BINARY_DIR}/examples/amok/saturate/saturate.xml --cfg contexts/factory:thread  --cd ${CMAKE_BINARY_DIR}/examples/amok/)
-ADD_TEST(memcheck-amok-saturate-sg-32-ucontext-0 ${CMAKE_BINARY_DIR}/examples/amok/saturate/saturate_simulator ${CMAKE_BINARY_DIR}/examples/amok/../msg/small_platform.xml ${CMAKE_BINARY_DIR}/examples/amok/saturate/saturate.xml --cfg contexts/factory:ucontext  --cd ${CMAKE_BINARY_DIR}/examples/amok/)
+ADD_TEST(memcheck-amok-bandwidth-sg-32-thread-0 ${CMAKE_BINARY_DIR}/examples/amok/bandwidth/bandwidth_simulator ${CMAKE_HOME_DIRECTORY}/examples/amok/../msg/small_platform.xml ${CMAKE_HOME_DIRECTORY}/examples/amok/bandwidth/bandwidth.xml --cfg=contexts/factory:thread  --cd ${CMAKE_BINARY_DIR}/examples/amok/)
+ADD_TEST(memcheck-amok-saturate-sg-32-thread-0 ${CMAKE_BINARY_DIR}/examples/amok/saturate/saturate_simulator ${CMAKE_HOME_DIRECTORY}/examples/amok/../msg/small_platform.xml ${CMAKE_HOME_DIRECTORY}/examples/amok/saturate/saturate.xml --cfg=contexts/factory:thread  --cd ${CMAKE_BINARY_DIR}/examples/amok/)
+  if(HAVE_RAWCTX)
+ADD_TEST(memcheck-amok-bandwidth-sg-32-raw-0 ${CMAKE_BINARY_DIR}/examples/amok/bandwidth/bandwidth_simulator ${CMAKE_HOME_DIRECTORY}/examples/amok/../msg/small_platform.xml ${CMAKE_HOME_DIRECTORY}/examples/amok/bandwidth/bandwidth.xml --cfg=contexts/factory:raw  --cd ${CMAKE_BINARY_DIR}/examples/amok/)
+ADD_TEST(memcheck-amok-saturate-sg-32-raw-0 ${CMAKE_BINARY_DIR}/examples/amok/saturate/saturate_simulator ${CMAKE_HOME_DIRECTORY}/examples/amok/../msg/small_platform.xml ${CMAKE_HOME_DIRECTORY}/examples/amok/saturate/saturate.xml --cfg=contexts/factory:raw  --cd ${CMAKE_BINARY_DIR}/examples/amok/)
+  endif(HAVE_RAWCTX)
+  if(HAVE_UCONTEXT_H)
+ADD_TEST(memcheck-amok-bandwidth-sg-32-ucontext-0 ${CMAKE_BINARY_DIR}/examples/amok/bandwidth/bandwidth_simulator ${CMAKE_HOME_DIRECTORY}/examples/amok/../msg/small_platform.xml ${CMAKE_HOME_DIRECTORY}/examples/amok/bandwidth/bandwidth.xml --cfg=contexts/factory:ucontext  --cd ${CMAKE_BINARY_DIR}/examples/amok/)
+ADD_TEST(memcheck-amok-saturate-sg-32-ucontext-0 ${CMAKE_BINARY_DIR}/examples/amok/saturate/saturate_simulator ${CMAKE_HOME_DIRECTORY}/examples/amok/../msg/small_platform.xml ${CMAKE_HOME_DIRECTORY}/examples/amok/saturate/saturate.xml --cfg=contexts/factory:ucontext  --cd ${CMAKE_BINARY_DIR}/examples/amok/)
+  endif(HAVE_UCONTEXT_H)
 ELSE(${ARCH_32_BITS})
-ADD_TEST(memcheck-amok-bandwidth-sg-64-raw-0 ${CMAKE_BINARY_DIR}/examples/amok/bandwidth/bandwidth_simulator ${CMAKE_BINARY_DIR}/examples/amok/../msg/small_platform.xml ${CMAKE_BINARY_DIR}/examples/amok/bandwidth/bandwidth.xml --cfg contexts/factory:raw  --cd ${CMAKE_BINARY_DIR}/examples/amok/)
-ADD_TEST(memcheck-amok-bandwidth-sg-64-thread-0 ${CMAKE_BINARY_DIR}/examples/amok/bandwidth/bandwidth_simulator ${CMAKE_BINARY_DIR}/examples/amok/../msg/small_platform.xml ${CMAKE_BINARY_DIR}/examples/amok/bandwidth/bandwidth.xml --cfg contexts/factory:thread  --cd ${CMAKE_BINARY_DIR}/examples/amok/)
-ADD_TEST(memcheck-amok-bandwidth-sg-64-ucontext-0 ${CMAKE_BINARY_DIR}/examples/amok/bandwidth/bandwidth_simulator ${CMAKE_BINARY_DIR}/examples/amok/../msg/small_platform.xml ${CMAKE_BINARY_DIR}/examples/amok/bandwidth/bandwidth.xml --cfg contexts/factory:ucontext  --cd ${CMAKE_BINARY_DIR}/examples/amok/)
-ADD_TEST(memcheck-amok-saturate-sg-64-raw-0 ${CMAKE_BINARY_DIR}/examples/amok/saturate/saturate_simulator ${CMAKE_BINARY_DIR}/examples/amok/../msg/small_platform.xml ${CMAKE_BINARY_DIR}/examples/amok/saturate/saturate.xml --cfg contexts/factory:raw  --cd ${CMAKE_BINARY_DIR}/examples/amok/)
-ADD_TEST(memcheck-amok-saturate-sg-64-thread-0 ${CMAKE_BINARY_DIR}/examples/amok/saturate/saturate_simulator ${CMAKE_BINARY_DIR}/examples/amok/../msg/small_platform.xml ${CMAKE_BINARY_DIR}/examples/amok/saturate/saturate.xml --cfg contexts/factory:thread  --cd ${CMAKE_BINARY_DIR}/examples/amok/)
-ADD_TEST(memcheck-amok-saturate-sg-64-ucontext-0 ${CMAKE_BINARY_DIR}/examples/amok/saturate/saturate_simulator ${CMAKE_BINARY_DIR}/examples/amok/../msg/small_platform.xml ${CMAKE_BINARY_DIR}/examples/amok/saturate/saturate.xml --cfg contexts/factory:ucontext  --cd ${CMAKE_BINARY_DIR}/examples/amok/)
+ADD_TEST(memcheck-amok-bandwidth-sg-64-thread-0 ${CMAKE_BINARY_DIR}/examples/amok/bandwidth/bandwidth_simulator ${CMAKE_HOME_DIRECTORY}/examples/amok/../msg/small_platform.xml ${CMAKE_HOME_DIRECTORY}/examples/amok/bandwidth/bandwidth.xml --cfg=contexts/factory:thread  --cd ${CMAKE_BINARY_DIR}/examples/amok/)
+ADD_TEST(memcheck-amok-saturate-sg-64-thread-0 ${CMAKE_BINARY_DIR}/examples/amok/saturate/saturate_simulator ${CMAKE_HOME_DIRECTORY}/examples/amok/../msg/small_platform.xml ${CMAKE_HOME_DIRECTORY}/examples/amok/saturate/saturate.xml --cfg=contexts/factory:thread  --cd ${CMAKE_BINARY_DIR}/examples/amok/)
+  if(HAVE_RAWCTX)
+ADD_TEST(memcheck-amok-bandwidth-sg-64-raw-0 ${CMAKE_BINARY_DIR}/examples/amok/bandwidth/bandwidth_simulator ${CMAKE_HOME_DIRECTORY}/examples/amok/../msg/small_platform.xml ${CMAKE_HOME_DIRECTORY}/examples/amok/bandwidth/bandwidth.xml --cfg=contexts/factory:raw  --cd ${CMAKE_BINARY_DIR}/examples/amok/)
+ADD_TEST(memcheck-amok-saturate-sg-64-raw-0 ${CMAKE_BINARY_DIR}/examples/amok/saturate/saturate_simulator ${CMAKE_HOME_DIRECTORY}/examples/amok/../msg/small_platform.xml ${CMAKE_HOME_DIRECTORY}/examples/amok/saturate/saturate.xml --cfg=contexts/factory:raw  --cd ${CMAKE_BINARY_DIR}/examples/amok/)
+  endif(HAVE_RAWCTX)
+  if(HAVE_UCONTEXT_H)
+ADD_TEST(memcheck-amok-saturate-sg-64-ucontext-0 ${CMAKE_BINARY_DIR}/examples/amok/saturate/saturate_simulator ${CMAKE_HOME_DIRECTORY}/examples/amok/../msg/small_platform.xml ${CMAKE_HOME_DIRECTORY}/examples/amok/saturate/saturate.xml --cfg=contexts/factory:ucontext  --cd ${CMAKE_BINARY_DIR}/examples/amok/)
+ADD_TEST(memcheck-amok-bandwidth-sg-64-ucontext-0 ${CMAKE_BINARY_DIR}/examples/amok/bandwidth/bandwidth_simulator ${CMAKE_HOME_DIRECTORY}/examples/amok/../msg/small_platform.xml ${CMAKE_HOME_DIRECTORY}/examples/amok/bandwidth/bandwidth.xml --cfg=contexts/factory:ucontext  --cd ${CMAKE_BINARY_DIR}/examples/amok/)
+  endif(HAVE_UCONTEXT_H)
 ENDIF(${ARCH_32_BITS})
 
 # simdag examples
-ADD_TEST(memcheck-simdag-test-simdag-raw-0 ${CMAKE_BINARY_DIR}/examples/simdag/sd_test ${CMAKE_BINARY_DIR}/examples/simdag/../msg/msg_platform.xml --cfg contexts/factory:raw  --cd ${CMAKE_BINARY_DIR}/examples/simdag/)
-ADD_TEST(memcheck-simdag-test-simdag-thread-0 ${CMAKE_BINARY_DIR}/examples/simdag/sd_test ${CMAKE_BINARY_DIR}/examples/simdag/../msg/msg_platform.xml --cfg contexts/factory:thread  --cd ${CMAKE_BINARY_DIR}/examples/simdag/)
-ADD_TEST(memcheck-simdag-test-simdag-ucontext-0 ${CMAKE_BINARY_DIR}/examples/simdag/sd_test ${CMAKE_BINARY_DIR}/examples/simdag/../msg/msg_platform.xml --cfg contexts/factory:ucontext  --cd ${CMAKE_BINARY_DIR}/examples/simdag/)
-ADD_TEST(memcheck-simdag-test-simdag2-raw-0 ${CMAKE_BINARY_DIR}/examples/simdag/sd_test2 ${CMAKE_BINARY_DIR}/examples/simdag/2clusters.xml --cfg contexts/factory:raw  --cd ${CMAKE_BINARY_DIR}/examples/simdag/)
-ADD_TEST(memcheck-simdag-test-simdag2-thread-0 ${CMAKE_BINARY_DIR}/examples/simdag/sd_test2 ${CMAKE_BINARY_DIR}/examples/simdag/2clusters.xml --cfg contexts/factory:thread  --cd ${CMAKE_BINARY_DIR}/examples/simdag/)
-ADD_TEST(memcheck-simdag-test-simdag2-ucontext-0 ${CMAKE_BINARY_DIR}/examples/simdag/sd_test2 ${CMAKE_BINARY_DIR}/examples/simdag/2clusters.xml --cfg contexts/factory:ucontext  --cd ${CMAKE_BINARY_DIR}/examples/simdag/)
-ADD_TEST(memcheck-simdag-test-simdag-seq-access-raw-0 ${CMAKE_BINARY_DIR}/examples/simdag/sd_seq_access ${CMAKE_BINARY_DIR}/examples/simdag/2clusters.xml --cfg contexts/factory:raw  --cd ${CMAKE_BINARY_DIR}/examples/simdag/)
-ADD_TEST(memcheck-simdag-test-simdag-seq-access-thread-0 ${CMAKE_BINARY_DIR}/examples/simdag/sd_seq_access ${CMAKE_BINARY_DIR}/examples/simdag/2clusters.xml --cfg contexts/factory:thread  --cd ${CMAKE_BINARY_DIR}/examples/simdag/)
-ADD_TEST(memcheck-simdag-test-simdag-seq-access-ucontext-0 ${CMAKE_BINARY_DIR}/examples/simdag/sd_seq_access ${CMAKE_BINARY_DIR}/examples/simdag/2clusters.xml --cfg contexts/factory:ucontext  --cd ${CMAKE_BINARY_DIR}/examples/simdag/)
-ADD_TEST(memcheck-simdag-test-prop-raw-0 ${CMAKE_BINARY_DIR}/examples/simdag/properties/sd_prop ${CMAKE_BINARY_DIR}/examples/simdag/../platforms/prop.xml --cfg contexts/factory:raw  --cd ${CMAKE_BINARY_DIR}/examples/simdag/)
-ADD_TEST(memcheck-simdag-test-prop-thread-0 ${CMAKE_BINARY_DIR}/examples/simdag/properties/sd_prop ${CMAKE_BINARY_DIR}/examples/simdag/../platforms/prop.xml --cfg contexts/factory:thread  --cd ${CMAKE_BINARY_DIR}/examples/simdag/)
-ADD_TEST(memcheck-simdag-test-prop-ucontext-0 ${CMAKE_BINARY_DIR}/examples/simdag/properties/sd_prop ${CMAKE_BINARY_DIR}/examples/simdag/../platforms/prop.xml --cfg contexts/factory:ucontext  --cd ${CMAKE_BINARY_DIR}/examples/simdag/)
-ADD_TEST(memcheck-simdag-minmin-test-raw-0 ${CMAKE_BINARY_DIR}/examples/simdag/scheduling/minmin_test --log=sd_daxparse.thresh:critical /simulacrum_7_hosts.xml /Montage_25.xml --cfg contexts/factory:raw  --cd /home/navarrop/simgrid/simgrid/trunk/examples/simdag/scheduling/)
-ADD_TEST(memcheck-simdag-minmin-test-thread-0 ${CMAKE_BINARY_DIR}/examples/simdag/scheduling/minmin_test --log=sd_daxparse.thresh:critical /simulacrum_7_hosts.xml /Montage_25.xml --cfg contexts/factory:thread  --cd /home/navarrop/simgrid/simgrid/trunk/examples/simdag/scheduling/)
-ADD_TEST(memcheck-simdag-minmin-test-ucontext-0 ${CMAKE_BINARY_DIR}/examples/simdag/scheduling/minmin_test --log=sd_daxparse.thresh:critical /simulacrum_7_hosts.xml /Montage_25.xml --cfg contexts/factory:ucontext  --cd /home/navarrop/simgrid/simgrid/trunk/examples/simdag/scheduling/)
+ADD_TEST(memcheck-simdag-test-simdag-0 ${CMAKE_BINARY_DIR}/examples/simdag/sd_test ${CMAKE_HOME_DIRECTORY}/examples/simdag/../msg/msg_platform.xml --cd ${CMAKE_BINARY_DIR}/examples/simdag/)
+ADD_TEST(memcheck-simdag-test-simdag2-0 ${CMAKE_BINARY_DIR}/examples/simdag/sd_test2 ${CMAKE_HOME_DIRECTORY}/examples/simdag/2clusters.xml --cd ${CMAKE_BINARY_DIR}/examples/simdag/)
+ADD_TEST(memcheck-simdag-test-simdag-seq-access-0 ${CMAKE_BINARY_DIR}/examples/simdag/sd_seq_access ${CMAKE_HOME_DIRECTORY}/examples/simdag/2clusters.xml --cd ${CMAKE_BINARY_DIR}/examples/simdag/)
+ADD_TEST(memcheck-simdag-test-prop-0 ${CMAKE_BINARY_DIR}/examples/simdag/properties/sd_prop ${CMAKE_HOME_DIRECTORY}/examples/simdag/../platforms/prop.xml --cd ${CMAKE_BINARY_DIR}/examples/simdag/)
+ADD_TEST(memcheck-simdag-minmin-test-0 ${CMAKE_BINARY_DIR}/examples/simdag/scheduling/minmin_test --log=sd_daxparse.thresh:critical ./simulacrum_7_hosts.xml ./Montage_25.xml --cd ${CMAKE_HOME_DIRECTORY}/examples/simdag/scheduling/)
 
 if(HAVE_GTNETS)
-ADD_TEST(memcheck-msg-gtnets-waxman-raw-0 ${CMAKE_BINARY_DIR}/examples/msg/gtnets/gtnets ${CMAKE_BINARY_DIR}/examples/msg/gtnets/waxman-p.xml ${CMAKE_BINARY_DIR}/examples/msg/gtnets/waxman-d.xml --cfg=workstation/model:compound --cfg=cpu/model:Cas01 --cfg=network/model:GTNets --cfg contexts/factory:raw  --cd ${CMAKE_BINARY_DIR}/examples/msg/)
-ADD_TEST(memcheck-msg-gtnets-waxman-thread-0 ${CMAKE_BINARY_DIR}/examples/msg/gtnets/gtnets ${CMAKE_BINARY_DIR}/examples/msg/gtnets/waxman-p.xml ${CMAKE_BINARY_DIR}/examples/msg/gtnets/waxman-d.xml --cfg=workstation/model:compound --cfg=cpu/model:Cas01 --cfg=network/model:GTNets --cfg contexts/factory:thread  --cd ${CMAKE_BINARY_DIR}/examples/msg/)
-ADD_TEST(memcheck-msg-gtnets-waxman-ucontext-0 ${CMAKE_BINARY_DIR}/examples/msg/gtnets/gtnets ${CMAKE_BINARY_DIR}/examples/msg/gtnets/waxman-p.xml ${CMAKE_BINARY_DIR}/examples/msg/gtnets/waxman-d.xml --cfg=workstation/model:compound --cfg=cpu/model:Cas01 --cfg=network/model:GTNets --cfg contexts/factory:ucontext  --cd ${CMAKE_BINARY_DIR}/examples/msg/)
-ADD_TEST(memcheck-msg-gtnets-dogbone-raw-0 ${CMAKE_BINARY_DIR}/examples/msg/gtnets/gtnets ${CMAKE_BINARY_DIR}/examples/msg/gtnets/dogbone-p.xml ${CMAKE_BINARY_DIR}/examples/msg/gtnets/dogbone-d.xml --cfg=workstation/model:compound --cfg=cpu/model:Cas01 --cfg=network/model:GTNets --cfg contexts/factory:raw  --cd ${CMAKE_BINARY_DIR}/examples/msg/)
-ADD_TEST(memcheck-msg-gtnets-dogbone-thread-0 ${CMAKE_BINARY_DIR}/examples/msg/gtnets/gtnets ${CMAKE_BINARY_DIR}/examples/msg/gtnets/dogbone-p.xml ${CMAKE_BINARY_DIR}/examples/msg/gtnets/dogbone-d.xml --cfg=workstation/model:compound --cfg=cpu/model:Cas01 --cfg=network/model:GTNets --cfg contexts/factory:thread  --cd ${CMAKE_BINARY_DIR}/examples/msg/)
-ADD_TEST(memcheck-msg-gtnets-dogbone-ucontext-0 ${CMAKE_BINARY_DIR}/examples/msg/gtnets/gtnets ${CMAKE_BINARY_DIR}/examples/msg/gtnets/dogbone-p.xml ${CMAKE_BINARY_DIR}/examples/msg/gtnets/dogbone-d.xml --cfg=workstation/model:compound --cfg=cpu/model:Cas01 --cfg=network/model:GTNets --cfg contexts/factory:ucontext  --cd ${CMAKE_BINARY_DIR}/examples/msg/)
-ADD_TEST(memcheck-msg-gtnets-onelink-raw-0 ${CMAKE_BINARY_DIR}/examples/msg/gtnets/gtnets ${CMAKE_BINARY_DIR}/examples/msg/gtnets/onelink-p.xml ${CMAKE_BINARY_DIR}/examples/msg/gtnets/onelink-d.xml --cfg=workstation/model:compound --cfg=cpu/model:Cas01 --cfg=network/model:GTNets --cfg contexts/factory:raw  --cd ${CMAKE_BINARY_DIR}/examples/msg/)
-ADD_TEST(memcheck-msg-gtnets-onelink-thread-0 ${CMAKE_BINARY_DIR}/examples/msg/gtnets/gtnets ${CMAKE_BINARY_DIR}/examples/msg/gtnets/onelink-p.xml ${CMAKE_BINARY_DIR}/examples/msg/gtnets/onelink-d.xml --cfg=workstation/model:compound --cfg=cpu/model:Cas01 --cfg=network/model:GTNets --cfg contexts/factory:thread  --cd ${CMAKE_BINARY_DIR}/examples/msg/)
-ADD_TEST(memcheck-msg-gtnets-onelink-ucontext-0 ${CMAKE_BINARY_DIR}/examples/msg/gtnets/gtnets ${CMAKE_BINARY_DIR}/examples/msg/gtnets/onelink-p.xml ${CMAKE_BINARY_DIR}/examples/msg/gtnets/onelink-d.xml --cfg=workstation/model:compound --cfg=cpu/model:Cas01 --cfg=network/model:GTNets --cfg contexts/factory:ucontext  --cd ${CMAKE_BINARY_DIR}/examples/msg/)
-ADD_TEST(memcheck-msg-gtnets-dogbone-lv08-raw-0 ${CMAKE_BINARY_DIR}/examples/msg/gtnets/gtnets ${CMAKE_BINARY_DIR}/examples/msg/gtnets/dogbone-p.xml ${CMAKE_BINARY_DIR}/examples/msg/gtnets/dogbone-d.xml --cfg=workstation/model:compound --cfg=cpu/model:Cas01 --cfg=network/model:LV08 --cfg contexts/factory:raw  --cd ${CMAKE_BINARY_DIR}/examples/msg/)
-ADD_TEST(memcheck-msg-gtnets-dogbone-lv08-thread-0 ${CMAKE_BINARY_DIR}/examples/msg/gtnets/gtnets ${CMAKE_BINARY_DIR}/examples/msg/gtnets/dogbone-p.xml ${CMAKE_BINARY_DIR}/examples/msg/gtnets/dogbone-d.xml --cfg=workstation/model:compound --cfg=cpu/model:Cas01 --cfg=network/model:LV08 --cfg contexts/factory:thread  --cd ${CMAKE_BINARY_DIR}/examples/msg/)
-ADD_TEST(memcheck-msg-gtnets-dogbone-lv08-ucontext-0 ${CMAKE_BINARY_DIR}/examples/msg/gtnets/gtnets ${CMAKE_BINARY_DIR}/examples/msg/gtnets/dogbone-p.xml ${CMAKE_BINARY_DIR}/examples/msg/gtnets/dogbone-d.xml --cfg=workstation/model:compound --cfg=cpu/model:Cas01 --cfg=network/model:LV08 --cfg contexts/factory:ucontext  --cd ${CMAKE_BINARY_DIR}/examples/msg/)
-ADD_TEST(memcheck-msg-gtnets-onelink-lv08-raw-0 ${CMAKE_BINARY_DIR}/examples/msg/gtnets/gtnets ${CMAKE_BINARY_DIR}/examples/msg/gtnets/onelink-p.xml ${CMAKE_BINARY_DIR}/examples/msg/gtnets/onelink-d.xml --cfg=workstation/model:compound --cfg=cpu/model:Cas01  --cfg=network/model:LV08 2>&1 | grep --color=auto -v root/INFO | grep -v simix_network/INFO --cfg contexts/factory:raw  --cd ${CMAKE_BINARY_DIR}/examples/msg/)
-ADD_TEST(memcheck-msg-gtnets-onelink-lv08-thread-0 ${CMAKE_BINARY_DIR}/examples/msg/gtnets/gtnets ${CMAKE_BINARY_DIR}/examples/msg/gtnets/onelink-p.xml ${CMAKE_BINARY_DIR}/examples/msg/gtnets/onelink-d.xml --cfg=workstation/model:compound --cfg=cpu/model:Cas01  --cfg=network/model:LV08 2>&1 | grep --color=auto -v root/INFO | grep -v simix_network/INFO --cfg contexts/factory:thread  --cd ${CMAKE_BINARY_DIR}/examples/msg/)
-ADD_TEST(memcheck-msg-gtnets-onelink-lv08-ucontext-0 ${CMAKE_BINARY_DIR}/examples/msg/gtnets/gtnets ${CMAKE_BINARY_DIR}/examples/msg/gtnets/onelink-p.xml ${CMAKE_BINARY_DIR}/examples/msg/gtnets/onelink-d.xml --cfg=workstation/model:compound --cfg=cpu/model:Cas01  --cfg=network/model:LV08 2>&1 | grep --color=auto -v root/INFO | grep -v simix_network/INFO --cfg contexts/factory:ucontext  --cd ${CMAKE_BINARY_DIR}/examples/msg/)
-ADD_TEST(memcheck-msg-gtnets-fullduplex-raw-0 ${CMAKE_BINARY_DIR}/examples/msg/gtnets/gtnets ${CMAKE_BINARY_DIR}/examples/msg/gtnets/fullduplex-p.xml ${CMAKE_BINARY_DIR}/examples/msg/gtnets/fullduplex-d.xml --cfg=fullduplex:0 --cfg contexts/factory:raw  --cd ${CMAKE_BINARY_DIR}/examples/msg/)
-ADD_TEST(memcheck-msg-gtnets-fullduplex-raw-1 ${CMAKE_BINARY_DIR}/examples/msg/gtnets/gtnets ${CMAKE_BINARY_DIR}/examples/msg/gtnets/fullduplex-p.xml ${CMAKE_BINARY_DIR}/examples/msg/gtnets/fullduplex-d.xml --cfg=fullduplex:1 --cfg contexts/factory:raw  --cd ${CMAKE_BINARY_DIR}/examples/msg/)
-ADD_TEST(memcheck-msg-gtnets-fullduplex-thread-0 ${CMAKE_BINARY_DIR}/examples/msg/gtnets/gtnets ${CMAKE_BINARY_DIR}/examples/msg/gtnets/fullduplex-p.xml ${CMAKE_BINARY_DIR}/examples/msg/gtnets/fullduplex-d.xml --cfg=fullduplex:0 --cfg contexts/factory:thread  --cd ${CMAKE_BINARY_DIR}/examples/msg/)
-ADD_TEST(memcheck-msg-gtnets-fullduplex-thread-1 ${CMAKE_BINARY_DIR}/examples/msg/gtnets/gtnets ${CMAKE_BINARY_DIR}/examples/msg/gtnets/fullduplex-p.xml ${CMAKE_BINARY_DIR}/examples/msg/gtnets/fullduplex-d.xml --cfg=fullduplex:1 --cfg contexts/factory:thread  --cd ${CMAKE_BINARY_DIR}/examples/msg/)
-ADD_TEST(memcheck-msg-gtnets-fullduplex-ucontext-0 ${CMAKE_BINARY_DIR}/examples/msg/gtnets/gtnets ${CMAKE_BINARY_DIR}/examples/msg/gtnets/fullduplex-p.xml ${CMAKE_BINARY_DIR}/examples/msg/gtnets/fullduplex-d.xml --cfg=fullduplex:0 --cfg contexts/factory:ucontext  --cd ${CMAKE_BINARY_DIR}/examples/msg/)
-ADD_TEST(memcheck-msg-gtnets-fullduplex-ucontext-1 ${CMAKE_BINARY_DIR}/examples/msg/gtnets/gtnets ${CMAKE_BINARY_DIR}/examples/msg/gtnets/fullduplex-p.xml ${CMAKE_BINARY_DIR}/examples/msg/gtnets/fullduplex-d.xml --cfg=fullduplex:1 --cfg contexts/factory:ucontext  --cd ${CMAKE_BINARY_DIR}/examples/msg/)
+ADD_TEST(memcheck-msg-gtnets-waxman-thread-0 ${CMAKE_BINARY_DIR}/examples/msg/gtnets/gtnets ${CMAKE_HOME_DIRECTORY}/examples/msg/gtnets/waxman-p.xml ${CMAKE_HOME_DIRECTORY}/examples/msg/gtnets/waxman-d.xml --cfg=workstation/model:compound --cfg=cpu/model:Cas01 --cfg=network/model:GTNets --cfg=contexts/factory:thread  --cd ${CMAKE_BINARY_DIR}/examples/msg/)
+ADD_TEST(memcheck-msg-gtnets-dogbone-thread-0 ${CMAKE_BINARY_DIR}/examples/msg/gtnets/gtnets ${CMAKE_HOME_DIRECTORY}/examples/msg/gtnets/dogbone-p.xml ${CMAKE_HOME_DIRECTORY}/examples/msg/gtnets/dogbone-d.xml --cfg=workstation/model:compound --cfg=cpu/model:Cas01 --cfg=network/model:GTNets --cfg=contexts/factory:thread  --cd ${CMAKE_BINARY_DIR}/examples/msg/)
+ADD_TEST(memcheck-msg-gtnets-onelink-thread-0 ${CMAKE_BINARY_DIR}/examples/msg/gtnets/gtnets ${CMAKE_HOME_DIRECTORY}/examples/msg/gtnets/onelink-p.xml ${CMAKE_HOME_DIRECTORY}/examples/msg/gtnets/onelink-d.xml --cfg=workstation/model:compound --cfg=cpu/model:Cas01 --cfg=network/model:GTNets --cfg=contexts/factory:thread  --cd ${CMAKE_BINARY_DIR}/examples/msg/)
+ADD_TEST(memcheck-msg-gtnets-dogbone-lv08-thread-0 ${CMAKE_BINARY_DIR}/examples/msg/gtnets/gtnets ${CMAKE_HOME_DIRECTORY}/examples/msg/gtnets/dogbone-p.xml ${CMAKE_HOME_DIRECTORY}/examples/msg/gtnets/dogbone-d.xml --cfg=workstation/model:compound --cfg=cpu/model:Cas01 --cfg=network/model:LV08 --cfg=contexts/factory:thread  --cd ${CMAKE_BINARY_DIR}/examples/msg/)
+ADD_TEST(memcheck-msg-gtnets-onelink-lv08-thread-0 ${CMAKE_BINARY_DIR}/examples/msg/gtnets/gtnets ${CMAKE_HOME_DIRECTORY}/examples/msg/gtnets/onelink-p.xml ${CMAKE_HOME_DIRECTORY}/examples/msg/gtnets/onelink-d.xml --cfg=workstation/model:compound --cfg=cpu/model:Cas01  --cfg=network/model:LV08 2>&1 | grep --color=auto -v root/INFO | grep -v simix_network/INFO --cfg=contexts/factory:thread  --cd ${CMAKE_BINARY_DIR}/examples/msg/)
+ADD_TEST(memcheck-msg-gtnets-fullduplex-thread-0 ${CMAKE_BINARY_DIR}/examples/msg/gtnets/gtnets ${CMAKE_HOME_DIRECTORY}/examples/msg/gtnets/fullduplex-p.xml ${CMAKE_HOME_DIRECTORY}/examples/msg/gtnets/fullduplex-d.xml --cfg=fullduplex:0 --cfg=contexts/factory:thread  --cd ${CMAKE_BINARY_DIR}/examples/msg/)
+ADD_TEST(memcheck-msg-gtnets-fullduplex-thread-1 ${CMAKE_BINARY_DIR}/examples/msg/gtnets/gtnets ${CMAKE_HOME_DIRECTORY}/examples/msg/gtnets/fullduplex-p.xml ${CMAKE_HOME_DIRECTORY}/examples/msg/gtnets/fullduplex-d.xml --cfg=fullduplex:1 --cfg=contexts/factory:thread  --cd ${CMAKE_BINARY_DIR}/examples/msg/)
+if(HAVE_UCONTEXT_H)
+ADD_TEST(memcheck-msg-gtnets-waxman-ucontext-0 ${CMAKE_BINARY_DIR}/examples/msg/gtnets/gtnets ${CMAKE_HOME_DIRECTORY}/examples/msg/gtnets/waxman-p.xml ${CMAKE_HOME_DIRECTORY}/examples/msg/gtnets/waxman-d.xml --cfg=workstation/model:compound --cfg=cpu/model:Cas01 --cfg=network/model:GTNets --cfg=contexts/factory:ucontext  --cd ${CMAKE_BINARY_DIR}/examples/msg/)
+ADD_TEST(memcheck-msg-gtnets-dogbone-ucontext-0 ${CMAKE_BINARY_DIR}/examples/msg/gtnets/gtnets ${CMAKE_HOME_DIRECTORY}/examples/msg/gtnets/dogbone-p.xml ${CMAKE_HOME_DIRECTORY}/examples/msg/gtnets/dogbone-d.xml --cfg=workstation/model:compound --cfg=cpu/model:Cas01 --cfg=network/model:GTNets --cfg=contexts/factory:ucontext  --cd ${CMAKE_BINARY_DIR}/examples/msg/)
+ADD_TEST(memcheck-msg-gtnets-onelink-ucontext-0 ${CMAKE_BINARY_DIR}/examples/msg/gtnets/gtnets ${CMAKE_HOME_DIRECTORY}/examples/msg/gtnets/onelink-p.xml ${CMAKE_HOME_DIRECTORY}/examples/msg/gtnets/onelink-d.xml --cfg=workstation/model:compound --cfg=cpu/model:Cas01 --cfg=network/model:GTNets --cfg=contexts/factory:ucontext  --cd ${CMAKE_BINARY_DIR}/examples/msg/)
+ADD_TEST(memcheck-msg-gtnets-dogbone-lv08-ucontext-0 ${CMAKE_BINARY_DIR}/examples/msg/gtnets/gtnets ${CMAKE_HOME_DIRECTORY}/examples/msg/gtnets/dogbone-p.xml ${CMAKE_HOME_DIRECTORY}/examples/msg/gtnets/dogbone-d.xml --cfg=workstation/model:compound --cfg=cpu/model:Cas01 --cfg=network/model:LV08 --cfg=contexts/factory:ucontext  --cd ${CMAKE_BINARY_DIR}/examples/msg/)
+ADD_TEST(memcheck-msg-gtnets-onelink-lv08-ucontext-0 ${CMAKE_BINARY_DIR}/examples/msg/gtnets/gtnets ${CMAKE_HOME_DIRECTORY}/examples/msg/gtnets/onelink-p.xml ${CMAKE_HOME_DIRECTORY}/examples/msg/gtnets/onelink-d.xml --cfg=workstation/model:compound --cfg=cpu/model:Cas01  --cfg=network/model:LV08 2>&1 | grep --color=auto -v root/INFO | grep -v simix_network/INFO --cfg=contexts/factory:ucontext  --cd ${CMAKE_BINARY_DIR}/examples/msg/)
+ADD_TEST(memcheck-msg-gtnets-fullduplex-ucontext-0 ${CMAKE_BINARY_DIR}/examples/msg/gtnets/gtnets ${CMAKE_HOME_DIRECTORY}/examples/msg/gtnets/fullduplex-p.xml ${CMAKE_HOME_DIRECTORY}/examples/msg/gtnets/fullduplex-d.xml --cfg=fullduplex:0 --cfg=contexts/factory:ucontext  --cd ${CMAKE_BINARY_DIR}/examples/msg/)
+ADD_TEST(memcheck-msg-gtnets-fullduplex-ucontext-1 ${CMAKE_BINARY_DIR}/examples/msg/gtnets/gtnets ${CMAKE_HOME_DIRECTORY}/examples/msg/gtnets/fullduplex-p.xml ${CMAKE_HOME_DIRECTORY}/examples/msg/gtnets/fullduplex-d.xml --cfg=fullduplex:1 --cfg=contexts/factory:ucontext  --cd ${CMAKE_BINARY_DIR}/examples/msg/)
+endif(HAVE_UCONTEXT_H)
+if(HAVE_RAWCTX)
+ADD_TEST(memcheck-msg-gtnets-waxman-raw-0 ${CMAKE_BINARY_DIR}/examples/msg/gtnets/gtnets ${CMAKE_HOME_DIRECTORY}/examples/msg/gtnets/waxman-p.xml ${CMAKE_HOME_DIRECTORY}/examples/msg/gtnets/waxman-d.xml --cfg=workstation/model:compound --cfg=cpu/model:Cas01 --cfg=network/model:GTNets --cfg=contexts/factory:raw  --cd ${CMAKE_BINARY_DIR}/examples/msg/)
+ADD_TEST(memcheck-msg-gtnets-dogbone-raw-0 ${CMAKE_BINARY_DIR}/examples/msg/gtnets/gtnets ${CMAKE_HOME_DIRECTORY}/examples/msg/gtnets/dogbone-p.xml ${CMAKE_HOME_DIRECTORY}/examples/msg/gtnets/dogbone-d.xml --cfg=workstation/model:compound --cfg=cpu/model:Cas01 --cfg=network/model:GTNets --cfg=contexts/factory:raw  --cd ${CMAKE_BINARY_DIR}/examples/msg/)
+ADD_TEST(memcheck-msg-gtnets-onelink-raw-0 ${CMAKE_BINARY_DIR}/examples/msg/gtnets/gtnets ${CMAKE_HOME_DIRECTORY}/examples/msg/gtnets/onelink-p.xml ${CMAKE_HOME_DIRECTORY}/examples/msg/gtnets/onelink-d.xml --cfg=workstation/model:compound --cfg=cpu/model:Cas01 --cfg=network/model:GTNets --cfg=contexts/factory:raw  --cd ${CMAKE_BINARY_DIR}/examples/msg/)
+ADD_TEST(memcheck-msg-gtnets-dogbone-lv08-raw-0 ${CMAKE_BINARY_DIR}/examples/msg/gtnets/gtnets ${CMAKE_HOME_DIRECTORY}/examples/msg/gtnets/dogbone-p.xml ${CMAKE_HOME_DIRECTORY}/examples/msg/gtnets/dogbone-d.xml --cfg=workstation/model:compound --cfg=cpu/model:Cas01 --cfg=network/model:LV08 --cfg=contexts/factory:raw  --cd ${CMAKE_BINARY_DIR}/examples/msg/)
+ADD_TEST(memcheck-msg-gtnets-onelink-lv08-raw-0 ${CMAKE_BINARY_DIR}/examples/msg/gtnets/gtnets ${CMAKE_HOME_DIRECTORY}/examples/msg/gtnets/onelink-p.xml ${CMAKE_HOME_DIRECTORY}/examples/msg/gtnets/onelink-d.xml --cfg=workstation/model:compound --cfg=cpu/model:Cas01  --cfg=network/model:LV08 2>&1 | grep --color=auto -v root/INFO | grep -v simix_network/INFO --cfg=contexts/factory:raw  --cd ${CMAKE_BINARY_DIR}/examples/msg/)
+ADD_TEST(memcheck-msg-gtnets-fullduplex-raw-0 ${CMAKE_BINARY_DIR}/examples/msg/gtnets/gtnets ${CMAKE_HOME_DIRECTORY}/examples/msg/gtnets/fullduplex-p.xml ${CMAKE_HOME_DIRECTORY}/examples/msg/gtnets/fullduplex-d.xml --cfg=fullduplex:0 --cfg=contexts/factory:raw  --cd ${CMAKE_BINARY_DIR}/examples/msg/)
+ADD_TEST(memcheck-msg-gtnets-fullduplex-raw-1 ${CMAKE_BINARY_DIR}/examples/msg/gtnets/gtnets ${CMAKE_HOME_DIRECTORY}/examples/msg/gtnets/fullduplex-p.xml ${CMAKE_HOME_DIRECTORY}/examples/msg/gtnets/fullduplex-d.xml --cfg=fullduplex:1 --cfg=contexts/factory:raw  --cd ${CMAKE_BINARY_DIR}/examples/msg/)
+endif(HAVE_RAWCTX)
+
   if(HAVE_TRACING)
-ADD_TEST(memcheck-msg-tracing-gtnets-waxman-0 ${CMAKE_BINARY_DIR}/examples/msg/gtnets/gtnets ${CMAKE_BINARY_DIR}/examples/msg/gtnets/waxman-p.xml ${CMAKE_BINARY_DIR}/examples/msg/gtnets/waxman-d.xml --cfg=tracing/filename:waxman_gtnets.trace --cfg=tracing/categorized:1 --cfg=workstation/model:compound --cfg=cpu/model:Cas01 --cfg=network/model:GTNets --cd ${CMAKE_BINARY_DIR}/examples/msg/)
-ADD_TEST(memcheck-msg-tracing-gtnets-dogbone-0 ${CMAKE_BINARY_DIR}/examples/msg/gtnets/gtnets ${CMAKE_BINARY_DIR}/examples/msg/gtnets/dogbone-p.xml ${CMAKE_BINARY_DIR}/examples/msg/gtnets/dogbone-d.xml --cfg=tracing/filename:dogbone_gtnets.trace --cfg=tracing/categorized:1 --cfg=workstation/model:compound --cfg=cpu/model:Cas01 --cfg=network/model:GTNets --cd ${CMAKE_BINARY_DIR}/examples/msg/)
-ADD_TEST(memcheck-msg-tracing-gtnets-onelink-0 ${CMAKE_BINARY_DIR}/examples/msg/gtnets/gtnets ${CMAKE_BINARY_DIR}/examples/msg/gtnets/onelink-p.xml ${CMAKE_BINARY_DIR}/examples/msg/gtnets/onelink-d.xml --cfg=tracing/filename:onelink_gtnets.trace --cfg=tracing/categorized:1 --cfg=workstation/model:compound --cfg=cpu/model:Cas01 --cfg=network/model:GTNets --cd ${CMAKE_BINARY_DIR}/examples/msg/)
-ADD_TEST(memcheck-msg-tracing-gtnets-dogbone-lv08-0 ${CMAKE_BINARY_DIR}/examples/msg/gtnets/gtnets ${CMAKE_BINARY_DIR}/examples/msg/gtnets/dogbone-p.xml ${CMAKE_BINARY_DIR}/examples/msg/gtnets/dogbone-d.xml --cfg=tracing/filename:dogbone_lv08.trace --cfg=tracing/categorized:1 --cfg=workstation/model:compound --cfg=cpu/model:Cas01 --cfg=network/model:LV08 --cd ${CMAKE_BINARY_DIR}/examples/msg/)
-ADD_TEST(memcheck-msg-tracing-gtnets-onelink-lv08-0 ${CMAKE_BINARY_DIR}/examples/msg/gtnets/gtnets ${CMAKE_BINARY_DIR}/examples/msg/gtnets/onelink-p.xml ${CMAKE_BINARY_DIR}/examples/msg/gtnets/onelink-d.xml --cfg=tracing/filename:onelink_lv08.trace --cfg=tracing/categorized:1 --cfg=workstation/model:compound --cfg=cpu/model:Cas01  --cfg=network/model:LV08 2>&1 | grep --color=auto -v root/INFO | grep -v simix_network/INFO --cd ${CMAKE_BINARY_DIR}/examples/msg/)
+ADD_TEST(memcheck-msg-tracing-gtnets-waxman-0 ${CMAKE_BINARY_DIR}/examples/msg/gtnets/gtnets ${CMAKE_HOME_DIRECTORY}/examples/msg/gtnets/waxman-p.xml ${CMAKE_HOME_DIRECTORY}/examples/msg/gtnets/waxman-d.xml --cfg=tracing/filename:waxman_gtnets.trace --cfg=tracing/categorized:1 --cfg=workstation/model:compound --cfg=cpu/model:Cas01 --cfg=network/model:GTNets --cd ${CMAKE_BINARY_DIR}/examples/msg/)
+ADD_TEST(memcheck-msg-tracing-gtnets-dogbone-0 ${CMAKE_BINARY_DIR}/examples/msg/gtnets/gtnets ${CMAKE_HOME_DIRECTORY}/examples/msg/gtnets/dogbone-p.xml ${CMAKE_HOME_DIRECTORY}/examples/msg/gtnets/dogbone-d.xml --cfg=tracing/filename:dogbone_gtnets.trace --cfg=tracing/categorized:1 --cfg=workstation/model:compound --cfg=cpu/model:Cas01 --cfg=network/model:GTNets --cd ${CMAKE_BINARY_DIR}/examples/msg/)
+ADD_TEST(memcheck-msg-tracing-gtnets-onelink-0 ${CMAKE_BINARY_DIR}/examples/msg/gtnets/gtnets ${CMAKE_HOME_DIRECTORY}/examples/msg/gtnets/onelink-p.xml ${CMAKE_HOME_DIRECTORY}/examples/msg/gtnets/onelink-d.xml --cfg=tracing/filename:onelink_gtnets.trace --cfg=tracing/categorized:1 --cfg=workstation/model:compound --cfg=cpu/model:Cas01 --cfg=network/model:GTNets --cd ${CMAKE_BINARY_DIR}/examples/msg/)
+ADD_TEST(memcheck-msg-tracing-gtnets-dogbone-lv08-0 ${CMAKE_BINARY_DIR}/examples/msg/gtnets/gtnets ${CMAKE_HOME_DIRECTORY}/examples/msg/gtnets/dogbone-p.xml ${CMAKE_HOME_DIRECTORY}/examples/msg/gtnets/dogbone-d.xml --cfg=tracing/filename:dogbone_lv08.trace --cfg=tracing/categorized:1 --cfg=workstation/model:compound --cfg=cpu/model:Cas01 --cfg=network/model:LV08 --cd ${CMAKE_BINARY_DIR}/examples/msg/)
+ADD_TEST(memcheck-msg-tracing-gtnets-onelink-lv08-0 ${CMAKE_BINARY_DIR}/examples/msg/gtnets/gtnets ${CMAKE_HOME_DIRECTORY}/examples/msg/gtnets/onelink-p.xml ${CMAKE_HOME_DIRECTORY}/examples/msg/gtnets/onelink-d.xml --cfg=tracing/filename:onelink_lv08.trace --cfg=tracing/categorized:1 --cfg=workstation/model:compound --cfg=cpu/model:Cas01  --cfg=network/model:LV08 2>&1 | grep --color=auto -v root/INFO | grep -v simix_network/INFO --cd ${CMAKE_BINARY_DIR}/examples/msg/)
   endif(HAVE_TRACING)
 endif(HAVE_GTNETS)
 
+if(HAVE_NS3)
+ADD_TEST(memcheck-msg-ns3-thread-0 ${CMAKE_BINARY_DIR}/examples/msg/ns3/ns3 ${CMAKE_HOME_DIRECTORY}/examples/msg/ns3/3hosts_2links_p.xml ${CMAKE_HOME_DIRECTORY}/examples/msg/ns3/3hosts_2links_d.xml --cfg=network/model:NS3 --cfg=contexts/factory:thread  --cd ${CMAKE_BINARY_DIR}/examples/msg/)
+ADD_TEST(memcheck-msg-ns3-thread-1 ${CMAKE_BINARY_DIR}/examples/msg/ns3/ns3 ${CMAKE_HOME_DIRECTORY}/examples/msg/ns3/3links-p.xml ${CMAKE_HOME_DIRECTORY}/examples/msg/ns3/3links-d.xml --cfg=network/model:NS3 --cfg=contexts/factory:thread  --cd ${CMAKE_BINARY_DIR}/examples/msg/)
+ADD_TEST(memcheck-msg-ns3-thread-2 ${CMAKE_BINARY_DIR}/examples/msg/ns3/ns3 ${CMAKE_HOME_DIRECTORY}/examples/msg/ns3/3links-p.xml ${CMAKE_HOME_DIRECTORY}/examples/msg/ns3/3links-d-timer.xml --cfg=network/model:NS3 --cfg=contexts/factory:thread  --cd ${CMAKE_BINARY_DIR}/examples/msg/)
+ADD_TEST(memcheck-msg-ns3-thread-3 ${CMAKE_BINARY_DIR}/examples/msg/ns3/ns3 ${CMAKE_HOME_DIRECTORY}/examples/msg/ns3/One_cluster.xml ${CMAKE_HOME_DIRECTORY}/examples/msg/ns3/One_cluster-d.xml --cfg=network/model:NS3 --cfg=contexts/factory:thread  --cd ${CMAKE_BINARY_DIR}/examples/msg/)
+ADD_TEST(memcheck-msg-ns3-thread-4 ${CMAKE_BINARY_DIR}/examples/msg/ns3/ns3 ${CMAKE_HOME_DIRECTORY}/examples/msg/ns3/Two_clusters.xml ${CMAKE_HOME_DIRECTORY}/examples/msg/ns3/Two_clusters-d.xml --cfg=network/model:NS3 --cfg=contexts/factory:thread  --cd ${CMAKE_BINARY_DIR}/examples/msg/)
+ADD_TEST(memcheck-msg-ns3-ucontext-0 ${CMAKE_BINARY_DIR}/examples/msg/ns3/ns3 ${CMAKE_HOME_DIRECTORY}/examples/msg/ns3/3hosts_2links_p.xml ${CMAKE_HOME_DIRECTORY}/examples/msg/ns3/3hosts_2links_d.xml --cfg=network/model:NS3 --cfg=contexts/factory:ucontext  --cd ${CMAKE_BINARY_DIR}/examples/msg/)
+ADD_TEST(memcheck-msg-ns3-ucontext-1 ${CMAKE_BINARY_DIR}/examples/msg/ns3/ns3 ${CMAKE_HOME_DIRECTORY}/examples/msg/ns3/3links-p.xml ${CMAKE_HOME_DIRECTORY}/examples/msg/ns3/3links-d.xml --cfg=network/model:NS3 --cfg=contexts/factory:ucontext  --cd ${CMAKE_BINARY_DIR}/examples/msg/)
+ADD_TEST(memcheck-msg-ns3-ucontext-2 ${CMAKE_BINARY_DIR}/examples/msg/ns3/ns3 ${CMAKE_HOME_DIRECTORY}/examples/msg/ns3/3links-p.xml ${CMAKE_HOME_DIRECTORY}/examples/msg/ns3/3links-d-timer.xml --cfg=network/model:NS3 --cfg=contexts/factory:ucontext  --cd ${CMAKE_BINARY_DIR}/examples/msg/)
+ADD_TEST(memcheck-msg-ns3-ucontext-3 ${CMAKE_BINARY_DIR}/examples/msg/ns3/ns3 ${CMAKE_HOME_DIRECTORY}/examples/msg/ns3/One_cluster.xml ${CMAKE_HOME_DIRECTORY}/examples/msg/ns3/One_cluster-d.xml --cfg=network/model:NS3 --cfg=contexts/factory:ucontext  --cd ${CMAKE_BINARY_DIR}/examples/msg/)
+ADD_TEST(memcheck-msg-ns3-ucontext-4 ${CMAKE_BINARY_DIR}/examples/msg/ns3/ns3 ${CMAKE_HOME_DIRECTORY}/examples/msg/ns3/Two_clusters.xml ${CMAKE_HOME_DIRECTORY}/examples/msg/ns3/Two_clusters-d.xml --cfg=network/model:NS3 --cfg=contexts/factory:ucontext  --cd ${CMAKE_BINARY_DIR}/examples/msg/)
+ADD_TEST(memcheck-msg-ns3-raw-0 ${CMAKE_BINARY_DIR}/examples/msg/ns3/ns3 ${CMAKE_HOME_DIRECTORY}/examples/msg/ns3/3hosts_2links_p.xml ${CMAKE_HOME_DIRECTORY}/examples/msg/ns3/3hosts_2links_d.xml --cfg=network/model:NS3 --cfg=contexts/factory:raw  --cd ${CMAKE_BINARY_DIR}/examples/msg/)
+ADD_TEST(memcheck-msg-ns3-raw-1 ${CMAKE_BINARY_DIR}/examples/msg/ns3/ns3 ${CMAKE_HOME_DIRECTORY}/examples/msg/ns3/3links-p.xml ${CMAKE_HOME_DIRECTORY}/examples/msg/ns3/3links-d.xml --cfg=network/model:NS3 --cfg=contexts/factory:raw  --cd ${CMAKE_BINARY_DIR}/examples/msg/)
+ADD_TEST(memcheck-msg-ns3-raw-2 ${CMAKE_BINARY_DIR}/examples/msg/ns3/ns3 ${CMAKE_HOME_DIRECTORY}/examples/msg/ns3/3links-p.xml ${CMAKE_HOME_DIRECTORY}/examples/msg/ns3/3links-d-timer.xml --cfg=network/model:NS3 --cfg=contexts/factory:raw  --cd ${CMAKE_BINARY_DIR}/examples/msg/)
+ADD_TEST(memcheck-msg-ns3-raw-3 ${CMAKE_BINARY_DIR}/examples/msg/ns3/ns3 ${CMAKE_HOME_DIRECTORY}/examples/msg/ns3/One_cluster.xml ${CMAKE_HOME_DIRECTORY}/examples/msg/ns3/One_cluster-d.xml --cfg=network/model:NS3 --cfg=contexts/factory:raw  --cd ${CMAKE_BINARY_DIR}/examples/msg/)
+ADD_TEST(memcheck-msg-ns3-raw-4 ${CMAKE_BINARY_DIR}/examples/msg/ns3/ns3 ${CMAKE_HOME_DIRECTORY}/examples/msg/ns3/Two_clusters.xml ${CMAKE_HOME_DIRECTORY}/examples/msg/ns3/Two_clusters-d.xml --cfg=network/model:NS3 --cfg=contexts/factory:raw  --cd ${CMAKE_BINARY_DIR}/examples/msg/)
+endif(HAVE_NS3)
+
 IF(HAVE_TRACING)
-ADD_TEST(memcheck-tracing-ms-0 ${CMAKE_BINARY_DIR}/examples/msg/tracing/ms --cfg=tracing: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 --log=instr_paje.thres:debug --log=instr_paje_trace.thres:debug "--log=root.fmt:[%10.6r]%e\(%i:%P@%h\)%e%m%n" /tracing/platform.xml /tracing/deployment.xml --cd /home/navarrop/simgrid/simgrid/trunk/examples/msg/)
-ADD_TEST(memcheck-tracing-ms-1 cat tracing/ms.trace --cd /home/navarrop/simgrid/simgrid/trunk/examples/msg/)
-ADD_TEST(memcheck-tracing-ms-2 cat tracing/ms.uncat.plist --cd /home/navarrop/simgrid/simgrid/trunk/examples/msg/)
-ADD_TEST(memcheck-tracing-ms-3 rm -rf tracing/ms.trace tracing/ms.cat.plist tracing/ms.uncat.plist --cd /home/navarrop/simgrid/simgrid/trunk/examples/msg/)
-ADD_TEST(memcheck-tracing-categories-0 ${CMAKE_BINARY_DIR}/examples/msg/tracing/categories --cfg=tracing:1 --cfg=tracing/filename:tracing/categories.trace --cfg=tracing/categorized:1 --cfg=tracing/uncategorized:1 --cfg=triva/categorized:tracing/categories.cat.plist --cfg=triva/uncategorized:tracing/categories.uncat.plist /tracing/platform.xml /tracing/deployment.xml --cd /home/navarrop/simgrid/simgrid/trunk/examples/msg/)
-ADD_TEST(memcheck-tracing-categories-1 cat tracing/categories.trace --cd /home/navarrop/simgrid/simgrid/trunk/examples/msg/)
-ADD_TEST(memcheck-tracing-categories-2 rm -rf tracing/categories.trace tracing/categories.cat.plist tracing/categories.uncat.plist --cd /home/navarrop/simgrid/simgrid/trunk/examples/msg/)
-ADD_TEST(memcheck-tracing-tasks-0 ${CMAKE_BINARY_DIR}/examples/msg/tracing/tasks --cfg=tracing:1 --cfg=tracing/msg/task:1 --cfg=tracing/filename:tracing/tasks.trace /tracing/platform.xml /tracing/deployment.xml --cd /home/navarrop/simgrid/simgrid/trunk/examples/msg/)
-ADD_TEST(memcheck-tracing-tasks-1 cat tracing/tasks.trace --cd /home/navarrop/simgrid/simgrid/trunk/examples/msg/)
-ADD_TEST(memcheck-tracing-tasks-2 rm -rf tracing/tasks.trace --cd /home/navarrop/simgrid/simgrid/trunk/examples/msg/)
-ADD_TEST(memcheck-tracing-process-migration-0 ${CMAKE_BINARY_DIR}/examples/msg/tracing/procmig --cfg=tracing:1 --cfg=tracing/filename:tracing/procmig.trace --cfg=tracing/msg/process:1 /tracing/platform.xml /tracing/procmig-deploy.xml --cd /home/navarrop/simgrid/simgrid/trunk/examples/msg/)
-ADD_TEST(memcheck-tracing-process-migration-1 cat tracing/procmig.trace --cd /home/navarrop/simgrid/simgrid/trunk/examples/msg/)
-ADD_TEST(memcheck-tracing-process-migration-2 rm -rf tracing/procmig.trace --cd /home/navarrop/simgrid/simgrid/trunk/examples/msg/)
+  ADD_TEST(tracing-help             ${CMAKE_BINARY_DIR}/teshsuite/simdag/platforms/basic_parsing_test --help-tracing)
+ADD_TEST(memcheck-tracing-ms-0 ${CMAKE_BINARY_DIR}/examples/msg/tracing/ms --cfg=tracing:1 --cfg=tracing/buffer: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 --log=instr_paje.thres:debug --log=instr_paje_trace.thres:debug "--log=root.fmt:[%10.6r]%e\(%i:%P@%h\)%e%m%n" ./tracing/platform.xml ./tracing/deployment.xml --cd ${CMAKE_HOME_DIRECTORY}/examples/msg/)
+ADD_TEST(memcheck-tracing-ms-1 cat tracing/ms.trace --cd ${CMAKE_HOME_DIRECTORY}/examples/msg/)
+ADD_TEST(memcheck-tracing-ms-2 cat tracing/ms.uncat.plist --cd ${CMAKE_HOME_DIRECTORY}/examples/msg/)
+ADD_TEST(memcheck-tracing-ms-3 cat tracing/ms.cat.plist --cd ${CMAKE_HOME_DIRECTORY}/examples/msg/)
+ADD_TEST(memcheck-tracing-ms-4 rm -rf tracing/ms.trace tracing/ms.cat.plist tracing/ms.uncat.plist --cd ${CMAKE_HOME_DIRECTORY}/examples/msg/)
+ADD_TEST(memcheck-tracing-categories-0 ${CMAKE_BINARY_DIR}/examples/msg/tracing/categories --cfg=tracing:1 --cfg=tracing/buffer:1 --cfg=tracing/filename:tracing/categories.trace --cfg=tracing/categorized:1 --cfg=tracing/uncategorized:1 --cfg=triva/categorized:tracing/categories.cat.plist --cfg=triva/uncategorized:tracing/categories.uncat.plist ./tracing/platform.xml ./tracing/deployment.xml --cd ${CMAKE_HOME_DIRECTORY}/examples/msg/)
+ADD_TEST(memcheck-tracing-categories-1 cat tracing/categories.trace --cd ${CMAKE_HOME_DIRECTORY}/examples/msg/)
+ADD_TEST(memcheck-tracing-categories-2 rm -rf tracing/categories.trace tracing/categories.cat.plist tracing/categories.uncat.plist --cd ${CMAKE_HOME_DIRECTORY}/examples/msg/)
+ADD_TEST(memcheck-tracing-tasks-0 ${CMAKE_BINARY_DIR}/examples/msg/tracing/tasks --cfg=tracing:1 --cfg=tracing/categorized:1 --cfg=tracing/buffer:1 --cfg=tracing/msg/task:1 --cfg=tracing/filename:tracing/tasks.trace ./tracing/platform.xml ./tracing/deployment.xml --cd ${CMAKE_HOME_DIRECTORY}/examples/msg/)
+ADD_TEST(memcheck-tracing-tasks-1 cat tracing/tasks.trace --cd ${CMAKE_HOME_DIRECTORY}/examples/msg/)
+ADD_TEST(memcheck-tracing-tasks-2 rm -rf tracing/tasks.trace --cd ${CMAKE_HOME_DIRECTORY}/examples/msg/)
+ADD_TEST(memcheck-tracing-process-migration-0 ${CMAKE_BINARY_DIR}/examples/msg/tracing/procmig --cfg=tracing:1 --cfg=tracing/buffer:1 --cfg=tracing/filename:tracing/procmig.trace --cfg=tracing/msg/process:1 ./tracing/platform.xml ./tracing/procmig-deploy.xml --cd ${CMAKE_HOME_DIRECTORY}/examples/msg/)
+ADD_TEST(memcheck-tracing-process-migration-1 cat tracing/procmig.trace --cd ${CMAKE_HOME_DIRECTORY}/examples/msg/)
+ADD_TEST(memcheck-tracing-process-migration-2 rm -rf tracing/procmig.trace --cd ${CMAKE_HOME_DIRECTORY}/examples/msg/)
+ADD_TEST(memcheck-graphicator-0 ${CMAKE_BINARY_DIR}/bin/graphicator ${CMAKE_HOME_DIRECTORY}/teshsuite/simdag/platforms/one_cluster.xml --cfg=tracing:1 --cfg=tracing/platform:1 test.dot --cd ${CMAKE_HOME_DIRECTORY}/tools/graphicator/)
+ADD_TEST(memcheck-graphicator-1 rm test.dot --cd ${CMAKE_HOME_DIRECTORY}/tools/graphicator/)
 ENDIF(HAVE_TRACING)
 
 # Lua examples
 if(HAVE_LUA)
-ADD_TEST(memcheck-lua-masterslave-0 lua master_slave.lua --cd /home/navarrop/simgrid/simgrid/trunk/examples/lua/)
-ADD_TEST(memcheck-lua-mult-matrix-0 lua mult_matrix.lua "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cd /home/navarrop/simgrid/simgrid/trunk/examples/lua/)
-ADD_TEST(memcheck-lua-masterslave-bypass-0 lua master_slave.lua --log=surf_parse.thres:critical --cd /home/navarrop/simgrid/simgrid/trunk/examples/lua/)
-ADD_TEST(memcheck-lua-msg-masterslave-console-0 masterslave_console ${CMAKE_BINARY_DIR}/examples/msg/masterslave/platform_script.lua --log=surf_parse.thres:critical "--log=root.fmt:[%11.6r]%e(%i:%P@%h)%e%m%n" --cd ${CMAKE_BINARY_DIR}/examples/msg/masterslave/)
+ADD_TEST(memcheck-lua-duplicated-globals-0 lua duplicated_globals.lua --cd ${CMAKE_HOME_DIRECTORY}/examples/lua/state_cloner/)
+ADD_TEST(memcheck-lua-masterslave-0 lua master_slave.lua --cd ${CMAKE_HOME_DIRECTORY}/examples/lua/masterslave/)
+ADD_TEST(memcheck-lua-mult-matrix-0 lua mult_matrix.lua "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n" --cd ${CMAKE_HOME_DIRECTORY}/examples/lua/multi_matrix/)
+ADD_TEST(memcheck-lua-masterslave-bypass-0 lua master_slave_bypass.lua --log=surf_parse.thres:critical --cd ${CMAKE_HOME_DIRECTORY}/examples/lua/console/)
+ADD_TEST(memcheck-lua-msg-masterslave-console-0 ${CMAKE_BINARY_DIR}/examples/msg/masterslave/masterslave_console ${CMAKE_HOME_DIRECTORY}/examples/msg/masterslave/platform_script.lua --log=surf_parse.thres:critical "--log=root.fmt:[%11.6r]%e(%i:%P@%h)%e%m%n" --cd ${CMAKE_BINARY_DIR}/examples/msg/masterslave/)
+set_tests_properties(memcheck-lua-duplicated-globals-0                                 PROPERTIES ENVIRONMENT "LUA_CPATH=${CMAKE_BINARY_DIR}/examples/lua/?.so")
 set_tests_properties(memcheck-lua-masterslave-0                                PROPERTIES ENVIRONMENT "LUA_CPATH=${CMAKE_BINARY_DIR}/examples/lua/?.so")
 set_tests_properties(memcheck-lua-mult-matrix-0                                PROPERTIES ENVIRONMENT "LUA_CPATH=${CMAKE_BINARY_DIR}/examples/lua/?.so")
 set_tests_properties(memcheck-lua-masterslave-bypass-0                 PROPERTIES ENVIRONMENT "LUA_CPATH=${CMAKE_BINARY_DIR}/examples/lua/?.so")
index c1b14d2..f88237a 100644 (file)
@@ -2,6 +2,12 @@
 
 \htmlinclude .bindings.doc.toc
 
+\section bindings_binding_Java Java Binding
+<a href="http://simgrid.gforge.inria.fr/simgrid-java/1.0/doc/">Simgrid-Java documentation</a>.
+
+\section bindings_binding_Ruby Ruby Binding
+<a href="http://simgrid.gforge.inria.fr/simgrid-ruby/1.0/doc/">Simgrid-Ruby documentation</a>.
+
 \section bindings_binding_lua Lua Binding
 
 Most of Simgrid modules require a  good level in C programming, since simgrid is used to be as standard C library.
@@ -147,246 +153,4 @@ Yes, Here too you have to resgiter your application before running the simulatio
 
 the full example is distributed in the file examples/lua/master_slave_bypass.lua
 
-\section bindings_binding_ruby Ruby Binding
-
-\subsection bindings_binding_ruby_install How to install Simgrid-ruby
-
-To use Ruby with Simgrid you have to install some dependancies:
- \li Simgrid (see \ref installSimgrid_cmake). Be sure having set the environment variable "SIMGRID_ROOT". 
- \li Ruby package.
-Then Download and install package Simgrid-ruby:
-\verbatim
-git clone git://scm.gforge.inria.fr/simgrid/simgrid-ruby.git
-cd simgrid-ruby
-cmake .
-\endverbatim
- Cmake output
-\verbatim
--- SITE        : Linux_2.6.38-8-generic_x86_64
--- BUILDNAME   : Simgrid-Ruby
--- Looking for lib SimGrid
--- Looking for lib SimGrid - found
--- Simgrid version : 3.6
--- Looking for gras.h
--- Looking for gras.h - found
--- Found Tesh: /home/user/Bureau/simgrid/git/bin/tesh
--- Found gras_stub_generator: /home/user/Bureau/simgrid/git/bin/gras_stub_generator
--- Found ruby: /usr/bin/ruby
--- Looking for ruby.h
--- Looking for ruby.h - found
--- Looking for confi.h
--- Looking for config.h - found
--- Looking for lib ruby
--- Looking for lib ruby - found
--- Lib ruby version: 1.9.1
--- Configuring done
--- Generating done
--- Build files have been written to: /home/user/workspace/simgrid-ruby/build
-\endverbatim
-
-\subsection bindings_binding_ruby_simgrid Use Ruby in Simgrid
-Since v3.4, the use of <a href="http://ruby-lang.org">ruby</a> in simgrid is available for the MSG Module.
-you can find almost all MSG functionalities in Ruby code, that allows you to set up your environment, manage tasks between hosts and run the simulation.
-
-\subsection bindings_binding_ruby_example Master/Slave Ruby Application
-for each process method(master and slave in this example), you have to associate a ruby class, that should inherit from <i>MSG::Process</i> ruby class,
-  with a 'main' function that describe the behaviour of the process during the simulation.
-\li required stuff
-\verbatim
-require 'simgrid'
-include MSG
-\endverbatim
-
-\li Master code
-\verbatim
-class Master < MSG::Process 
-  # main : that function that will be executed when running simulation
-
-  def main(args) # args is an array containing arguments for function master
-   size = args.size
-   for i in 0..size-1
-     MSG::info("args["+String(i)+"]="+args[i])
-   end
-  
-   raise "Master needs 3 arguments" if size < 3 
-   numberOfTask = Integer(args[0]) 
-   taskComputeSize = Float(args[1])
-   taskCommunicationSize = Float(args[2])
-   slaveCount = Integer(args[3]) 
-   
-   # Creates and sends the tasks
-    for i in 0..numberOfTask-1
-     task = Task.new("Task_"+ i.to_s, taskComputeSize , taskCommunicationSize);
-     mailbox = "slave " + (i%slaveCount).to_s
-     MSG::info("Master Sending "+ task.name + " to " + mailbox + " with Comput Size " + 
-           task.compSize.to_s)
-     task.send(mailbox)
-     MSG::info("Master Done Sending " + task.name + " to " + mailbox)
-    end
-  
-   # Sending Finalize MSG::Tasks
-   MSG::info("Master: All tasks have been dispatched. Let's tell everybody the computation is over.")
-   for i in 0..slaveCount-1
-     mailbox = "slave " + i.to_s
-     finalize_task = Task.new("finalize",0,0)
-     finalize_task.send(mailbox)
-   end
-   MSG::info("Master : Everything's Done")
-  end    
-end
-\endverbatim
-
-
-the class MSG::Task contains methods that allows the management of the native MSG tasks.
-in master ruby code we used : 
-  - <i>MSG::Task.new(task_name,compute_size,communication_size)</i> : to instanciate a new task.
-  - <i>MSG::Task.send(mailbox)</i> : to send the task via a mailbox alias.
-  - <i>MSG::Task.name</i> : to get the task's name.
-
-\li Slave code
-\verbatim
-class Slave < MSG::Process
-
-  def main(args)
-    mailbox = "slave " + args[0]
-    for i in 0..args.size-1
-      MSG::debug("args["+String(i)+"]="+args[i])
-    end
-
-    while true
-       MSG::info("Slave '"+ mailbox +"' waiting for new task");
-       task = Task.receive(mailbox)
-       if (task.name == "finalize")
-              break
-       end
-       task.execute
-       MSG::info("Slave '" + mailbox + "' done executing task "+ task.name + ".")
-    end
-    MSG::info("I'm done, see you")
-  end
-end
-\enverbatim
-to receive a task, we use the method <i>MSG::Task.receive(mailbox)</i> that return a MSG:Task object (received task).
-
-\li Main chunk
-
-\verbatim
-require 'simgrid'
-include MSG
-(...)
-
-if (ARGV.length == 2) 
-       MSG.createEnvironment(ARGV[0])
-       MSG.deployApplication(ARGV[1])
-
-else
-
-       MSG.createEnvironment("platform.xml")
-       MSG.deployApplication("deploy.xml")
-end
-MSG.run
-puts "Simulation time : " + MSG.getClock.to_s
-MSG.exit
-\endverbatim
-
-- <i>MSG.createEnvironment(platform_file)</i> : set up the environment
-- <i>MSG.deployApplication(deployment_file)</i> : load the deployment file description.
-- <i>MSG.run</i> : run the simulation
-
-\subsection bindings_binding_ruby_data Exchanging data 
-ruby bindings provides two ways to exchange data between ruby processes.
-\li MSG::Task.join & MSG::Task.data <br/>
-
-  the MSG::Task class contains 2 methods that allows a data exchange between 2 process.
-  
-  -<i>MSG::Task.join</i> : makes possible to join any kind of ruby data within a task.
-  \verbatim
-   ...
-   myTable = Array.new
-   myTable <<1<<-2<<45<<67<<87<<76<<89<<56<<78<<3<<-4<<99
-   # Creates and send Task With the Table inside
-   task = MSG::Task.new("quicksort_task",taskComputeSize, taskCommunicationSize);
-   task.join(myTable);
-   ...
-   task.send(mailbox);
-   \endverbatim
-   -<i>MSG::Task.data</i> : to access to the data contained into the task.
-   \verbatim
-   ...
-   task = MSG::Task.receive(recv_mailbox.to_s)
-   table = task.data
-   quicksort(table,0,table.size-1)
-   ...
-   \endverbatim
-you can find a complet example illustrating the use of those methods  in file /example/ruby/Quicksort.rb
-
-\li inheritence 
- another 'object-oriented' way to do it, is to make your own 'task' class that inherit from  MSG::Task ,
- and contains data you want to deal with, the only 'tricky' thing is that "the initializer" method has no effect ! 
- the use of some getter/setter methods would be the simple way to manage your data :)
- \verbatim
-class PingPongTask < MSG::Task
-  # The initialize method has no effect 
-  @time 
-  def setTime(t)
-    @time = t
-  end
-  def getTime()
-    return @time
-  end
-end
- \endverbatim
- you can find an example of use in file example/ruby/PingPong.rb
-
-
-\section bindings_binding_java Java Binding
-
-\subsection bindings_binding_java_install How to install Simgrid-java
-
-To use java with Simgrid you have to install some dependancies:
- \li Simgrid (see \ref installSimgrid_cmake). Be sure having set the environment variable "SIMGRID_ROOT". 
- \li Java packages: sun-java6-jdk and libgcj10-dev. If you cannot find the
-libgcj10-dev, try another version.
-Then Download and install package Simgrid-java:
-\verbatim
-git clone git://scm.gforge.inria.fr/simgrid/simgrid-java.git
-cd simgrid-java
-cmake .
-\endverbatim
-Cmake output
-\verbatim
--- SITE        : Linux_2.6.38-8-generic_x86_64
--- BUILDNAME   : Simgrid-Java
--- Looking for lib SimGrid
--- Looking for lib SimGrid - found
--- Simgrid version : 3.6
--- Looking for gras.h
--- Looking for gras.h - found
--- Found Tesh: /home/user/Bureau/simgrid/git/bin/tesh
--- Found gras_stub_generator: /home/user/Bureau/simgrid/git/bin/gras_stub_generator
--- Java version 1.6.0.22 configured successfully!
--- Looking for jni.h
--- Looking for jni.h - found
--- Add flags -I/usr/lib/jvm/java-6-openjdk/include
--- Looking for jni_md.h
--- Looking for jni_md.h - found
--- Found javac: /usr/bin/javac
--- Found jar: /usr/bin/jar
--- Configuring done
--- Generating done
--- Build files have been written to: /home/user/workspace/simgrid-java/build
-\endverbatim
-\subsection bindings_binding_java_use Use Java in Simgrid
-
-The use of java in simgrid is available for the MSG Module. You can find almost all MSG functionalities 
-in Java code (\ref MSG_JAVA).
-
  */
\ No newline at end of file
index d84463e..f13c7e9 100644 (file)
@@ -43,7 +43,7 @@ int server_release_cb(gras_msg_cb_ctx_t ctx, void *payload)
 {
   server_data_t *globals = (server_data_t *) gras_userdata_get();
 
-  if (xbt_dynar_length(globals->waiting_queue)) {
+  if (!xbt_dynar_is_empty(globals->waiting_queue)) {
     gras_socket_t s;
     xbt_dynar_pop(globals->waiting_queue, &s);
 
index 9a2d9b8..07a91f4 100644 (file)
@@ -2,11 +2,21 @@
 
 <center>
 \htmlonly
-<a href="http://simgrid.gforge.inria.fr" border="0"><img align=center src="simgrid_logo.png" alt="SimGrid"></a><br>
+<table width="100%"> 
+       <tr> 
+               <td valign="middle" align="left">                       
+                               <img src="simgrid_logo_2011.png" alt="SimGrid - Scalable simulation of distributed systems, ranging from grids to peer-to-peer systems" />              
+               </td> 
+               <td valign="middle" align="left"> 
+\endhtmlonly
+\htmlinclude .index.doc.toc                    
+\htmlonly
+               </td> 
+       </tr> 
+</table> 
 \endhtmlonly
 </center>
 
-\htmlinclude .index.doc.toc
 SimGrid is a toolkit that provides core functionalities for the simulation
 of distributed applications in heterogeneous distributed environments.
 \htmlonly <!-- ______BODY_BEGIN______ --!> \endhtmlonly
index 7c7eec6..918d07a 100644 (file)
@@ -1,27 +1,3 @@
-/** \defgroup MSG_JAVA      jMSG
-    \ingroup MSG_API
-    \brief Java bindings to MSG (\ref MSG_API)
-
-    \htmlonly <!-- 
-      DOXYGEN_NAVBAR_LABEL="JAVA bindings" 
-      DOXYGEN_NAVBAR_CHILD "Simulation functions"=classsimgrid_1_1msg_1_1Msg.html
-      DOXYGEN_NAVBAR_CHILD "Host"=classsimgrid_1_1msg_1_1Host.html
-      DOXYGEN_NAVBAR_CHILD "Process"=classsimgrid_1_1msg_1_1Process.html
-      DOXYGEN_NAVBAR_CHILD "Task"=classsimgrid_1_1msg_1_1Task.html      
-      DOXYGEN_NAVBAR_CHILD "MsgException"=classsimgrid_1_1msg_1_1MsgException.html
-    --> \endhtmlonly 
-         
-      MSG was the first distributed programming environment provided within
-      SimGrid. While almost realistic, it remains quite simple (simplistic?).
-      This describes the Java bindings to this interface.
-
-      \section jMSG_who Who should use this (and who shouldn't)
-      
-      You should use MSG if you want to study some heuristics for a
-      given problem you don't really want to implement. If you want to
-      use the Java programming language, your are in the right
-      section. To use the C interface, please refer to \ref MSG_C.
-*/
 
 /** \defgroup MSG_C      MSG native
     \ingroup MSG_API
index c2ab8c8..a874b52 100644 (file)
@@ -16,6 +16,7 @@
       - \ref XBT_set 
         Data are associated to both an ID (0(1) search) and a name
       - \ref XBT_fifo
+      - \ref XBT_queue
       - \ref XBT_swag
       - \ref XBT_heap
     - \ref XBT_misc
diff --git a/doc/webcruft/simgrid_logo_2011.png b/doc/webcruft/simgrid_logo_2011.png
new file mode 100644 (file)
index 0000000..1fdf138
Binary files /dev/null and b/doc/webcruft/simgrid_logo_2011.png differ
index d2e2325..354eeb7 100644 (file)
@@ -18,6 +18,19 @@ XBT_LOG_NEW_DEFAULT_CATEGORY(Bandwidth,
  * Sensor code
  * **********************************************************************/
 
+static gras_socket_t try_gras_socket_client_from_string(const char *host)
+{
+  volatile gras_socket_t sock = NULL;
+  xbt_ex_t e;
+  TRY {
+    sock = gras_socket_client_from_string(host);
+  }
+  CATCH(e) {
+    xbt_ex_free(e);
+  }
+  return sock;
+}
+
 /* Function prototypes */
 int sensor(int argc, char *argv[]);
 
@@ -26,7 +39,6 @@ int sensor(int argc, char *argv[])
   gras_socket_t mysock;
   gras_socket_t master = NULL;
   int connection_try = 10;
-  xbt_ex_t e;
 
   gras_init(&argc, argv);
   amok_bw_init();
@@ -34,19 +46,10 @@ int sensor(int argc, char *argv[])
 
   mysock = gras_socket_server_range(3000, 9999, 0, 0);
   XBT_INFO("Sensor starting (on port %d)", gras_os_myport());
-  while (connection_try > 0 && master == NULL) {
-    int connected = 0;
-    TRY {
-      master = gras_socket_client_from_string(argv[1]);
-      connected = 1;
-    }
-    CATCH(e) {
-      xbt_ex_free(e);
-    }
-    if (!connected) {
-      connection_try--;
-      gras_os_sleep(0.5);       /* let the master get ready */
-    }
+  while (connection_try > 0 &&
+         !(master = try_gras_socket_client_from_string(argv[1]))) {
+    connection_try--;
+    gras_os_sleep(0.5);       /* let the master get ready */
   }
 
   amok_pm_group_join(master, "bandwidth");
index 2b965e1..1884b05 100644 (file)
@@ -2,48 +2,48 @@ require "simgrid"
 
   simgrid.AS.new{id="AS0",mode="Full"};
 
-  simgrid.Host.new{id="Tremblay",power=98095000};
-  simgrid.Host.new{id="Jupiter",power=76296000};
-  simgrid.Host.new{id="Fafard",power=76296000};
-  simgrid.Host.new{id="Ginette",power=48492000};
-  simgrid.Host.new{id="Bourassa",power=48492000};
+  simgrid.host.new{id="Tremblay",power=98095000};
+  simgrid.host.new{id="Jupiter",power=76296000};
+  simgrid.host.new{id="Fafard",power=76296000};
+  simgrid.host.new{id="Ginette",power=48492000};
+  simgrid.host.new{id="Bourassa",power=48492000};
 
     -- create Links
   for i=10,0,-1 do
-    simgrid.Link.new{id=i,bandwidth=252750+ i*768,latency=0.000270544+i*0.087};   
+    simgrid.link.new{id=i,bandwidth=252750+ i*768,latency=0.000270544+i*0.087};   
   end
-  -- simgrid.Route.new(src_id,des_id,links_nb,links_list)
-   simgrid.Route.new("Tremblay","Jupiter",{"1"});
-   simgrid.Route.new("Tremblay","Fafard",{"0","1","2","3","4","8"});
-   simgrid.Route.new("Tremblay","Ginette",{"3","4","5"});
-   simgrid.Route.new("Tremblay","Bourassa",{"0","1","3","2","4","6","7"});
-
-   simgrid.Route.new("Jupiter","Tremblay",{"1"});
-   simgrid.Route.new("Jupiter","Fafard",{"0","1","2","3","4","8","9"});
-   simgrid.Route.new("Jupiter","Ginette",{"3","4","5","9"});
-   simgrid.Route.new("Jupiter","Bourassa",{"0","1","2","3","4","6","7","9"});
+  -- simgrid.route.new(src_id,des_id,links_nb,links_list)
+   simgrid.route.new("Tremblay","Jupiter",{"1"});
+   simgrid.route.new("Tremblay","Fafard",{"0","1","2","3","4","8"});
+   simgrid.route.new("Tremblay","Ginette",{"3","4","5"});
+   simgrid.route.new("Tremblay","Bourassa",{"0","1","3","2","4","6","7"});
+
+   simgrid.route.new("Jupiter","Tremblay",{"1"});
+   simgrid.route.new("Jupiter","Fafard",{"0","1","2","3","4","8","9"});
+   simgrid.route.new("Jupiter","Ginette",{"3","4","5","9"});
+   simgrid.route.new("Jupiter","Bourassa",{"0","1","2","3","4","6","7","9"});
  
-   simgrid.Route.new("Fafard","Tremblay",{"0","1","2","3","4","8"});
-   simgrid.Route.new("Fafard","Jupiter",{"0","1","2","3","4","8","9"});
-   simgrid.Route.new("Fafard","Ginette",{"0","1","2","5","8"});
-   simgrid.Route.new("Fafard","Bourassa",{"6","7","8"});
+   simgrid.route.new("Fafard","Tremblay",{"0","1","2","3","4","8"});
+   simgrid.route.new("Fafard","Jupiter",{"0","1","2","3","4","8","9"});
+   simgrid.route.new("Fafard","Ginette",{"0","1","2","5","8"});
+   simgrid.route.new("Fafard","Bourassa",{"6","7","8"});
   
-   simgrid.Route.new("Ginette","Tremblay",{"3","4","5"});
-   simgrid.Route.new("Ginette","Jupiter",{"3","4","5","9"});
-   simgrid.Route.new("Ginette","Fafard",{"0","1","2","5","8"});
-   simgrid.Route.new("Ginette","Bourassa",{"0","1","2","5","6","7"});
-
-   simgrid.Route.new("Bourassa","Tremblay",{"0","1","3","2","4","6","7"});
-   simgrid.Route.new("Bourassa","Jupiter",{"0","1","2","3","4","6","7","9"});
-   simgrid.Route.new("Bourassa","Fafard",{"6","7","8"});
-   simgrid.Route.new("Bourassa","Ginette",{"0","1","2","5","6","7"});
+   simgrid.route.new("Ginette","Tremblay",{"3","4","5"});
+   simgrid.route.new("Ginette","Jupiter",{"3","4","5","9"});
+   simgrid.route.new("Ginette","Fafard",{"0","1","2","5","8"});
+   simgrid.route.new("Ginette","Bourassa",{"0","1","2","5","6","7"});
+
+   simgrid.route.new("Bourassa","Tremblay",{"0","1","3","2","4","6","7"});
+   simgrid.route.new("Bourassa","Jupiter",{"0","1","2","3","4","6","7","9"});
+   simgrid.route.new("Bourassa","Fafard",{"6","7","8"});
+   simgrid.route.new("Bourassa","Ginette",{"0","1","2","5","6","7"});
   
    --Save Platform
    simgrid.gras_register_platform();
 
   --Set Application
-   simgrid.Host.setFunction{host="Tremblay",fct="server",args="4000"};
-   simgrid.Host.setFunction{host="Fafard",fct="client",args="Tremblay,4000"};
+   simgrid.host.set_function{host="Tremblay",fct="server",args="4000"};
+   simgrid.host.set_function{host="Fafard",fct="client",args="Tremblay,4000"};
 
   --Save Application 
    simgrid.gras_register_application(); 
index 043fc26..ca0507e 100644 (file)
@@ -9,11 +9,25 @@
 #include "ping.h"
 XBT_LOG_EXTERNAL_DEFAULT_CATEGORY(Ping);
 
-int client(int argc, char *argv[])
+static gras_socket_t try_gras_socket_client(const char *host, int port)
 {
+  volatile gras_socket_t sock = NULL;
   xbt_ex_t e;
+  TRY {
+    sock = gras_socket_client(host, port);
+  }
+  CATCH(e) {
+    if (e.category != system_error)
+      /* dunno what happened, let the exception go through */
+      RETHROWF("Unable to connect to the server: %s");
+    xbt_ex_free(e);
+  }
+  return sock;
+}
+
+int client(int argc, char *argv[])
+{
   gras_socket_t toserver = NULL;        /* peer */
-  int connected = 0;
 
   gras_socket_t from;
   int ping, pong;
@@ -33,19 +47,8 @@ int client(int argc, char *argv[])
   XBT_INFO("Launch client (server on %s:%d)", host, port);
 
   /* 3. Create a socket to speak to the server */
-  while (!connected) {
-    TRY {
-      toserver = gras_socket_client(host, port);
-      connected = 1;
-    }
-    CATCH(e) {
-      if (e.category != system_error)
-        /* dunno what happened, let the exception go through */
-        RETHROWF("Unable to connect to the server: %s");
-      xbt_ex_free(e);
-      gras_os_sleep(0.05);
-    }
-  }
+  while (!(toserver = try_gras_socket_client(host, port)))
+    gras_os_sleep(0.05);
 
   XBT_INFO("Connected to %s:%d.", host, port);
 
index 4719e1d..a4fb89f 100644 (file)
 
 XBT_LOG_EXTERNAL_DEFAULT_CATEGORY(MatMult);
 
-int client(int argc, char *argv[])
+static gras_socket_t try_gras_socket_client(const char *host, int port)
 {
+  volatile gras_socket_t sock = NULL;
   xbt_ex_t e;
+  TRY {
+    sock = gras_socket_client(host, port);
+  }
+  CATCH(e) {
+    if (e.category != system_error)
+      RETHROWF("Unable to connect to the server: %s");
+    xbt_ex_free(e);
+  }
+  return sock;
+}
+
+int client(int argc, char *argv[])
+{
   gras_socket_t toserver = NULL;        /* peer */
-  int connected = 0;
 
   gras_socket_t from;
   xbt_matrix_t request[2], answer;
 
-  int i, j;
+  int i;
+  _XBT_GNUC_UNUSED int j;
 
   const char *host = "127.0.0.1";
   int port = 4000;
@@ -41,18 +55,8 @@ int client(int argc, char *argv[])
   mmrpc_register_messages();
 
   /* 4. Create a socket to speak to the server */
-  while (!connected) {
-    TRY {
-      toserver = gras_socket_client(host, port);
-      connected = 1;
-    }
-    CATCH(e) {
-      if (e.category != system_error)
-        RETHROWF("Unable to connect to the server: %s");
-      xbt_ex_free(e);
-      gras_os_sleep(0.05);
-    }
-  }
+  while (!(toserver = try_gras_socket_client(host, port)))
+    gras_os_sleep(0.05);
   XBT_INFO("Connected to %s:%d.", host, port);
 
   /* 5. Keep the user informed of what's going on */
index bcaf5f1..afdb861 100644 (file)
@@ -38,6 +38,18 @@ static int server_cb_request_handler(gras_msg_cb_ctx_t ctx,
   return 0;
 }                               /* end_of_server_cb_request_handler */
 
+static gras_socket_t try_gras_socket_server(int port)
+{
+  volatile gras_socket_t sock = NULL;
+  TRY {
+    sock = gras_socket_server(port);
+  }
+  CATCH_ANONYMOUS {
+    RETHROWF("Unable to establish a server socket: %s");
+  }
+  return sock;
+}
+
 int server(int argc, char *argv[])
 {
   gras_socket_t sock = NULL;
@@ -59,12 +71,7 @@ int server(int argc, char *argv[])
 
   /* 5. Create my master socket */
   XBT_INFO("Launch server (port=%d)", port);
-  TRY {
-    sock = gras_socket_server(port);
-  }
-  CATCH_ANONYMOUS {
-    RETHROWF("Unable to establish a server socket: %s");
-  }
+  sock = try_gras_socket_server(port);
 
   /* 6. Wait up to 10 minutes for an incomming message to handle */
   gras_msg_handle(600.0);
index e362b44..d9aab2c 100644 (file)
@@ -9,11 +9,25 @@
 #include "ping.h"
 XBT_LOG_EXTERNAL_DEFAULT_CATEGORY(Ping);
 
-int client(int argc, char *argv[])
+static gras_socket_t try_gras_socket_client(const char *host, int port)
 {
+  volatile gras_socket_t sock = NULL;
   xbt_ex_t e;
+  TRY {
+    sock = gras_socket_client(host, port);
+  }
+  CATCH(e) {
+    if (e.category != system_error)
+      /* dunno what happened, let the exception go through */
+      RETHROWF("Unable to connect to the server: %s");
+    xbt_ex_free(e);
+  }
+  return sock;
+}
+
+int client(int argc, char *argv[])
+{
   gras_socket_t toserver = NULL;        /* peer */
-  int connected = 0;
 
   gras_socket_t from;
   int ping, pong;
@@ -33,19 +47,8 @@ int client(int argc, char *argv[])
   XBT_INFO("Launch client (server on %s:%d)", host, port);
 
   /* 3. Create a socket to speak to the server */
-  while (!connected) {
-    TRY {
-      toserver = gras_socket_client(host, port);
-      connected = 1;
-    }
-    CATCH(e) {
-      if (e.category != system_error)
-        /* dunno what happened, let the exception go through */
-        RETHROWF("Unable to connect to the server: %s");
-      xbt_ex_free(e);
-      gras_os_sleep(0.05);
-    }
-  }
+  while (!(toserver = try_gras_socket_client(host, port)))
+    gras_os_sleep(0.05);
 
   XBT_INFO("Connected to %s:%d.", host, port);
 
index 27b03d1..e45caa2 100644 (file)
@@ -67,6 +67,34 @@ static void register_messages(void)
   gras_msgtype_declare("pmm_sync", 0);
 }
 
+static gras_socket_t try_gras_socket_client_from_string(const char *host)
+{
+  volatile gras_socket_t sock = NULL;
+  xbt_ex_t e;
+  TRY {
+    sock = gras_socket_client_from_string(host);
+  }
+  CATCH(e) {
+    if (e.category != system_error)
+      /* dunno what happened, let the exception go through */
+      RETHROWF("Unable to connect to the server: %s");
+    xbt_ex_free(e);
+  }
+  return sock;
+}
+
+static void my_gras_msg_wait(double timeout, const char* msgt_want,
+                             gras_socket_t* expeditor, void *payload,
+                             const char *error_msg)
+{
+  TRY {
+    gras_msg_wait(timeout, msgt_want, expeditor, payload);
+  }
+  CATCH_ANONYMOUS {
+    RETHROWF("%s: %s", error_msg);
+  }
+}
+
 /* Function prototypes */
 int slave(int argc, char *argv[]);
 int master(int argc, char *argv[]);
@@ -305,13 +333,9 @@ static int pmm_worker_cb(gras_msg_cb_ctx_t ctx, void *payload)
       bB = xbt_matrix_new_sub(mydataB,
                               submatrix_size, submatrix_size, 0, 0, NULL);
     } else {
-      TRY {
-        xbt_matrix_free(bB);
-        gras_msg_wait(600, "dataB", &from, &bB);
-      }
-      CATCH_ANONYMOUS {
-        RETHROWF("Can't get a data message from line : %s");
-      }
+      xbt_matrix_free(bB);
+      my_gras_msg_wait(600, "dataB", &from, &bB,
+                       "Can't get a data message from line");
       XBT_VERB("LINE: step(%d) <> Myline(%d). Receive data from %s", step,
             myline, gras_socket_peer_name(from));
     }
@@ -328,19 +352,15 @@ static int pmm_worker_cb(gras_msg_cb_ctx_t ctx, void *payload)
       bA = xbt_matrix_new_sub(mydataA,
                               submatrix_size, submatrix_size, 0, 0, NULL);
     } else {
-      TRY {
-        xbt_matrix_free(bA);
-        gras_msg_wait(1200, "dataA", &from, &bA);
-      }
-      CATCH_ANONYMOUS {
-        RETHROWF("Can't get a data message from row : %s");
-      }
+      xbt_matrix_free(bA);
+      my_gras_msg_wait(1200, "dataA", &from, &bA,
+                       "Can't get a data message from row");
       XBT_VERB("ROW: step(%d)<>myrow(%d). Receive data from %s", step, myrow,
             gras_socket_peer_name(from));
     }
     xbt_matrix_double_addmult(bA, bB, bC);
 
-  };
+  }
 
   /* send Result to master */
   result.C = bC;
@@ -380,7 +400,6 @@ int slave(int argc, char *argv[])
 {
   gras_socket_t mysock;
   gras_socket_t master = NULL;
-  int connected = 0;
   int rank;
 
   /* Init the GRAS's infrastructure */
@@ -400,19 +419,8 @@ int slave(int argc, char *argv[])
   /* Create the connexions */
   mysock = gras_socket_server_range(3000, 9999, 0, 0);
   XBT_INFO("Sensor %d starting", rank);
-  while (!connected) {
-    xbt_ex_t e;
-    TRY {
-      master = gras_socket_client_from_string(argv[1]);
-      connected = 1;
-    }
-    CATCH(e) {
-      if (e.category != system_error)
-        RETHROW;
-      xbt_ex_free(e);
-      gras_os_sleep(0.5);
-    }
-  }
+  while (!(master = try_gras_socket_client_from_string(argv[1])))
+    gras_os_sleep(0.5);
 
   /* Join and run the group */
   rank = amok_pm_group_join(master, "pmm");
index 358df12..b0ae355 100644 (file)
@@ -21,7 +21,7 @@ int alice(int argc, char *argv[])
 
   xbt_dict_cursor_t cursor = NULL;
   char *key, *data;
-  const char *value;
+  _XBT_GNUC_UNUSED const char *value;
 
   /* Let the other process change the host props */
   gras_os_sleep(1);
@@ -64,7 +64,7 @@ int bob(int argc, char *argv[])
   xbt_dict_t host_props = gras_os_host_properties();
   xbt_dict_cursor_t cursor = NULL;
   char *key, *data;
-  const char *value;
+  _XBT_GNUC_UNUSED const char *value;
 
   XBT_INFO("== Dump all the properties of host1");
   xbt_dict_foreach(host_props, cursor, key, data)
index ebf5a1a..c0790dc 100644 (file)
@@ -1,7 +1,7 @@
 p Runs the 'properties' test within the simulator (simulation times valid for 32bits architectures)
 
 ! output sort
-$ $SG_TEST_EXENV ./properties_simulator${EXEEXT:=} ${srcdir:=.}/../../platforms/prop.xml ${srcdir:=.}/properties.xml --log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n
+$ $SG_TEST_EXENV ./properties_simulator${EXEEXT:=} ${srcdir:=.}/../../platforms/prop.xml ${srcdir:=.}/properties.xml "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n"
 > [  0.000000] (2:bob@host1) == Dump all the properties of host1
 > [  0.000000] (2:bob@host1)   Host property: 'SG_TEST_Hdd' has value: '180'
 > [  0.000000] (2:bob@host1)   Host property: 'SG_TEST_mem' has value: '4'
index dbe3c90..3b19f41 100644 (file)
@@ -67,8 +67,8 @@ int master(int argc, char *argv[])
 
   /* friends, we're ready. Come and play */
   XBT_INFO("Wait for peers for a while. I need %d peers",
-        xbt_dict_size(pals_int));
-  while (xbt_dynar_length(peers) < xbt_dict_size(pals_int)) {
+        xbt_dict_length(pals_int));
+  while (xbt_dynar_length(peers) < xbt_dict_length(pals_int)) {
     TRY {
       gras_msg_handle(20);
     }
@@ -239,7 +239,7 @@ int worker(int argc, char *argv[])
         switch (cmd->action) {
         case XBT_WORKLOAD_COMPUTE:
           /* If any communication were queued, do them in parallel */
-          if (xbt_dynar_length(cmd_to_go)) {
+          if (!xbt_dynar_is_empty(cmd_to_go)) {
             TRY {
               xbt_dynar_dopar(cmd_to_go, do_command);
               xbt_dynar_reset(cmd_to_go);
@@ -268,7 +268,7 @@ int worker(int argc, char *argv[])
     /* do in parallel any communication still queued */
     XBT_INFO("Do %ld pending communications after end of TODO list",
           xbt_dynar_length(cmd_to_go));
-    if (xbt_dynar_length(cmd_to_go)) {
+    if (!xbt_dynar_is_empty(cmd_to_go)) {
       xbt_dynar_dopar(cmd_to_go, do_command);
       xbt_dynar_reset(cmd_to_go);
     }
index f3b3ddf..ea04624 100644 (file)
@@ -29,7 +29,7 @@ xbt_workload_elm_t xbt_workload_elm_parse(char *line)
 
   xbt_dynar_t w = xbt_str_split(line, " ");
 
-  if (xbt_dynar_length(w) == 0) {
+  if (xbt_dynar_is_empty(w)) {
     free(res);
     xbt_dynar_free(&w);
     return NULL;
@@ -71,12 +71,9 @@ void xbt_workload_elm_free(xbt_workload_elm_t cmd)
 {
   if (!cmd)
     return;
-  if (cmd->who)
-    free(cmd->who);
-  if (cmd->comment)
-    free(cmd->comment);
-  if (cmd->str_arg)
-    free(cmd->str_arg);
+  free(cmd->who);
+  free(cmd->comment);
+  free(cmd->str_arg);
   free(cmd);
 }
 
index fe0c62b..10e84e0 100644 (file)
@@ -60,6 +60,20 @@ static void exception_catching(void)
  * Client code
  * **********************************************************************/
 
+static void client_create_sockets(gras_socket_t *toserver,
+                                  gras_socket_t *toforwarder,
+                                  const char *srv_host, int srv_port,
+                                  const char *fwd_host, int fwd_port)
+{
+  TRY {
+    exception_catching();
+    *toserver = gras_socket_client(srv_host, srv_port);
+    *toforwarder = gras_socket_client(fwd_host, fwd_port);
+  }
+  CATCH_ANONYMOUS {
+    RETHROWF("Unable to connect to the server: %s");
+  }
+}
 
 int client(int argc, char *argv[])
 {
@@ -92,14 +106,8 @@ int client(int argc, char *argv[])
   gras_os_sleep(2);
 
   /* 4. Create a socket to speak to the server */
-  TRY {
-    exception_catching();
-    toserver = gras_socket_client(host, port);
-    toforwarder = gras_socket_client(argv[3], atoi(argv[4]));
-  }
-  CATCH_ANONYMOUS {
-    RETHROWF("Unable to connect to the server: %s");
-  }
+  client_create_sockets(&toserver, &toforwarder,
+                        host, port, argv[3], atoi(argv[4]));
   XBT_INFO("Connected to %s:%d.", host, port);
 
 
index 42a9ec2..890b886 100644 (file)
@@ -1,42 +1,50 @@
 
-Examples containing in this directory
+Examples contained in this directory
+
+To execute any SimGrid Lua example, the SimGrid dynamic library must be in
+your LUA_CPATH. For example:
+
+export LUA_CPATH="${LUA_CPATH};/path/to/simgrid/examples/lua/?.so"
 
 ===============================================================================
-* master_slave.lua           
+* masterslave
 ===============================================================================
+
     - Description:
     Simple master slave application
 
+    - Directory:
+    examples/lua/masterslave
+
     - Platform Files:
-    ../msg/small_platform.xml
+    ../../msg/small_platform.xml
        
     - Deployment Files:
-    ../ruby/deploy.xml
+    ../deploy.xml
 
     - Execute: 
-    (WARNING: the current directory must be examples/lua/)
     lua master_slave.lua
 
 ===============================================================================
-* mult_matrix.lua
+* multi_matrix
 ===============================================================================
 
-
     - Description:
-    Simple example to demonstrate how 2 process could exchage data via a shared Task
-    in this example :
-       *Process Sender : Send two matrix with a fixed size to the 'Receiver' process
-       *Process Receiver : Receive the Matrix, make multiplication and put the result
-                           into the shared task that the Sender could read it .   
+    Simple example to demonstrate how 2 processes can exchange data via a task.
+    In this example:
+       * Process Sender: sends two matrices with a fixed size to the receiver.
+       * Process Receiver: receive the matrices and makes the multiplication.
+
+    - Directory:
+    examples/lua/multi_matrix
     
     - Platform Files:
-    ../ruby/quicksort_platform.xml    
+    quicksort_platform.xml    
        
     - Deployment Files:
-    ../ruby/quicksort_deployment.xml
+    quicksort_deployment.xml
 
     - Execute: 
-    (WARNING: the current directory must be examples/lua/)
     lua mult_matrix.lua
            
 ================================================================================
index 59e37aa..c0f5589 100644 (file)
@@ -6,17 +6,17 @@ require "simgrid"
   simgrid.AS.addHost{AS="AS0",id="Jupiter",power=76296000};
   simgrid.AS.addHost{AS="AS0",id="Fafard",power=76296000};
 
-  simgrid.Host.setProperty{host="Tremblay",prop_id="ip",prop_value="199.23.98.3"};
-  simgrid.Host.setProperty{host="Tremblay",prop_id="port",prop_value="65"};
-  simgrid.Host.setProperty{host="Jupiter",prop_id="ip",prop_value="199.23.98.4"};
-  simgrid.Host.setProperty{host="Jupiter",prop_id="port",prop_value="83"};
-  simgrid.Host.setProperty{host="Fafard",prop_id="ip",prop_value="199.23.98.5"};
-  simgrid.Host.setProperty{host="Fafard",prop_id="port",prop_value="76"};
+  simgrid.host.setProperty{host="Tremblay",prop_id="ip",prop_value="199.23.98.3"};
+  simgrid.host.setProperty{host="Tremblay",prop_id="port",prop_value="65"};
+  simgrid.host.setProperty{host="Jupiter",prop_id="ip",prop_value="199.23.98.4"};
+  simgrid.host.setProperty{host="Jupiter",prop_id="port",prop_value="83"};
+  simgrid.host.setProperty{host="Fafard",prop_id="ip",prop_value="199.23.98.5"};
+  simgrid.host.setProperty{host="Fafard",prop_id="port",prop_value="76"};
     -- create Links
   for i=10,0,-1 do
     simgrid.AS.addLink{AS="AS0",id=i,bandwidth=252750+ i*768,latency=0.000270544+i*0.087};   
   end
-  -- simgrid.Route.new(src_id,des_id,links_nb,links_list)
+  -- simgrid.route.new(src_id,des_id,links_nb,links_list)
    simgrid.AS.addRoute("AS0","Tremblay","Jupiter",{"1"});
    simgrid.AS.addRoute("AS0","Tremblay","Fafard",{"0","1","2","3","4","8"});
 
@@ -31,9 +31,9 @@ require "simgrid"
    simgrid.msg_register_platform();
 
   --Set Application
-   simgrid.Host.setFunction{host="Tremblay",fct="SPLAYschool",args=""};
-   simgrid.Host.setFunction{host="Fafard",fct="SPLAYschool",args=""};
-   simgrid.Host.setFunction{host="Jupiter",fct="SPLAYschool",args=""};
+   simgrid.host.set_function{host="Tremblay",fct="SPLAYschool",args=""};
+   simgrid.host.set_function{host="Fafard",fct="SPLAYschool",args=""};
+   simgrid.host.set_function{host="Jupiter",fct="SPLAYschool",args=""};
    
   --Save Application 
    simgrid.msg_register_application(); 
index 0f59caa..6202cb3 100644 (file)
@@ -16,9 +16,9 @@ job.list_type = "random"
 
 -- Init nodes tables
 function init_nodes()
-  for i = 1, simgrid.Host.number() do          
-    job.nodes[i] = { ip = simgrid.Host.getPropValue(simgrid.Host.at(i), "ip"),
-                     port = simgrid.Host.getPropValue(simgrid.Host.at(i), "port") }
+  for i = 1, simgrid.host.number() do          
+    job.nodes[i] = { ip = simgrid.host.get_prop_value(simgrid.host.at(i), "ip"),
+                     port = simgrid.host.get_prop_value(simgrid.host.at(i), "port") }
   end  
 end
 
@@ -28,16 +28,16 @@ end
 
 -- Job methods
 function job.me.ip()
-  return simgrid.Host.getPropValue(simgrid.Host.self(), "ip")
+  return simgrid.host.get_prop_value(simgrid.host.self(), "ip")
 end
 
 function job.me.port()
-  return simgrid.Host.getPropValue(simgrid.Host.self(), "port")
+  return simgrid.host.get_prop_value(simgrid.host.self(), "port")
 end
 
 
 function job.position()
-  return simgrid.Host.getPropValue(simgrid.Host.self(), "position")
+  return simgrid.host.get_prop_value(simgrid.host.self(), "position")
 end
 
 -- log Methods
@@ -60,11 +60,11 @@ function rpc.call(node, call)
     func = call[1]
     arg = call[2]
   end
-  task_call = simgrid.Task.new("splay_task", 10000, 10000)
+  task_call = simgrid.task.new("splay_task", 10000, 10000)
   task_call['func_call_name'] = func
   task_call['func_call_arg'] = arg
   log:print("Sending Task to mailbox "..mailbox.." to call '"..func.."' with arg '"..arg.."'")
-  simgrid.Task.send(task_call, mailbox)
+  simgrid.task.send(task_call, mailbox)
 
 end
 
@@ -75,7 +75,7 @@ end
 -- event Methods
 function events.sleep(time)
   my_mailbox = job.me.ip()..":"..job.me.port()
-  task = simgrid.Task.recv_timeout(my_mailbox, time)
+  task = simgrid.task.recv(my_mailbox, time)
 
   if task ~= nil then
     -- an RPC call just woke me up
@@ -91,7 +91,7 @@ end
 
 -- OS methods
 function os.exit()
-  simgrid.Host.destroy(simgrid.Host.self())
+  simgrid.host.destroy(simgrid.host.self())
 end
 
 -- Start Methods
diff --git a/examples/lua/chord/chord.lua b/examples/lua/chord/chord.lua
new file mode 100644 (file)
index 0000000..bb763bd
--- /dev/null
@@ -0,0 +1,414 @@
+-- A SimGrid Lua implementation of the Chord DHT
+
+require("simgrid")
+
+nb_bits = 24
+nb_keys = 2^nb_bits
+comp_size = 0
+comm_size = 10
+timeout = 50
+max_simulation_time = 1000
+stabilize_delay = 20
+fix_fingers_delay = 120
+check_predecessor_delay = 120
+lookup_delay = 10
+
+-- current node (don't worry, globals are duplicated in each process)
+my_node = {
+  id = my_id,
+  next_finger_to_fix = 1,
+  fingers = {},
+  predecessor = nil,
+  comm_recv = nil
+}
+
+-- Main function of each Chord process
+-- Arguments:
+-- - my id
+-- - the id of a guy I know in the system (except for the first node)
+function node(...)
+
+  -- TODO simplify the parameters
+  local known_id
+  local args = {...}
+  my_node.id = tonumber(args[1])
+  if #args == 4 then
+    known_id = tonumber(args[2])
+  end
+
+  -- initialize the node
+  for i = 1, nb_bits do
+    my_node.fingers[i] = my_node.id
+  end
+  my_node.comm_recv = simgrid.task.irecv(my_node.id)
+
+  -- join the ring
+  local join_success = false
+  if known_id == nil then
+    -- first node
+    create()
+    join_success = true
+  else
+    join_success = join(known_id)
+  end
+
+  -- main loop
+  if join_success then
+
+    local now = simgrid.get_clock()
+    local next_stabilize_date = now + stabilize_delay
+    local next_fix_fingers_date = now + fix_fingers_delay
+    local next_check_predecessor_date = now + check_predecessor_delay
+    local next_lookup_date = now + lookup_delay
+
+    local task, success
+
+    while now < max_simulation_time do
+
+      task, success = simgrid.comm.test(my_node.comm_recv)
+
+      if task then
+       -- I received a task: answer it
+        my_node.comm_recv = simgrid.task.irecv(my_node.id)
+       handle_task(task)
+      elseif failed then
+        -- the communication has failed: nevermind
+        my_node.comm_recv = simgrid.task.irecv(my_node.id)
+      else
+        -- no task was received: do periodic calls
+       if now >= next_stabilize_date then
+          stabilize()
+         next_stabilize_date = simgrid.get_clock() + stabilize_delay
+
+       elseif now >= next_fix_fingers_date then
+         fix_fingers()
+         next_fix_fingers_date = simgrid.get_clock() + fix_fingers_delay
+
+       elseif now >= next_check_predecessor_date then
+         check_predecessor()
+         next_check_predecessor_date = simgrid.get_clock() + check_predecessor_delay
+       elseif now >= next_lookup_date then
+         random_lookup()
+         next_lookup_date = simgrid.get_clock() + lookup_delay
+
+       else
+         -- nothing to do: sleep for a while
+         simgrid.process.sleep(5)
+       end
+      end
+      now = simgrid.get_clock()
+    end -- while
+
+    -- leave the ring
+    leave()
+  end
+end
+
+-- Makes the current node leave the ring
+function leave()
+
+  simgrid.info("Leaving the ring")
+  -- TODO: notify others
+end
+
+-- This function is called when the current node receives a task.
+-- - task: the task received
+function handle_task(task)
+
+  local type = task.type
+
+  if type == "find successor" then
+
+    simgrid.info("Received a 'find successor' request from " .. task.answer_to ..
+        " for id " .. task.request_id)
+
+    -- is my successor the successor?
+    if is_in_interval(task.request_id, my_node.id + 1, my_node.fingers[1]) then
+
+      simgrid.info("Sending back a 'find successor answer' to " ..
+          task.answer_to .. ": the successor of " .. task.request_id ..
+         " is " .. my_node.fingers[1])
+
+      local ans_task = simgrid.task.new("", comp_size, comm_size)
+      ans_task.type = "find successor answer"
+      ans_task.request_id = task.request_id
+      ans_task.answer = my_node.fingers[1]
+      ans_task:dsend(task.answer_to)
+    else
+      -- forward the request to the closest preceding finger in my table
+
+      simgrid.info("Forwarding the 'find successor' request to my closest preceding finger")
+
+      local next_task = simgrid.task.new("", comp_size, comm_size)
+      next_task.type = "find successor"
+      next_task.request_id = task.request_id
+      next_task.answer_to = task.answer_to
+      next_task:dsend(closest_preceding_node(next_task.request_id))
+    end
+
+  elseif type == "get predecessor" then
+    local ans_task = simgrid.task.new("", comp_size, comm_size)
+    ans_task.type = "get predecessor answer"
+    ans_task.answer = my_node.predecessor
+    ans_task:dsend(task.answer_to)
+
+  elseif type == "notify" then
+    -- someone is telling me that he may be my new predecessor
+    notify(task.request_id)
+
+  elseif type == "predecessor leaving" then
+    -- TODO
+
+  elseif type == "successor_leaving" then
+    -- TODO
+
+  elseif type == "find successor answer" then
+    -- ignoring
+
+  elseif type == "get predecessor answer" then
+    -- ignoring
+
+  else
+    error("Unknown type of task received: " .. task.type)
+  end
+end
+
+-- Returns whether an id belongs to the interval [a, b[.
+-- The parameters are normalized to make sure they are between 0 and nb_keys - 1.
+-- 1 belongs to [62, 3].
+-- 1 does not belong to [3, 62].
+-- 63 belongs to [62, 3].
+-- 63 does not belong to [3, 62].
+-- 24 belongs to [21, 29].
+-- 24 does not belong to [29, 21].
+function is_in_interval(id, a, b)
+
+  -- normalize the parameters
+  id = id % nb_bits
+  a = a % nb_bits
+  b = b % nb_bits
+  -- make sure a <= b and a <= id
+  if b < a then
+    b = b + nb_keys
+  end
+
+  if id < a then
+    id = id + nb_keys
+  end
+
+  return id <= b
+end
+
+-- Returns whether the current node is in the ring.
+function has_joined()
+
+  return my_node.fingers[1] ~= nil
+end
+
+-- Creates a new Chord ring.
+function create()
+  my_node.predecessor = nil
+  my_node.fingers[1] = my_node.id
+end
+
+-- Attemps to join the Chord ring.
+-- - known_id: id of a node already in the ring
+-- - return value: true if the join was successful
+function join(known_id)
+
+  simgrid.info("Joining the ring with id " .. my_node.id .. ", knowing node " .. known_id)
+
+  local successor = remote_find_successor(known_id, my_node.id)
+  if successor == nil then
+    simgrid.info("Cannot join the ring.")
+    return false
+  end
+
+  my_node.predecessor = nil
+  my_node.fingers[1] = successor
+  return true
+end
+
+-- Returns the closest preceding finger of an id with respect to the finger
+-- table of the current node.
+-- - id: the id to find
+-- - return value: the closest preceding finger of that id
+function closest_preceding_node(id)
+
+  for i = nb_bits, 1, -1 do
+    if is_in_interval(my_node.fingers[i], my_node.id + 1, id - 1) then
+      -- finger i is the first one before id
+      return my_node.fingers[i]
+    end
+  end
+end
+
+-- Finds the successor of an id
+-- id: the id to find
+-- return value: the id of the successor, or nil if the request failed
+function find_successor(id)
+
+  if is_in_interval(id, my_node.id + 1, my_node.fingers[1]) then
+    -- my successor is the successor
+    return my_node.fingers[1]
+  end
+
+  -- ask to the closest preceding finger in my table
+  local ask_to = closest_preceding_node(id)
+  return remote_find_successor(ask_to, id)
+end
+
+-- Asks a remote node the successor of an id.
+-- ask_to: id of a remote node to ask to
+-- id: the id to find
+-- return value: the id of the successor, or nil if the request failed
+function remote_find_successor(ask_to, id)
+
+  local task = simgrid.task.new("", comp_size, comm_size)
+  task.type = "find successor"
+  task.request_id = id
+  task.answer_to = my_node.id
+
+  simgrid.info("Sending a 'find successor' request to " .. ask_to .. " for id " .. id)
+  if task:send(ask_to, timeout) then
+    -- request successfully sent: wait for an answer
+
+    simgrid.info("Sent the 'find successor' request to " .. ask_to ..
+        " for id " .. id .. ", waiting for the answer")
+
+    while true do
+      task = simgrid.comm.wait(my_node.comm_recv, timeout)
+      my_node.comm_recv = simgrid.task.irecv(my_node.id)
+    
+      if not task then
+       -- failed to receive the answer
+       simgrid.info("Failed to receive the answer to my 'find successor' request")
+       return nil
+      else
+       -- a task was received: is it the expected answer?
+       if task.type ~= "find successor answer" or task.request_id ~= id then
+          -- this is not our answer
+         simgrid.info("Received another request of type " .. task.type)
+         handle_task(task)
+       else
+         -- this is our answer
+         simgrid.info("Received the answer to my 'find successor' request for id " ..
+             id .. ": the successor is " .. task.answer)
+         return task.answer
+       end
+      end
+    end
+  else
+    simgrid.info("Failed to send the 'find successor' request to " .. ask_to ..
+        " for id " .. id)
+  end
+
+  return successor
+end
+
+-- Asks a remote node its predecessor.
+-- ask_to: id of a remote node to ask to
+-- return value: the id of its predecessor, or nil if the request failed
+function remote_get_predecessor(ask_to)
+
+  local task = simgrid.task.new("", comp_size, comm_size)
+  task.type = "get predecessor"
+  task.answer_to = my_node.id
+
+  if task:send(ask_to, timeout) then
+    -- request successfully sent: wait for an answer
+    while true do
+      task = simgrid.comm.wait(my_node.comm_recv, timeout)
+      my_node.comm_recv = simgrid.task.irecv(my_node.id)
+    
+      if not task then
+       -- failed to receive the answer
+       return nil
+      else
+       -- a task was received: is it the expected answer?
+       if task.type ~= "get predecessor answer" then
+          -- this is not our answer
+         handle_task(task)
+       else
+         -- this is our answer
+         -- FIXME make sure the message answers to this particular request
+         return task.answer
+       end
+      end
+    end
+  end
+
+  return successor
+end
+
+-- Checks the immediate successor of the current node.
+function stabilize()
+
+  local candidate
+  local successor = my_node.fingers[1]
+  if successor ~= my_node.id then
+    candidate = remote_get_predecessor(successor)
+  else
+    candidate = my_node.predecessor
+  end
+
+  -- this node is a candidate to become my new successor
+  if candidate ~= nil and is_in_interval(candidate, my_node.id + 1, successor - 1) then
+    my_node.fingers[1] = candidate
+  end
+
+  if successor ~= my_node.id then
+    remote_notify(successor, my_node.id)
+  end
+end
+
+-- Notifies the current node that its predecessor my have changed
+-- - candidate_predecessor: the possible new predecessor
+function notify(candidate_predecessor)
+
+  if my_node.predecessor == nil or is_in_interval(candidate_predecessor,
+      my_node.predecessor + 1, my_node.id - 1) then
+    my_node.predecessor = candidate_predecessor
+  end
+end
+
+-- Notifies a remote node that its predecessor my have changed.
+-- - notify_to
+-- - candidate the possible new predecessor
+function remote_notify(notify_to, candidate_predecessor)
+
+  local task = simgrid.task.new("", comp_size, comm_size)
+  task.type = "notify"
+  task.request_id = candidate_predecessor
+  task:dsend(notify_to)
+end
+
+-- Refreshes the finger table of the current node.
+function fix_fingers()
+
+  local i = my_node.next_finger_to_fix
+  local id = find_successor(my_node.id + 2^i)
+  if id ~= nil then
+    if id ~= my_node.fingers[i] then
+      my_node.fingers[i] = id
+    end
+    my_node.next_finger_to_fix = (i % nb_bits) + 1
+  end
+end
+
+-- Checks whether the predecessor of the current node has failed.
+function check_predecessor()
+  -- TODO
+end
+
+-- Performs a find successor request to an arbitrary id.
+function random_lookup()
+
+  find_successor(1337)
+end
+
+simgrid.platform(arg[1] or "../../msg/msg_platform.xml")
+simgrid.application(arg[2] or "../../msg/chord/chord90.xml")
+simgrid.run()
+
index 2b734bb..26e34fc 100644 (file)
@@ -1,11 +1,11 @@
  dofile 'master.lua'
  dofile 'slave.lua' 
   --Set Application
-   simgrid.Host.setFunction{host="Tremblay",fct="Master",args="20,550000000,1000000,4"};
-   simgrid.Host.setFunction{host="Bourassa",fct="Slave",args="0"};
-   simgrid.Host.setFunction{host="Jupiter",fct="Slave",args="1"};
-   simgrid.Host.setFunction{host="Fafard",fct="Slave",args="2"};
-   simgrid.Host.setFunction{host="Ginette",fct="Slave",args="3"};
+   simgrid.host.set_function{host="Tremblay",fct="Master",args="20,550000000,1000000,4"};
+   simgrid.host.set_function{host="Bourassa",fct="Slave",args="0"};
+   simgrid.host.set_function{host="Jupiter",fct="Slave",args="1"};
+   simgrid.host.set_function{host="Fafard",fct="Slave",args="2"};
+   simgrid.host.set_function{host="Ginette",fct="Slave",args="3"};
    
   --Save Application 
    simgrid.msg_register_application();
index 63b900c..849b18b 100644 (file)
@@ -19,11 +19,12 @@ simgrid.info("Argc="..(#arg).." (should be 4)")
 -- Dispatch the tasks
 
 for i=1,nb_task do
-  tk = simgrid.Task.new("Task "..i,comp_size,comm_size);
+  tk = simgrid.task.new("Task "..i,comp_size,comm_size);
+  local task_name = simgrid.task.get_name(tk)
   alias = "slave "..(i%slave_count);
-  simgrid.info("Master sending  '" .. simgrid.Task.name(tk) .."' To '" .. alias .."'");
-  simgrid.Task.send(tk,alias); -- C user data set to NULL
-  simgrid.info("Master done sending '".. simgrid.Task.name(tk) .."' To '" .. alias .."'");
+  simgrid.info("Master sending  '" .. task_name .."' To '" .. alias .."'");
+  simgrid.task.send(tk,alias); -- C user data set to NULL
+  simgrid.info("Master done sending '".. task_name .."' To '" .. alias .."'");
 end
 
 -- Sending Finalize Message To Others
@@ -32,8 +33,8 @@ simgrid.info("Master: All tasks have been dispatched. Let's tell everybody the c
 for i=0,slave_count-1 do
   alias = "slave "..i;
   simgrid.info("Master: sending finalize to "..alias);
-  finalize = simgrid.Task.new("finalize",comp_size,comm_size);
-  simgrid.Task.send(finalize,alias)
+  finalize = simgrid.task.new("finalize",comp_size,comm_size);
+  simgrid.task.send(finalize,alias)
 end
   simgrid.info("Master: Everything's done.");
 end
index a1c9759..37338f1 100644 (file)
@@ -4,5 +4,4 @@ dofile 'deploy.lua'
 --Rutform.lua'
    simgrid.run()
    simgrid.info("Simulation's over.See you.")
-   simgrid.clean()
 
index 19ebf50..60e66b9 100644 (file)
@@ -1,45 +1,45 @@
  
-  --create new routing model
-  --simgrid.AS.new(AS_id,AS_mode)
-  simgrid.AS.new{id="AS0",mode="Full"}; 
-  --simgrid.Host.new(host_id,power)
-  simgrid.AS.addHost{AS="AS0",id="Tremblay",power=98095000};
-  simgrid.AS.addHost{AS="AS0",id="Jupiter",power=76296000};
-  simgrid.AS.addHost{AS="AS0",id="Fafard",power=76296000};
-  simgrid.AS.addHost{AS="AS0",id="Ginette",power=48492000};
-  simgrid.AS.addHost{AS="AS0",id="Bourassa",power=48492000};
 
-    -- create Links
-  for i=10,0,-1 do
-    simgrid.AS.addLink{AS="AS0",id=i,bandwidth=252750+ i*768,latency=0.000270544+i*0.087};  
-  end
-  -- simgrid.Route.new(src_id,des_id,links_nb,links_list)
-   simgrid.AS.addRoute{AS="AS0",src="Tremblay",dest="Jupiter",links="1"};
-   simgrid.AS.addRoute{AS="AS0",src="Tremblay",dest="Fafard",links="0,1,2,3,4,8"};
-   simgrid.AS.addRoute{AS="AS0",src="Tremblay",dest="Ginette",links="3,4,5"};
-   simgrid.AS.addRoute{AS="AS0",src="Tremblay",dest="Bourassa",links="0,1,3,2,4,6,7"};
+simgrid.platf.open();
 
-   simgrid.AS.addRoute{AS="AS0",src="Jupiter",dest="Tremblay",links="1"};
-   simgrid.AS.addRoute{AS="AS0",src="Jupiter",dest="Fafard",links="0,1,2,3,4,8,9"};
-   simgrid.AS.addRoute{AS="AS0",src="Jupiter",dest="Ginette",links="3,4,5,9"};
-   simgrid.AS.addRoute{AS="AS0",src="Jupiter",dest="Bourassa",links="0,1,2,3,4,6,7,9"};
+simgrid.platf.AS_open{id="AS0",mode="Full"}; 
+
+simgrid.platf.host_new{id="Tremblay",power=98095000};
+simgrid.platf.host_new{id="Jupiter",power=76296000};
+simgrid.platf.host_new{id="Fafard",power=76296000};
+simgrid.platf.host_new{id="Ginette",power=48492000};
+simgrid.platf.host_new{id="Bourassa",power=48492000};
+
+-- create Links
+for i=10,0,-1 do
+    simgrid.platf.link_new{id=i,bandwidth=252750+ i*768,latency=0.000270544+i*0.087};  
+end
+
+simgrid.platf.route_new{src="Tremblay",dest="Jupiter",links="1",symmetrical=0};
+simgrid.platf.route_new{src="Tremblay",dest="Fafard",links="0,1,2,3,4,8",symmetrical=0};
+simgrid.platf.route_new{src="Tremblay",dest="Ginette",links="3,4,5",symmetrical=0};
+simgrid.platf.route_new{src="Tremblay",dest="Bourassa",links="0,1,3,2,4,6,7",symmetrical=0};
+
+simgrid.platf.route_new{src="Jupiter",dest="Tremblay",links="1",symmetrical=0};
+simgrid.platf.route_new{src="Jupiter",dest="Fafard",links="0,1,2,3,4,8,9",symmetrical=0};
+simgrid.platf.route_new{src="Jupiter",dest="Ginette",links="3,4,5,9",symmetrical=0};
+simgrid.platf.route_new{src="Jupiter",dest="Bourassa",links="0,1,2,3,4,6,7,9",symmetrical=0};
  
-   simgrid.AS.addRoute{AS="AS0",src="Fafard",dest="Tremblay",links="0,1,2,3,4,8"};
-   simgrid.AS.addRoute{AS="AS0",src="Fafard",dest="Jupiter",links="0,1,2,3,4,8,9"};
-   simgrid.AS.addRoute{AS="AS0",src="Fafard",dest="Ginette",links="0,1,2,5,8"};
-   simgrid.AS.addRoute{AS="AS0",src="Fafard",dest="Bourassa",links="6,7,8"};
+simgrid.platf.route_new{src="Fafard",dest="Tremblay",links="0,1,2,3,4,8",symmetrical=0};
+simgrid.platf.route_new{src="Fafard",dest="Jupiter",links="0,1,2,3,4,8,9",symmetrical=0};
+simgrid.platf.route_new{src="Fafard",dest="Ginette",links="0,1,2,5,8",symmetrical=0};
+simgrid.platf.route_new{src="Fafard",dest="Bourassa",links="6,7,8",symmetrical=0};
   
-   simgrid.AS.addRoute{AS="AS0",src="Ginette",dest="Tremblay",links="3,4,5"};
-   simgrid.AS.addRoute{AS="AS0",src="Ginette",dest="Jupiter",links="3,4,5,9"};
-   simgrid.AS.addRoute{AS="AS0",src="Ginette",dest="Fafard",links="0,1,2,5,8"};
-   simgrid.AS.addRoute{AS="AS0",src="Ginette",dest="Bourassa",links="0,1,2,5,6,7"};
+simgrid.platf.route_new{src="Ginette",dest="Tremblay",links="3,4,5",symmetrical=0};
+simgrid.platf.route_new{src="Ginette",dest="Jupiter",links="3,4,5,9",symmetrical=0};
+simgrid.platf.route_new{src="Ginette",dest="Fafard",links="0,1,2,5,8",symmetrical=0};
+simgrid.platf.route_new{src="Ginette",dest="Bourassa",links="0,1,2,5,6,7",symmetrical=0};
 
-   simgrid.AS.addRoute{AS="AS0",src="Bourassa",dest="Tremblay",links="0,1,3,2,4,6,7"};
-   simgrid.AS.addRoute{AS="AS0",src="Bourassa",dest="Jupiter",links="0,1,2,3,4,6,7,9"};
-   simgrid.AS.addRoute{AS="AS0",src="Bourassa",dest="Fafard",links="6,7,8"};
-   simgrid.AS.addRoute{AS="AS0",src="Bourassa",dest="Ginette",links="0,1,2,5,6,7"};
+simgrid.platf.route_new{src="Bourassa",dest="Tremblay",links="0,1,3,2,4,6,7",symmetrical=0};
+simgrid.platf.route_new{src="Bourassa",dest="Jupiter",links="0,1,2,3,4,6,7,9",symmetrical=0};
+simgrid.platf.route_new{src="Bourassa",dest="Fafard",links="6,7,8",symmetrical=0};
+simgrid.platf.route_new{src="Bourassa",dest="Ginette",links="0,1,2,5,6,7",symmetrical=0};
+simgrid.platf.AS_close();
+   
+simgrid.platf.close();
   
-   --Save Platform
-   --simgrid.info("start registering platform");
-   simgrid.msg_register_platform();
-   --simgrid.info("platform registered");
index 9c257c4..1c77467 100644 (file)
@@ -8,15 +8,15 @@ simgrid.info("Hello from lua, I'm a poor slave with mbox: "..my_mailbox)
 
 while true do
 
-  local tk = simgrid.Task.recv(my_mailbox);
-  if (simgrid.Task.name(tk) == "finalize") then
+  local tk = simgrid.task.recv(my_mailbox);
+  if (simgrid.task.get_name(tk) == "finalize") then
     simgrid.info("Slave '" ..my_mailbox.."' got finalize msg");
     break
   end
-  --local tk_name = simgrid.Task.name(tk) 
-  simgrid.info("Slave '" ..my_mailbox.."' processing "..simgrid.Task.name(tk))
-  simgrid.Task.execute(tk)
-  simgrid.info("Slave '" ..my_mailbox.."': task "..simgrid.Task.name(tk) .. " done")
+  --local tk_name = simgrid.task.get_name(tk) 
+  simgrid.info("Slave '" ..my_mailbox.."' processing "..simgrid.task.get_name(tk))
+  simgrid.task.execute(tk)
+  simgrid.info("Slave '" ..my_mailbox.."': task "..simgrid.task.get_name(tk) .. " done")
 end -- while
 
 simgrid.info("Slave '" ..my_mailbox.."': I'm Done . See You !!");
index 63b900c..f4094d0 100644 (file)
@@ -1,41 +1,34 @@
---Master Function
 function Master(...) 
 
-simgrid.info("Hello from lua, I'm the master")
-for i,v in ipairs(arg) do
-    simgrid.info("Got "..v)
-end
-
-nb_task = arg[1];
-comp_size = arg[2];
-comm_size = arg[3];
-slave_count = arg[4];
-
-if (#arg ~= 4) then
-    error("Argc should be 4");
-end
-simgrid.info("Argc="..(#arg).." (should be 4)")
-
--- Dispatch the tasks
-
-for i=1,nb_task do
-  tk = simgrid.Task.new("Task "..i,comp_size,comm_size);
-  alias = "slave "..(i%slave_count);
-  simgrid.info("Master sending  '" .. simgrid.Task.name(tk) .."' To '" .. alias .."'");
-  simgrid.Task.send(tk,alias); -- C user data set to NULL
-  simgrid.info("Master done sending '".. simgrid.Task.name(tk) .."' To '" .. alias .."'");
-end
-
--- Sending Finalize Message To Others
-
-simgrid.info("Master: All tasks have been dispatched. Let's tell everybody the computation is over.");
-for i=0,slave_count-1 do
-  alias = "slave "..i;
-  simgrid.info("Master: sending finalize to "..alias);
-  finalize = simgrid.Task.new("finalize",comp_size,comm_size);
-  simgrid.Task.send(finalize,alias)
-end
-  simgrid.info("Master: Everything's done.");
-end
-
---end_of_master
+  if #arg ~= 4 then
+    error("Wrong number of arguments (got " .. #arg ..
+        ", expected 4: nb_tasks comp_size comm_size slave_count)")
+  end
+
+  simgrid.info("Hello from lua, I'm the master")
+
+  local nb_task, comp_size, comm_size, slave_count = unpack(arg)
+
+  -- Dispatch the tasks
+
+  for i = 1, nb_task do
+    local task = simgrid.task.new("Task " .. i, comp_size, comm_size)
+    local task_name = task:get_name()
+    local alias = "slave " .. (i % slave_count)
+    simgrid.info("Sending  '" .. task_name .. "' to '" .. alias .."'")
+    task:send(alias) -- C user data set to NULL
+    simgrid.info("Done sending '".. task_name .. "' to '" .. alias .."'")
+  end
+
+  -- Sending Finalize Message To Others
+
+  simgrid.info("All tasks have been dispatched. Let's tell everybody the computation is over.")
+  for i = 0, slave_count - 1 do
+    local alias = "slave " .. i
+    simgrid.info("Sending finalize to '" .. alias .. "'")
+    local finalize = simgrid.task.new("finalize", comp_size, comm_size)
+    finalize:send(alias)
+  end
+  simgrid.info("Everything's done.")
+end -- Master
+
index 2d32e52..6fe6850 100644 (file)
@@ -3,14 +3,9 @@ dofile 'slave.lua'
 -- Simulation Code ----------------------------------------------------------
 
 require "simgrid"
-if (#arg == 2) then
-simgrid.platform(arg[1])
-simgrid.application(arg[2])
-else
-simgrid.platform("../../msg/small_platform.xml")
-simgrid.application("../deploy.xml")
-end
+
+simgrid.platform(arg[1] or "../../msg/small_platform.xml")
+simgrid.application(arg[2] or "../deploy.xml")
 simgrid.run()
-simgrid.info("Simulation's over.See you.")
-simgrid.clean()
+simgrid.info("Simulation's over. See you.")
 
index 75cbf91..c57aab5 100644 (file)
 
 $ lua master_slave.lua
 > [Tremblay:Master:(1) 0.000000] [lua/INFO] Hello from lua, I'm the master
-> [Tremblay:Master:(1) 0.000000] [lua/INFO] Got 20
-> [Tremblay:Master:(1) 0.000000] [lua/INFO] Got 50000000
-> [Tremblay:Master:(1) 0.000000] [lua/INFO] Got 1000000
-> [Tremblay:Master:(1) 0.000000] [lua/INFO] Got 4
-> [Tremblay:Master:(1) 0.000000] [lua/INFO] Argc=4 (should be 4)
-> [Tremblay:Master:(1) 0.000000] [lua/INFO] Master sending  'Task 1' To 'slave 1'
-> [Bourassa:Slave:(2) 0.000000] [lua/INFO] Hello from lua, I'm a poor slave with mbox: slave 0
-> [Jupiter:Slave:(3) 0.000000] [lua/INFO] Hello from lua, I'm a poor slave with mbox: slave 1
-> [Fafard:Slave:(4) 0.000000] [lua/INFO] Hello from lua, I'm a poor slave with mbox: slave 2
-> [Ginette:Slave:(5) 0.000000] [lua/INFO] Hello from lua, I'm a poor slave with mbox: slave 3
-> [Jupiter:Slave:(3) 0.165962] [lua/INFO] Slave 'slave 1' processing Task 1
-> [Tremblay:Master:(1) 0.165962] [lua/INFO] Master done sending 'Task 1' To 'slave 1'
-> [Tremblay:Master:(1) 0.165962] [lua/INFO] Master sending  'Task 2' To 'slave 2'
-> [Fafard:Slave:(4) 0.384115] [lua/INFO] Slave 'slave 2' processing Task 2
-> [Tremblay:Master:(1) 0.384115] [lua/INFO] Master done sending 'Task 2' To 'slave 2'
-> [Tremblay:Master:(1) 0.384115] [lua/INFO] Master sending  'Task 3' To 'slave 3'
-> [Ginette:Slave:(5) 0.524575] [lua/INFO] Slave 'slave 3' processing Task 3
-> [Tremblay:Master:(1) 0.524575] [lua/INFO] Master done sending 'Task 3' To 'slave 3'
-> [Tremblay:Master:(1) 0.524575] [lua/INFO] Master sending  'Task 4' To 'slave 0'
-> [Bourassa:Slave:(2) 0.740447] [lua/INFO] Slave 'slave 0' processing Task 4
-> [Tremblay:Master:(1) 0.740447] [lua/INFO] Master done sending 'Task 4' To 'slave 0'
-> [Tremblay:Master:(1) 0.740447] [lua/INFO] Master sending  'Task 5' To 'slave 1'
-> [Jupiter:Slave:(3) 0.821304] [lua/INFO] Slave 'slave 1': task Task 1 done
-> [Jupiter:Slave:(3) 0.987266] [lua/INFO] Slave 'slave 1' processing Task 5
-> [Tremblay:Master:(1) 0.987266] [lua/INFO] Master done sending 'Task 5' To 'slave 1'
-> [Tremblay:Master:(1) 0.987266] [lua/INFO] Master sending  'Task 6' To 'slave 2'
-> [Fafard:Slave:(4) 1.039457] [lua/INFO] Slave 'slave 2': task Task 2 done
-> [Fafard:Slave:(4) 1.257610] [lua/INFO] Slave 'slave 2' processing Task 6
-> [Tremblay:Master:(1) 1.257610] [lua/INFO] Master done sending 'Task 6' To 'slave 2'
-> [Tremblay:Master:(1) 1.257610] [lua/INFO] Master sending  'Task 7' To 'slave 3'
-> [Ginette:Slave:(5) 1.555672] [lua/INFO] Slave 'slave 3': task Task 3 done
-> [Jupiter:Slave:(3) 1.642608] [lua/INFO] Slave 'slave 1': task Task 5 done
-> [Ginette:Slave:(5) 1.696132] [lua/INFO] Slave 'slave 3' processing Task 7
-> [Tremblay:Master:(1) 1.696132] [lua/INFO] Master done sending 'Task 7' To 'slave 3'
-> [Tremblay:Master:(1) 1.696132] [lua/INFO] Master sending  'Task 8' To 'slave 0'
-> [Bourassa:Slave:(2) 1.771545] [lua/INFO] Slave 'slave 0': task Task 4 done
-> [Fafard:Slave:(4) 1.912953] [lua/INFO] Slave 'slave 2': task Task 6 done
-> [Bourassa:Slave:(2) 1.987417] [lua/INFO] Slave 'slave 0' processing Task 8
-> [Tremblay:Master:(1) 1.987417] [lua/INFO] Master done sending 'Task 8' To 'slave 0'
-> [Tremblay:Master:(1) 1.987417] [lua/INFO] Master sending  'Task 9' To 'slave 1'
-> [Jupiter:Slave:(3) 2.153379] [lua/INFO] Slave 'slave 1' processing Task 9
-> [Tremblay:Master:(1) 2.153379] [lua/INFO] Master done sending 'Task 9' To 'slave 1'
-> [Tremblay:Master:(1) 2.153379] [lua/INFO] Master sending  'Task 10' To 'slave 2'
-> [Fafard:Slave:(4) 2.371532] [lua/INFO] Slave 'slave 2' processing Task 10
-> [Tremblay:Master:(1) 2.371532] [lua/INFO] Master done sending 'Task 10' To 'slave 2'
-> [Tremblay:Master:(1) 2.371532] [lua/INFO] Master sending  'Task 11' To 'slave 3'
-> [Ginette:Slave:(5) 2.727230] [lua/INFO] Slave 'slave 3': task Task 7 done
-> [Jupiter:Slave:(3) 2.808721] [lua/INFO] Slave 'slave 1': task Task 9 done
-> [Ginette:Slave:(5) 2.867690] [lua/INFO] Slave 'slave 3' processing Task 11
-> [Tremblay:Master:(1) 2.867690] [lua/INFO] Master done sending 'Task 11' To 'slave 3'
-> [Tremblay:Master:(1) 2.867690] [lua/INFO] Master sending  'Task 12' To 'slave 0'
-> [Bourassa:Slave:(2) 3.018515] [lua/INFO] Slave 'slave 0': task Task 8 done
-> [Fafard:Slave:(4) 3.026874] [lua/INFO] Slave 'slave 2': task Task 10 done
-> [Bourassa:Slave:(2) 3.234387] [lua/INFO] Slave 'slave 0' processing Task 12
-> [Tremblay:Master:(1) 3.234387] [lua/INFO] Master done sending 'Task 12' To 'slave 0'
-> [Tremblay:Master:(1) 3.234387] [lua/INFO] Master sending  'Task 13' To 'slave 1'
-> [Jupiter:Slave:(3) 3.400349] [lua/INFO] Slave 'slave 1' processing Task 13
-> [Tremblay:Master:(1) 3.400349] [lua/INFO] Master done sending 'Task 13' To 'slave 1'
-> [Tremblay:Master:(1) 3.400349] [lua/INFO] Master sending  'Task 14' To 'slave 2'
-> [Fafard:Slave:(4) 3.618502] [lua/INFO] Slave 'slave 2' processing Task 14
-> [Tremblay:Master:(1) 3.618502] [lua/INFO] Master done sending 'Task 14' To 'slave 2'
-> [Tremblay:Master:(1) 3.618502] [lua/INFO] Master sending  'Task 15' To 'slave 3'
-> [Ginette:Slave:(5) 3.898788] [lua/INFO] Slave 'slave 3': task Task 11 done
-> [Ginette:Slave:(5) 4.039247] [lua/INFO] Slave 'slave 3' processing Task 15
-> [Tremblay:Master:(1) 4.039247] [lua/INFO] Master done sending 'Task 15' To 'slave 3'
-> [Tremblay:Master:(1) 4.039247] [lua/INFO] Master sending  'Task 16' To 'slave 0'
-> [Jupiter:Slave:(3) 4.055691] [lua/INFO] Slave 'slave 1': task Task 13 done
-> [Bourassa:Slave:(2) 4.265485] [lua/INFO] Slave 'slave 0': task Task 12 done
-> [Fafard:Slave:(4) 4.273845] [lua/INFO] Slave 'slave 2': task Task 14 done
-> [Bourassa:Slave:(2) 4.481357] [lua/INFO] Slave 'slave 0' processing Task 16
-> [Tremblay:Master:(1) 4.481357] [lua/INFO] Master done sending 'Task 16' To 'slave 0'
-> [Tremblay:Master:(1) 4.481357] [lua/INFO] Master sending  'Task 17' To 'slave 1'
-> [Jupiter:Slave:(3) 4.647319] [lua/INFO] Slave 'slave 1' processing Task 17
-> [Tremblay:Master:(1) 4.647319] [lua/INFO] Master done sending 'Task 17' To 'slave 1'
-> [Tremblay:Master:(1) 4.647319] [lua/INFO] Master sending  'Task 18' To 'slave 2'
-> [Fafard:Slave:(4) 4.865472] [lua/INFO] Slave 'slave 2' processing Task 18
-> [Tremblay:Master:(1) 4.865472] [lua/INFO] Master done sending 'Task 18' To 'slave 2'
-> [Tremblay:Master:(1) 4.865472] [lua/INFO] Master sending  'Task 19' To 'slave 3'
-> [Ginette:Slave:(5) 5.070345] [lua/INFO] Slave 'slave 3': task Task 15 done
-> [Ginette:Slave:(5) 5.210805] [lua/INFO] Slave 'slave 3' processing Task 19
-> [Tremblay:Master:(1) 5.210805] [lua/INFO] Master done sending 'Task 19' To 'slave 3'
-> [Tremblay:Master:(1) 5.210805] [lua/INFO] Master sending  'Task 20' To 'slave 0'
-> [Jupiter:Slave:(3) 5.302662] [lua/INFO] Slave 'slave 1': task Task 17 done
-> [Bourassa:Slave:(2) 5.512455] [lua/INFO] Slave 'slave 0': task Task 16 done
-> [Fafard:Slave:(4) 5.520815] [lua/INFO] Slave 'slave 2': task Task 18 done
-> [Bourassa:Slave:(2) 5.728328] [lua/INFO] Slave 'slave 0' processing Task 20
-> [Tremblay:Master:(1) 5.728328] [lua/INFO] Master done sending 'Task 20' To 'slave 0'
-> [Tremblay:Master:(1) 5.728328] [lua/INFO] Master: All tasks have been dispatched. Let's tell everybody the computation is over.
-> [Tremblay:Master:(1) 5.728328] [lua/INFO] Master: sending finalize to slave 0
-> [Ginette:Slave:(5) 6.241903] [lua/INFO] Slave 'slave 3': task Task 19 done
-> [Bourassa:Slave:(2) 6.759426] [lua/INFO] Slave 'slave 0': task Task 20 done
-> [Bourassa:Slave:(2) 6.975298] [lua/INFO] Slave 'slave 0' got finalize msg
-> [Bourassa:Slave:(2) 6.975298] [lua/INFO] Slave 'slave 0': I'm Done . See You !!
-> [Tremblay:Master:(1) 6.975298] [lua/INFO] Master: sending finalize to slave 1
-> [Jupiter:Slave:(3) 7.141260] [lua/INFO] Slave 'slave 1' got finalize msg
-> [Jupiter:Slave:(3) 7.141260] [lua/INFO] Slave 'slave 1': I'm Done . See You !!
-> [Tremblay:Master:(1) 7.141260] [lua/INFO] Master: sending finalize to slave 2
-> [Fafard:Slave:(4) 7.359413] [lua/INFO] Slave 'slave 2' got finalize msg
-> [Fafard:Slave:(4) 7.359413] [lua/INFO] Slave 'slave 2': I'm Done . See You !!
-> [Tremblay:Master:(1) 7.359413] [lua/INFO] Master: sending finalize to slave 3
-> [Ginette:Slave:(5) 7.499872] [lua/INFO] Slave 'slave 3' got finalize msg
-> [Ginette:Slave:(5) 7.499872] [lua/INFO] Slave 'slave 3': I'm Done . See You !!
-> [Tremblay:Master:(1) 7.499872] [lua/INFO] Master: Everything's done.
-> [7.499872] [lua/INFO] Simulation's over.See you.
+> [Tremblay:Master:(1) 0.000000] [lua/INFO] Sending  'Task 1' to 'slave 1'
+> [Bourassa:Slave:(2) 0.000000] [lua/INFO] Hello from lua, I'm a poor slave with mailbox: slave 0
+> [Jupiter:Slave:(3) 0.000000] [lua/INFO] Hello from lua, I'm a poor slave with mailbox: slave 1
+> [Fafard:Slave:(4) 0.000000] [lua/INFO] Hello from lua, I'm a poor slave with mailbox: slave 2
+> [Ginette:Slave:(5) 0.000000] [lua/INFO] Hello from lua, I'm a poor slave with mailbox: slave 3
+> [Tremblay:Master:(1) 0.165962] [lua/INFO] Done sending 'Task 1' to 'slave 1'
+> [Tremblay:Master:(1) 0.165962] [lua/INFO] Sending  'Task 2' to 'slave 2'
+> [Jupiter:Slave:(3) 0.165962] [lua/INFO] Received task 'Task 1' on mailbox 'slave 1'
+> [Tremblay:Master:(1) 0.384115] [lua/INFO] Done sending 'Task 2' to 'slave 2'
+> [Tremblay:Master:(1) 0.384115] [lua/INFO] Sending  'Task 3' to 'slave 3'
+> [Fafard:Slave:(4) 0.384115] [lua/INFO] Received task 'Task 2' on mailbox 'slave 2'
+> [Tremblay:Master:(1) 0.524575] [lua/INFO] Done sending 'Task 3' to 'slave 3'
+> [Tremblay:Master:(1) 0.524575] [lua/INFO] Sending  'Task 4' to 'slave 0'
+> [Ginette:Slave:(5) 0.524575] [lua/INFO] Received task 'Task 3' on mailbox 'slave 3'
+> [Tremblay:Master:(1) 0.740447] [lua/INFO] Done sending 'Task 4' to 'slave 0'
+> [Tremblay:Master:(1) 0.740447] [lua/INFO] Sending  'Task 5' to 'slave 1'
+> [Bourassa:Slave:(2) 0.740447] [lua/INFO] Received task 'Task 4' on mailbox 'slave 0'
+> [Jupiter:Slave:(3) 0.821304] [lua/INFO] Task 'Task 1' is done
+> [Tremblay:Master:(1) 0.987266] [lua/INFO] Done sending 'Task 5' to 'slave 1'
+> [Tremblay:Master:(1) 0.987266] [lua/INFO] Sending  'Task 6' to 'slave 2'
+> [Jupiter:Slave:(3) 0.987266] [lua/INFO] Received task 'Task 5' on mailbox 'slave 1'
+> [Fafard:Slave:(4) 1.039457] [lua/INFO] Task 'Task 2' is done
+> [Tremblay:Master:(1) 1.257610] [lua/INFO] Done sending 'Task 6' to 'slave 2'
+> [Tremblay:Master:(1) 1.257610] [lua/INFO] Sending  'Task 7' to 'slave 3'
+> [Fafard:Slave:(4) 1.257610] [lua/INFO] Received task 'Task 6' on mailbox 'slave 2'
+> [Ginette:Slave:(5) 1.555672] [lua/INFO] Task 'Task 3' is done
+> [Jupiter:Slave:(3) 1.642608] [lua/INFO] Task 'Task 5' is done
+> [Tremblay:Master:(1) 1.696132] [lua/INFO] Done sending 'Task 7' to 'slave 3'
+> [Tremblay:Master:(1) 1.696132] [lua/INFO] Sending  'Task 8' to 'slave 0'
+> [Ginette:Slave:(5) 1.696132] [lua/INFO] Received task 'Task 7' on mailbox 'slave 3'
+> [Bourassa:Slave:(2) 1.771545] [lua/INFO] Task 'Task 4' is done
+> [Fafard:Slave:(4) 1.912953] [lua/INFO] Task 'Task 6' is done
+> [Tremblay:Master:(1) 1.987417] [lua/INFO] Done sending 'Task 8' to 'slave 0'
+> [Tremblay:Master:(1) 1.987417] [lua/INFO] Sending  'Task 9' to 'slave 1'
+> [Bourassa:Slave:(2) 1.987417] [lua/INFO] Received task 'Task 8' on mailbox 'slave 0'
+> [Tremblay:Master:(1) 2.153379] [lua/INFO] Done sending 'Task 9' to 'slave 1'
+> [Tremblay:Master:(1) 2.153379] [lua/INFO] Sending  'Task 10' to 'slave 2'
+> [Jupiter:Slave:(3) 2.153379] [lua/INFO] Received task 'Task 9' on mailbox 'slave 1'
+> [Tremblay:Master:(1) 2.371532] [lua/INFO] Done sending 'Task 10' to 'slave 2'
+> [Tremblay:Master:(1) 2.371532] [lua/INFO] Sending  'Task 11' to 'slave 3'
+> [Fafard:Slave:(4) 2.371532] [lua/INFO] Received task 'Task 10' on mailbox 'slave 2'
+> [Ginette:Slave:(5) 2.727230] [lua/INFO] Task 'Task 7' is done
+> [Jupiter:Slave:(3) 2.808721] [lua/INFO] Task 'Task 9' is done
+> [Tremblay:Master:(1) 2.867690] [lua/INFO] Done sending 'Task 11' to 'slave 3'
+> [Tremblay:Master:(1) 2.867690] [lua/INFO] Sending  'Task 12' to 'slave 0'
+> [Ginette:Slave:(5) 2.867690] [lua/INFO] Received task 'Task 11' on mailbox 'slave 3'
+> [Bourassa:Slave:(2) 3.018515] [lua/INFO] Task 'Task 8' is done
+> [Fafard:Slave:(4) 3.026874] [lua/INFO] Task 'Task 10' is done
+> [Tremblay:Master:(1) 3.234387] [lua/INFO] Done sending 'Task 12' to 'slave 0'
+> [Tremblay:Master:(1) 3.234387] [lua/INFO] Sending  'Task 13' to 'slave 1'
+> [Bourassa:Slave:(2) 3.234387] [lua/INFO] Received task 'Task 12' on mailbox 'slave 0'
+> [Tremblay:Master:(1) 3.400349] [lua/INFO] Done sending 'Task 13' to 'slave 1'
+> [Tremblay:Master:(1) 3.400349] [lua/INFO] Sending  'Task 14' to 'slave 2'
+> [Jupiter:Slave:(3) 3.400349] [lua/INFO] Received task 'Task 13' on mailbox 'slave 1'
+> [Tremblay:Master:(1) 3.618502] [lua/INFO] Done sending 'Task 14' to 'slave 2'
+> [Tremblay:Master:(1) 3.618502] [lua/INFO] Sending  'Task 15' to 'slave 3'
+> [Fafard:Slave:(4) 3.618502] [lua/INFO] Received task 'Task 14' on mailbox 'slave 2'
+> [Ginette:Slave:(5) 3.898788] [lua/INFO] Task 'Task 11' is done
+> [Tremblay:Master:(1) 4.039247] [lua/INFO] Done sending 'Task 15' to 'slave 3'
+> [Tremblay:Master:(1) 4.039247] [lua/INFO] Sending  'Task 16' to 'slave 0'
+> [Ginette:Slave:(5) 4.039247] [lua/INFO] Received task 'Task 15' on mailbox 'slave 3'
+> [Jupiter:Slave:(3) 4.055691] [lua/INFO] Task 'Task 13' is done
+> [Bourassa:Slave:(2) 4.265485] [lua/INFO] Task 'Task 12' is done
+> [Fafard:Slave:(4) 4.273845] [lua/INFO] Task 'Task 14' is done
+> [Tremblay:Master:(1) 4.481357] [lua/INFO] Done sending 'Task 16' to 'slave 0'
+> [Tremblay:Master:(1) 4.481357] [lua/INFO] Sending  'Task 17' to 'slave 1'
+> [Bourassa:Slave:(2) 4.481357] [lua/INFO] Received task 'Task 16' on mailbox 'slave 0'
+> [Tremblay:Master:(1) 4.647319] [lua/INFO] Done sending 'Task 17' to 'slave 1'
+> [Tremblay:Master:(1) 4.647319] [lua/INFO] Sending  'Task 18' to 'slave 2'
+> [Jupiter:Slave:(3) 4.647319] [lua/INFO] Received task 'Task 17' on mailbox 'slave 1'
+> [Tremblay:Master:(1) 4.865472] [lua/INFO] Done sending 'Task 18' to 'slave 2'
+> [Tremblay:Master:(1) 4.865472] [lua/INFO] Sending  'Task 19' to 'slave 3'
+> [Fafard:Slave:(4) 4.865472] [lua/INFO] Received task 'Task 18' on mailbox 'slave 2'
+> [Ginette:Slave:(5) 5.070345] [lua/INFO] Task 'Task 15' is done
+> [Tremblay:Master:(1) 5.210805] [lua/INFO] Done sending 'Task 19' to 'slave 3'
+> [Tremblay:Master:(1) 5.210805] [lua/INFO] Sending  'Task 20' to 'slave 0'
+> [Ginette:Slave:(5) 5.210805] [lua/INFO] Received task 'Task 19' on mailbox 'slave 3'
+> [Jupiter:Slave:(3) 5.302662] [lua/INFO] Task 'Task 17' is done
+> [Bourassa:Slave:(2) 5.512455] [lua/INFO] Task 'Task 16' is done
+> [Fafard:Slave:(4) 5.520815] [lua/INFO] Task 'Task 18' is done
+> [Tremblay:Master:(1) 5.728328] [lua/INFO] Done sending 'Task 20' to 'slave 0'
+> [Tremblay:Master:(1) 5.728328] [lua/INFO] All tasks have been dispatched. Let's tell everybody the computation is over.
+> [Tremblay:Master:(1) 5.728328] [lua/INFO] Sending finalize to 'slave 0'
+> [Bourassa:Slave:(2) 5.728328] [lua/INFO] Received task 'Task 20' on mailbox 'slave 0'
+> [Ginette:Slave:(5) 6.241903] [lua/INFO] Task 'Task 19' is done
+> [Bourassa:Slave:(2) 6.759426] [lua/INFO] Task 'Task 20' is done
+> [Tremblay:Master:(1) 6.975298] [lua/INFO] Sending finalize to 'slave 1'
+> [Bourassa:Slave:(2) 6.975298] [lua/INFO] Got finalize message
+> [Bourassa:Slave:(2) 6.975298] [lua/INFO] I'm done. See you!
+> [Tremblay:Master:(1) 7.141260] [lua/INFO] Sending finalize to 'slave 2'
+> [Jupiter:Slave:(3) 7.141260] [lua/INFO] Got finalize message
+> [Jupiter:Slave:(3) 7.141260] [lua/INFO] I'm done. See you!
+> [Tremblay:Master:(1) 7.359413] [lua/INFO] Sending finalize to 'slave 3'
+> [Fafard:Slave:(4) 7.359413] [lua/INFO] Got finalize message
+> [Fafard:Slave:(4) 7.359413] [lua/INFO] I'm done. See you!
+> [Tremblay:Master:(1) 7.499872] [lua/INFO] Everything's done.
+> [Ginette:Slave:(5) 7.499872] [lua/INFO] Got finalize message
+> [Ginette:Slave:(5) 7.499872] [lua/INFO] I'm done. See you!
+> [7.499872] [lua/INFO] Simulation's over. See you.
index 19ebf50..8ef9d4b 100644 (file)
@@ -2,7 +2,7 @@
   --create new routing model
   --simgrid.AS.new(AS_id,AS_mode)
   simgrid.AS.new{id="AS0",mode="Full"}; 
-  --simgrid.Host.new(host_id,power)
+  --simgrid.host.new(host_id,power)
   simgrid.AS.addHost{AS="AS0",id="Tremblay",power=98095000};
   simgrid.AS.addHost{AS="AS0",id="Jupiter",power=76296000};
   simgrid.AS.addHost{AS="AS0",id="Fafard",power=76296000};
@@ -13,7 +13,7 @@
   for i=10,0,-1 do
     simgrid.AS.addLink{AS="AS0",id=i,bandwidth=252750+ i*768,latency=0.000270544+i*0.087};  
   end
-  -- simgrid.Route.new(src_id,des_id,links_nb,links_list)
+  -- simgrid.route.new(src_id,des_id,links_nb,links_list)
    simgrid.AS.addRoute{AS="AS0",src="Tremblay",dest="Jupiter",links="1"};
    simgrid.AS.addRoute{AS="AS0",src="Tremblay",dest="Fafard",links="0,1,2,3,4,8"};
    simgrid.AS.addRoute{AS="AS0",src="Tremblay",dest="Ginette",links="3,4,5"};
index 9ecddc6..f2b8a12 100644 (file)
@@ -1,26 +1,25 @@
-
-
--- Slave Function ---------------------------------------------------------
 function Slave(...)
 
-local my_mailbox="slave "..arg[1]
-simgrid.info("Hello from lua, I'm a poor slave with mbox: "..my_mailbox)
+  if #arg ~= 1 then
+    error("Wrong number of arguments (got " .. #arg .. ", expected 1: slave_id)")
+  end
 
+  local my_mailbox = "slave " .. arg[1]
+  simgrid.info("Hello from lua, I'm a poor slave with mailbox: " .. my_mailbox)
 
-while true do
+  while true do
 
-  local tk = simgrid.Task.recv(my_mailbox);
-  if (simgrid.Task.name(tk) == "finalize") then
-    simgrid.info("Slave '" ..my_mailbox.."' got finalize msg");
-    break
+    local task = simgrid.task.recv(my_mailbox)
+    local task_name = task:get_name()
+    if (task_name == "finalize") then
+      simgrid.info("Got finalize message")
+      break
+    end
+    simgrid.info("Received task '" .. task_name .. "' on mailbox '" .. my_mailbox .. "'")
+    task:execute()
+    simgrid.info("Task '" .. task_name .. "' is done")
   end
-  --local tk_name = simgrid.Task.name(tk) 
-  simgrid.info("Slave '" ..my_mailbox.."' processing "..simgrid.Task.name(tk))
-  simgrid.Task.execute(tk)
-  simgrid.info("Slave '" ..my_mailbox.."': task "..simgrid.Task.name(tk) .. " done")
-end -- while
 
-simgrid.info("Slave '" ..my_mailbox.."': I'm Done . See You !!");
+  simgrid.info("I'm done. See you!")
+end -- Slave
 
-end 
--- end_of_slave
diff --git a/examples/lua/mult_matrix.lua b/examples/lua/mult_matrix.lua
deleted file mode 100644 (file)
index afe53bf..0000000
+++ /dev/null
@@ -1,99 +0,0 @@
-function Sender(...) 
-
-       simgrid.info("Hello From Sender")
-       receiver = simgrid.Host.getByName(arg[1])
-       task_comp = arg[2]
-       task_comm = arg[3]
-       rec_alias = arg[4]
-       
-       size = 4
-       m1 = mkmatrix(size, size)
-        m2 = mkmatrix(size, size)      
-
-       if (#arg ~= 4) then
-           error("Argc should be 4");
-       end
-       simgrid.info("Argc="..(#arg).." (should be 4)")
-
-       -- Sending Task
-       task = simgrid.Task.new("matrix_task",task_comp,task_comm);
-       task['matrix_1'] = m1;
-       task['matrix_2'] = m2;
-       task['size'] = size;
-       simgrid.info("Sending "..simgrid.Task.name(task).." to "..simgrid.Host.name(receiver));
-       simgrid.Task.send(task,rec_alias);
-       -- Read The Result 
-       mm = task['matrix_res']
-       simgrid.info("Got the Multiplication result ...Bye");
-       --mprint(size,size,mm);
-
-end
-------------------------------------------------------
-function Receiver(...)
-       
-       simgrid.info("Hello From Receiver")
-       sender = simgrid.Host.getByName(arg[1])
-       send_alias = arg[2]
-       recv_alias = "Receiver";
-       simgrid.info("Receiving Task from "..simgrid.Host.name(sender));
-       task = simgrid.Task.recv(recv_alias);
-       mm = mmult(task['size'],task['size'],task['matrix_1'],task['matrix_2']);
-       --mprint(task['size'],task['size'],mm)
-       task['matrix_res'] = mm;
-       simgrid.info("Calcul is done ... Bye");
-
-
-end
------------------------------------------------------
-
-local n = tonumber((arg and arg[1]) or 1)
-
-
-
-function mkmatrix(rows, cols)
-    local count = 1
-    local mx = {}
-    for i=0,(rows - 1) do
-    local row = {}
-    for j=0,(cols - 1) do
-        row[j] = count
-        count = count + 1
-    end
-    mx[i] = row
-    end
-    return(mx)
-end
-
-function mmult(rows, cols, m1, m2)
-    local m3 = {}
-    for i=0,(rows-1) do
-        m3[i] = {}
-        for j=0,(cols-1) do
-            local rowj = 0
-            for k=0,(cols-1) do
-                rowj = rowj + m1[i][k] * m2[k][j]
-            end
-            m3[i][j] = rowj
-        end
-    end
-    return(m3)
-end
-
-function mprint(rows,cols,m)
- for i=0,(cols-1)do
-       for j=0,(rows-1)do
-               print (m[i][j])
-       end
- end
-end
-
-
---end
-require "simgrid"
-simgrid.platform("quicksort_platform.xml")
-simgrid.application("quicksort_deployment.xml")
-simgrid.run()
-simgrid.info("Simulation's over.See you.")
-simgrid.clean()
-
-
index ec81ed5..9700b76 100644 (file)
@@ -1,11 +1,9 @@
 dofile 'sender.lua'
 dofile 'receiver.lua'
 require "simgrid"
+
 simgrid.platform("quicksort_platform.xml")
 simgrid.application("quicksort_deployment.xml")
 simgrid.run()
 simgrid.info("Simulation's over.See you.")
-simgrid.clean()
-
-
 
index aa1978d..e771b7a 100644 (file)
@@ -1,54 +1,52 @@
-------------------------------------------------------
 function Receiver(...)
-       
-       simgrid.info("Hello From Receiver")
-       sender = simgrid.Host.getByName(arg[1])
-       send_alias = arg[2]
-       recv_alias = "Receiver";
-       simgrid.info("Receiving Task from "..simgrid.Host.name(sender));
-       task = simgrid.Task.recv(recv_alias);
-       mm = mmult(task['size'],task['size'],task['matrix_1'],task['matrix_2']);
-       --mprint(task['size'],task['size'],mm)
-       task['matrix_res'] = mm;
-       simgrid.info("Calcul is done ... Bye");
-
 
+  simgrid.info("Hello From Receiver")
+  local sender = simgrid.host.get_by_name(arg[1])
+  local send_alias = arg[2]
+  local recv_alias = "Receiver"
+  simgrid.info("Receiving Task from " .. simgrid.host.name(sender))
+  local task = simgrid.task.recv(recv_alias)
+  local mm = mmult(task['size'], task['size'], task['matrix_1'], task['matrix_2'])
+  --mprint(task['size'], task['size'], mm)
+  task['matrix_res'] = mm
+  simgrid.info("Calcul is done ... Bye")
 end
 
 local n = tonumber((arg and arg[1]) or 1)
 function mkmatrix(rows, cols)
-    local count = 1
-    local mx = {}
-    for i=0,(rows - 1) do
+  local count = 1
+  local mx = {}
+  for i = 0, (rows - 1) do
     local row = {}
-    for j=0,(cols - 1) do
-        row[j] = count
-        count = count + 1
+    for j = 0, (cols - 1) do
+      row[j] = count
+      count = count + 1
     end
     mx[i] = row
-    end
-    return(mx)
+  end
+  return mx
 end
 
 function mmult(rows, cols, m1, m2)
-    local m3 = {}
-    for i=0,(rows-1) do
-        m3[i] = {}
-        for j=0,(cols-1) do
-            local rowj = 0
-            for k=0,(cols-1) do
-                rowj = rowj + m1[i][k] * m2[k][j]
-            end
-            m3[i][j] = rowj
-        end
+  local m3 = {}
+  for i = 0, (rows - 1) do
+    m3[i] = {}
+    for j = 0, (cols - 1) do
+      local rowj = 0
+      for k = 0, (cols - 1) do
+       rowj = rowj + m1[i][k] * m2[k][j]
+      end
+      m3[i][j] = rowj
     end
-    return(m3)
+  end
+  return m3
 end
 
-function mprint(rows,cols,m)
for i=0,(cols-1)do
-       for j=0,(rows-1)do
-               print (m[i][j])
-       end
- end
+function mprint(rows, cols, m)
 for i = 0, (cols - 1) do
+    for j = 0, (rows - 1 )do
+      print(m[i][j])
+    end
 end
 end
+
index 7dfe0f3..dfd1ae8 100644 (file)
@@ -1,30 +1,27 @@
 function Sender(...) 
 
-       simgrid.info("Hello From Sender")
-       receiver = simgrid.Host.getByName(arg[1])
-       task_comp = arg[2]
-       task_comm = arg[3]
-       rec_alias = arg[4]
-       
-       size = 4
-       m1 = mkmatrix(size, size)
-        m2 = mkmatrix(size, size)      
+  simgrid.info("Hello From Sender")
+  local receiver = simgrid.host.get_by_name(arg[1])
+  local task_comp = arg[2]
+  local task_comm = arg[3]
+  local rec_alias = arg[4]
 
-       if (#arg ~= 4) then
-           error("Argc should be 4");
-       end
-       simgrid.info("Argc="..(#arg).." (should be 4)")
+  local size = 4
+  local m1 = mkmatrix(size, size)
+  local m2 = mkmatrix(size, size)
 
-       -- Sending Task
-       task = simgrid.Task.new("matrix_task",task_comp,task_comm);
-       task['matrix_1'] = m1;
-       task['matrix_2'] = m2;
-       task['size'] = size;
-       simgrid.info("Sending "..simgrid.Task.name(task).." to "..simgrid.Host.name(receiver));
-       simgrid.Task.send(task,rec_alias);
-       -- Read The Result 
-       mm = task['matrix_res']
-       simgrid.info("Got the Multiplication result ...Bye");
-       --mprint(size,size,mm);
+  if #arg ~= 4 then
+    error("Argc should be 4")
+  end
+  simgrid.info("Argc=" .. (#arg) .. " (should be 4)")
 
+  -- Sending Task
+  local task = simgrid.task.new("matrix_task", task_comp, task_comm)
+  task['matrix_1'] = m1
+  task['matrix_2'] = m2
+  task['size'] = size
+  simgrid.info("Sending " .. simgrid.task.get_name(task) .. " to " .. simgrid.host.name(receiver))
+  simgrid.task.send(task, rec_alias)
+  simgrid.info("Got the Multiplication result ...Bye")
 end
+
index 38765ca..04951c3 100644 (file)
@@ -19,11 +19,11 @@ simgrid.info("Argc="..(#arg).." (should be 4)")
 -- Dispatch the tasks
 
 for i=1,nb_task do
-  tk = simgrid.Task.new("Task "..i,comp_size,comm_size);
+  tk = simgrid.task.new("Task "..i,comp_size,comm_size);
   alias = "slave "..(i%slave_count);
-  simgrid.info("Master sending  '" .. simgrid.Task.name(tk) .."' To '" .. alias .."'");
-  simgrid.Task.send(tk,alias); -- C user data set to NULL
-  simgrid.info("Master done sending '".. simgrid.Task.name(tk) .."' To '" .. alias .."'");
+  simgrid.info("Master sending  '" .. simgrid.task.get_name(tk) .."' To '" .. alias .."'");
+  simgrid.task.send(tk,alias); -- C user data set to NULL
+  simgrid.info("Master done sending '".. simgrid.task.get_name(tk) .."' To '" .. alias .."'");
 end
 
 -- Sending Finalize Message To Others
@@ -32,8 +32,8 @@ simgrid.info("Master: All tasks have been dispatched. Let's tell everybody the c
 for i=0,slave_count-1 do
   alias = "slave "..i;
   simgrid.info("Master: sending finalize to "..alias);
-  finalize = simgrid.Task.new("finalize",comp_size,comm_size);
-  simgrid.Task.send(finalize,alias)
+  finalize = simgrid.task.new("finalize",comp_size,comm_size);
+  simgrid.task.send(finalize,alias)
 end
   simgrid.info("Master: Everything's done.");
 end
index 555d940..e188572 100644 (file)
@@ -6,15 +6,15 @@ simgrid.info("Hello from lua, I'm a poor slave with mbox: "..my_mailbox)
 
 while true do
 
-  local tk = simgrid.Task.recv(my_mailbox);
-  if (simgrid.Task.name(tk) == "finalize") then
+  local tk = simgrid.task.recv(my_mailbox);
+  if (simgrid.task.get_name(tk) == "finalize") then
     simgrid.info("Slave '" ..my_mailbox.."' got finalize msg");
     break
   end
-  --local tk_name = simgrid.Task.name(tk) 
-  simgrid.info("Slave '" ..my_mailbox.."' processing "..simgrid.Task.name(tk))
-  simgrid.Task.execute(tk)
-  simgrid.info("Slave '" ..my_mailbox.."': task "..simgrid.Task.name(tk) .. " done")
+  --local tk_name = simgrid.task.get_name(tk) 
+  simgrid.info("Slave '" ..my_mailbox.."' processing "..simgrid.task.get_name(tk))
+  simgrid.task.execute(tk)
+  simgrid.info("Slave '" ..my_mailbox.."': task "..simgrid.task.get_name(tk) .. " done")
 end -- while
 
 simgrid.info("Slave '" ..my_mailbox.."': I'm Done . See You !!");