]> git.ozlabs.org Git - petitboot/commitdiff
test/parser: Enable logging to stdout
authorJeremy Kerr <jk@ozlabs.org>
Thu, 26 Sep 2013 07:45:15 +0000 (15:45 +0800)
committerJeremy 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

index 0fdafb444ed88091cd7c0df7cfa1c6a6273d9292..25930a5ea6e479d26511565a04499a00c68ab093 100644 (file)
@@ -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();