${CMAKE_CURRENT_SOURCE_DIR}/get_sender_p.xml
${CMAKE_CURRENT_SOURCE_DIR}/pid_d.xml
${CMAKE_CURRENT_SOURCE_DIR}/pid_p.xml
- ${CMAKE_CURRENT_SOURCE_DIR}/host_on_off.xml
- ${CMAKE_CURRENT_SOURCE_DIR}/task_destroy_cancel.xml
+ ${CMAKE_CURRENT_SOURCE_DIR}/host_on_off_d.xml
+ ${CMAKE_CURRENT_SOURCE_DIR}/host_on_off_p.xml
+ ${CMAKE_CURRENT_SOURCE_DIR}/task_destroy_cancel_d.xml
+ ${CMAKE_CURRENT_SOURCE_DIR}/task_destroy_cancel_p.xml
PARENT_SCOPE
)
set(teshsuite_src
const char *application_file;
MSG_init(&argc, argv);
- if (argc < 2) {
+ if (argc != 3) {
printf("Usage: %s platform_file deployment_file\n", argv[0]);
printf("example: %s msg_platform.xml msg_deployment.xml\n", argv[0]);
exit(1);
}
platform_file = argv[1];
- application_file = argv[1];
+ application_file = argv[2];
/* MSG_config("workstation/model","KCCFLN05"); */
{ /* Simulation setting */
-$ msg/host_on_off ${srcdir:=.}/msg/host_on_off.xml
+$ msg/host_on_off ${srcdir:=.}/msg/host_on_off_p.xml ${srcdir:=.}/msg/host_on_off_d.xml
> [Tremblay:master:(1) 0.000000] [msg_test/INFO] Sending "task on"
> [Jupiter:slave:(2) 0.682345] [msg_test/INFO] Task "task on" done
> [Tremblay:master:(1) 1.027003] [msg_test/INFO] Sending "task off"
--- /dev/null
+<?xml version='1.0'?>
+<!DOCTYPE platform SYSTEM "http://simgrid.gforge.inria.fr/simgrid.dtd">
+<platform version="3">
+ <!-- The master process (with some arguments) -->
+ <process host="Tremblay" function="master">
+ </process>
+
+ <!-- The slave processes (with mailbox to listen on as argument) -->
+ <process host="Jupiter" function="slave">
+ </process>
+</platform>
<link_ctn id="1"/>
</route>
</AS>
-
- <!-- The master process (with some arguments) -->
- <process host="Tremblay" function="master">
- </process>
-
- <!-- The slave processes (with mailbox to listen on as argument) -->
- <process host="Jupiter" function="slave">
- </process>
- </platform>
\ No newline at end of file
+</platform>
const char *application_file;
MSG_init(&argc, argv);
- if (argc < 2) {
+ if (argc != 3) {
printf("Usage: %s platform_file deployment_file\n", argv[0]);
printf("example: %s msg_platform.xml msg_deployment.xml\n", argv[0]);
exit(1);
}
platform_file = argv[1];
- application_file = argv[1];
+ application_file = argv[2];
/* MSG_config("workstation/model","KCCFLN05"); */
{ /* Simulation setting */
-$ msg/task_destroy_cancel ${srcdir:=.}/msg/task_destroy_cancel.xml
+$ msg/task_destroy_cancel ${srcdir:=.}/msg/task_destroy_cancel_p.xml ${srcdir:=.}/msg/task_destroy_cancel_d.xml
> [Tremblay:master:(1) 0.000000] [msg_test/INFO] Sending task: "normal"
> [Jupiter:slave:(2) 0.027003] [msg_test/INFO] Handling task "normal"
> [Tremblay:master:(1) 0.027003] [msg_test/INFO] Canceling task "cancel directly" directly
--- /dev/null
+<?xml version='1.0'?>
+<!DOCTYPE platform SYSTEM "http://simgrid.gforge.inria.fr/simgrid.dtd">
+<platform version="3">
+ <!-- The master process (with some arguments) -->
+ <process host="Tremblay" function="master">
+ </process>
+
+ <!-- The slave processes (with mailbox to listen on as argument) -->
+ <process host="Jupiter" function="slave">
+ </process>
+</platform>
<link_ctn id="1"/>
</route>
</AS>
-
- <!-- The master process (with some arguments) -->
- <process host="Tremblay" function="master">
- </process>
-
- <!-- The slave processes (with mailbox to listen on as argument) -->
- <process host="Jupiter" function="slave">
- </process>
- </platform>
\ No newline at end of file
+</platform>