mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-12-29 12:51:43 +01:00
971cdc72cd
We largely use the corpus under test/corpus for testing. Unfortunately, many of our tests have grown to depend on having exactly this set of messages, making it hard to add new message files for testing specific cases. We do use a lot of add_message from within the tests, but it's not possible to use that for adding broken messages, and adding several messages at once can get unwieldy. Move the basic corpus under tests/corpora/default, and make it possible to add new, independent corpora along its side. This means tons of renames with a few tweaks to add_email_corpus function in test-lib.sh to let tests specify which corpus to use.
25 lines
1.2 KiB
Text
25 lines
1.2 KiB
Text
From: "Alexander Botero-Lowry" <alex.boterolowry@gmail.com>
|
|
To: notmuch@notmuchmail.org
|
|
Date: Tue, 17 Nov 2009 22:19:29 -0800
|
|
Subject: [notmuch] Mac OS X/Darwin compatibility issues
|
|
In-Reply-To: <ddd65cda0911172214t60d22b63hcfeb5a19ab54a39b@mail.gmail.com>
|
|
References: <ddd65cda0911171950o4eea4389v86de9525e46052d3@mail.gmail.com>
|
|
<86einw2xof.fsf@fortitudo.i-did-not-set--mail-host-address--so-tickle-me>
|
|
<ddd65cda0911172214t60d22b63hcfeb5a19ab54a39b@mail.gmail.com>
|
|
Message-ID: <86d43g2w3y.fsf@fortitudo.i-did-not-set--mail-host-address--so-tickle-me>
|
|
|
|
On Wed, 18 Nov 2009 14:14:27 +0800, Jjgod Jiang <gzjjgod at gmail.com> wrote:
|
|
> Hi,
|
|
>
|
|
> On Wed, Nov 18, 2009 at 1:45 PM, Alexander Botero-Lowry
|
|
> <alex.boterolowry at gmail.com> wrote:
|
|
> > for getline do you mind trying #define _GNU_SOURCE 1
|
|
> > before #include <stdio.h> in the offending files? The FreeBSD man pages
|
|
> > mentions that as a way of enabling the GNU version of getline().
|
|
>
|
|
> It seems even _GNU_SOURCE is defined, getline is still not present.
|
|
> the C lib in Mac OS X simply doesn't have it. See also [1].
|
|
>
|
|
Alas. Since it's ostensibly based on the FreeBSD one, I figured there
|
|
was a chance that would fix the problem. :/
|
|
|