projects
/
petitboot
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d8811f2
)
test/parser: Enable logging to stdout
author
Jeremy Kerr
<jk@ozlabs.org>
Thu, 26 Sep 2013 07:45:15 +0000
(15:45 +0800)
committer
Jeremy Kerr
<jk@ozlabs.org>
Thu, 26 Sep 2013 07:45:15 +0000
(15:45 +0800)
We may as well show the logs while testing.
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
test/parser/main.c
patch
|
blob
|
history
diff --git
a/test/parser/main.c
b/test/parser/main.c
index 0fdafb444ed88091cd7c0df7cfa1c6a6273d9292..25930a5ea6e479d26511565a04499a00c68ab093 100644
(file)
--- a/
test/parser/main.c
+++ b/
test/parser/main.c
@@
-1,5
+1,6
@@
#include <talloc/talloc.h>
+#include <log/log.h>
#include "parser-test.h"
@@
-10,6
+11,7
@@
extern void run_test(struct parser_test *test);
int main(void)
{
struct parser_test *test;
+ pb_log_init(stdout);
test = test_init();