Re: [notmuch] [PATCH] notmuch-new: Eliminate tallocs whilst construct filenames.

Subject: Re: [notmuch] [PATCH] notmuch-new: Eliminate tallocs whilst construct filenames.

Date: Fri, 27 Nov 2009 23:58:02 -0600

To: Carl Worth

Cc: notmuch

From: Jeffrey Ollie


On Fri, Nov 27, 2009 at 11:41 PM, Carl Worth <cworth@cworth.org> wrote:
>
> But yes, we need a test suite.

I have zero experience, but Check[1] looks interesting.

> Oh, and we'll also need to deal with remaining glib usage inside of
> notmuch, (and inside of GMime as well), before we can do good testing
> for memory-fault injection. Maybe what we'll end up with is a patch to
> de-glib-ify GMime? I'm not sure.

Rather than de-glib-ify'ing GMime wouldn't it be better to find a non
glib-based library for MIME processing?  I do most of my development
in Python these days so I don't know of any examples.  My googling
turned up several C++ libraries or c-client and I wouldn't want to go
down either of those paths.

[1] http://check.sourceforge.net/

-- 
Jeff Ollie

Thread: