A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove useless \n in DEBUG messages.
[simgrid.git]
/
testsuite
/
surf
/
surf_usage2.c
diff --git
a/testsuite/surf/surf_usage2.c
b/testsuite/surf/surf_usage2.c
index
0a1f0ab
..
891dfb2
100644
(file)
--- a/
testsuite/surf/surf_usage2.c
+++ b/
testsuite/surf/surf_usage2.c
@@
-64,10
+64,10
@@
void test(char *platform)
surf_workstation_model->common_public->name_service("Cpu B");
/* Let's check that those two processors exist */
surf_workstation_model->common_public->name_service("Cpu B");
/* Let's check that those two processors exist */
- DEBUG2("%s : %p
\n
",
+ DEBUG2("%s : %p",
surf_workstation_model->common_public->
get_resource_name(workstationA), workstationA);
surf_workstation_model->common_public->
get_resource_name(workstationA), workstationA);
- DEBUG2("%s : %p
\n
",
+ DEBUG2("%s : %p",
surf_workstation_model->common_public->
get_resource_name(workstationB), workstationB);
surf_workstation_model->common_public->
get_resource_name(workstationB), workstationB);
@@
-93,26
+93,26
@@
void test(char *platform)
surf_model_t model = NULL;
now = surf_get_clock();
surf_model_t model = NULL;
now = surf_get_clock();
- DEBUG1("Next Event :
" "%g" "\n
", now);
+ DEBUG1("Next Event :
%g
", now);
xbt_dynar_foreach(model_list, iter, model) {
xbt_dynar_foreach(model_list, iter, model) {
- DEBUG1("\t %s actions
\n
", model->common_public->name);
+ DEBUG1("\t %s actions", model->common_public->name);
while ((action =
xbt_swag_extract(model->common_public->states.
failed_action_set))) {
while ((action =
xbt_swag_extract(model->common_public->states.
failed_action_set))) {
- DEBUG1("\t * Failed : %p
\n
", action);
+ DEBUG1("\t * Failed : %p", action);
model->common_public->action_free(action);
}
while ((action =
xbt_swag_extract(model->common_public->states.
done_action_set))) {
model->common_public->action_free(action);
}
while ((action =
xbt_swag_extract(model->common_public->states.
done_action_set))) {
- DEBUG1("\t * Done : %p
\n
", action);
+ DEBUG1("\t * Done : %p", action);
model->common_public->action_free(action);
}
}
} while (surf_solve()>=0.0);
model->common_public->action_free(action);
}
}
} while (surf_solve()>=0.0);
- DEBUG0("Simulation Terminated
\n
");
+ DEBUG0("Simulation Terminated");
}
}