Implemented test log IPC.
authorTim Janik <timj@src.gnome.org>
Tue, 20 Nov 2007 15:00:45 +0000 (15:00 +0000)
committerTim Janik <timj@src.gnome.org>
Tue, 20 Nov 2007 15:00:45 +0000 (15:00 +0000)
commit22ac72234a8ce3f543848d8a7508b95115dc75a7
treea552806316066ec8033e72bc4a02eb67d3b0f9e2
parentadd119f8e1e3c42d3b17de52509b30d7a3f49f7c
Implemented test log IPC.

* gtester.c: read and decode log messages from test binary child processes.
fixed GIOChannel and child watch handling to process all messages and avoid
hangs. pass --verbose and --quiet on to children, default to --quiet.

* gtestframework.h: export g_test_log_type_name().

* gtestframework.c: send test log to --GTestLogFD=<fd> if given, removed
bogus -o-option.

svn path=/trunk/; revision=5898
glib/gtester.c
glib/gtestframework.c
glib/gtestframework.h