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
Add some tests about cbps
[simgrid.git]
/
testsuite
/
xbt
/
log_usage.c
diff --git
a/testsuite/xbt/log_usage.c
b/testsuite/xbt/log_usage.c
index
e2a277a
..
26679d4
100644
(file)
--- a/
testsuite/xbt/log_usage.c
+++ b/
testsuite/xbt/log_usage.c
@@
-41,10
+41,10
@@
GRAS_LOG_NEW_DEFAULT_SUBCATEGORY(Test, Top);
GRAS_LOG_NEW_CATEGORY(Top);
int main(int argc, char **argv) {
GRAS_LOG_NEW_CATEGORY(Top);
int main(int argc, char **argv) {
- gras_init_defaultlog(argc,argv,"root.thresh=debug log.thresh=debug");
+ gras_init_defaultlog(
&
argc,argv,"root.thresh=debug log.thresh=debug");
DEBUG1("val=%d", 1);
DEBUG1("val=%d", 1);
- WARN
ING
1("val=%d", 2);
+ WARN1("val=%d", 2);
CDEBUG2(Top, "val=%d%s", 3, "!");
CRITICAL6("false alarm%s%s%s%s%s%s", "","","","","","!");
CDEBUG2(Top, "val=%d%s", 3, "!");
CRITICAL6("false alarm%s%s%s%s%s%s", "","","","","","!");