[patch] system activation 4

Richard Hughes hughsient at gmail.com
Thu Jun 28 16:11:42 PDT 2007

On Thu, 2007-06-28 at 14:28 -0400, Havoc Pennington wrote:
> I think the easiest approach to this is to build two binaries; IOW split 
> into three files:
>   - production main()
>   - a main() that runs in 'make check' (just a binary in TESTS)
>   - run_launch_helper()


> You could also put any other assorted random unit tests in the 'make 
> check' binary, if that's useful.

Yes, a memcheck was a good idea, as I found 2 memory leaks in the
trivial parser when in OOM mode!

> You could just stick the 'make check' stuff in the existing bus-test 
> binary, except for the conflicting symbols for the two XML parsers, 
> which ends up requiring a separate binary I would think.


Mega-patch attached, there's a few things we still need to change but
it's nearly there. Yell if I've missed something.



-------------- next part --------------
A non-text attachment was scrubbed...
Name: dbus-system-activation.patch
Type: text/x-patch
Size: 144126 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/dbus/attachments/20070629/506a2a8d/attachment-0001.bin 

More information about the dbus mailing list