--- /dev/null
+Return-Path: <jf.hyqohaczlksw4tx6ae@l2015aftruuq.dns007.net>\r
+X-Original-To: notmuch@notmuchmail.org\r
+Delivered-To: notmuch@notmuchmail.org\r
+Received: from localhost (localhost [127.0.0.1])\r
+ by arlo.cworth.org (Postfix) with ESMTP id 448A66DE12F3\r
+ for <notmuch@notmuchmail.org>; Wed, 6 Jan 2016 05:51:27 -0800 (PST)\r
+X-Virus-Scanned: Debian amavisd-new at cworth.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: 0.288\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=0.288 tagged_above=-999 required=5 tests=[AWL=0.091, \r
+ DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1,\r
+ RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001,\r
+ TVD_FROM_1=0.999] autolearn=disabled\r
+Received: from arlo.cworth.org ([127.0.0.1])\r
+ by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024)\r
+ with ESMTP id oacyJ5yQfIJf for <notmuch@notmuchmail.org>;\r
+ Wed, 6 Jan 2016 05:51:24 -0800 (PST)\r
+Received: from know-smtprelay-omc-2.server.virginmedia.net\r
+ (know-smtprelay-omc-2.server.virginmedia.net [80.0.253.66])\r
+ by arlo.cworth.org (Postfix) with ESMTP id 7996C6DE12E8\r
+ for <notmuch@notmuchmail.org>; Wed, 6 Jan 2016 05:51:23 -0800 (PST)\r
+Received: from dev.koan19.net ([82.1.197.255])\r
+ by know-smtprelay-2-imp with bizsmtp\r
+ id 2drL1s00L5X6CWA01drMbK; Wed, 06 Jan 2016 13:51:21 +0000\r
+X-Originating-IP: [82.1.197.255]\r
+X-Spam: 0\r
+X-Authority: v=2.1 cv=fJLEpsue c=1 sm=1 tr=0 a=D+CNGfzuhY6ArhcYgadsyQ==:117\r
+ a=D+CNGfzuhY6ArhcYgadsyQ==:17 a=jxr8AxaCAAAA:8 a=L9H7d07YOLsA:10\r
+ a=9cW_t1CCXrUA:10 a=s5jvgZ67dGcA:10 a=dmPqMsitAAAA:8 a=hov-Noh0Y1sA:10\r
+ a=8nJEP1OIZ-IA:10 a=CCpqsmhAAAAA:8 a=-I6-93zvYjEZOwcBcBoA:9 a=wPNLvfGTeEIA:10\r
+ a=ZLQlWuAk2kkA:10\r
+DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple;\r
+ d=l2015aftruuq.dns007.net; i=@l2015aftruuq.dns007.net; q=dns/txt; s=l201512;\r
+ t=1452088280; h=To : Cc : Subject : References : MIME-Version : Content-Type\r
+ : Content-Transfer-Encoding : In-Reply-To : From : Message-ID : Date :\r
+ X-Originating-IP : Subject : From : Date;\r
+ bh=HSOWoQlQQQQLAxWB4bZHUmAJ8aZtrQetF9qFYJPbA+M=;\r
+ b=dzG8d/pAFUvjAu5hOxkUb9A/O4Z5Pi9Fcf5ovbvR5K2H5+3L+BzO48Mg+x3iXeOTNW6Hzw\r
+ tKjDnEN2cd5zqx+eLuJkRRlB8TenvpY/9r02KNbS6jFJWsve5rL6rK7ZMN+40KoVGDYskNop\r
+ x85FtsnSpzZhfhgPqtLX1OxE1ylhlzsyiN338ZBDCMxFaPAxL9rILVZlZzfN8UIPNqeKAQaA ==\r
+To: David Bremner <david@tethera.net>\r
+Cc: Tomi Ollila <tomi.ollila@iki.fi>, notmuch@notmuchmail.org\r
+Subject: Re: T070 tests portability\r
+References: <1451991305.14.acc64b88@201601.l2015aftruuq.dns007.net>\r
+ <m2io37agl8.fsf@guru.guru-group.fi>\r
+ <87ziwj9025.fsf@zancas.localnet>\r
+MIME-Version: 1.0\r
+Content-Type: text/plain; charset=iso-8859-1\r
+Content-Disposition: inline\r
+Content-Transfer-Encoding: 8bit\r
+In-Reply-To: <87ziwj9025.fsf@zancas.localnet>\r
+User-Agent: Mutt/1.5.23.1 (2014-03-12)\r
+From: J Farkas <jf.hyqohaczlksw4tx6ae@l2015aftruuq.dns007.net>\r
+Message-ID: <1452088279.96.560c52fa@201601.l2015aftruuq.dns007.net>\r
+Date: Wed, 06 Jan 2016 13:51:20 +0000\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.20\r
+Precedence: list\r
+List-Id: "Use and development of the notmuch mail system."\r
+ <notmuch.notmuchmail.org>\r
+List-Unsubscribe: <https://notmuchmail.org/mailman/options/notmuch>,\r
+ <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
+List-Archive: <http://notmuchmail.org/pipermail/notmuch/>\r
+List-Post: <mailto:notmuch@notmuchmail.org>\r
+List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
+List-Subscribe: <https://notmuchmail.org/mailman/listinfo/notmuch>,\r
+ <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
+X-List-Received-Date: Wed, 06 Jan 2016 13:51:27 -0000\r
+\r
+On 2016-01-05 at 17:41:06, David Bremner wrote:\r
+> Tomi Ollila <tomi.ollila@iki.fi> writes:\r
+> \r
+> > The page https://sourceware.org/gdb/onlinedocs/gdb/Returning.html\r
+> > talks something about gdb not knowing the return type if function\r
+> > was compiled without debug info... well, is this is the reason,\r
+> > perhaps we should allow testing w/o debug info compiled in.\r
+> \r
+> The test suite overall assumes debug info is present; T000-basic tests\r
+> for this.\r
+\r
+I'm not missing the debug infos (well, except for the thread library if I\r
+understand correctly - and that affects a lot of other tests, but not this).\r
+Perhaps it the version of gdb, but not any compilation flags that can be\r
+changed for the notmuch tree.\r
+\r
+Without the changes, I'm getting these two kind of errors (and as you can see,\r
+the test for the debugging symbols passes too).\r
+\r
+$ ./T000-basic.sh\r
+\r
+T000-basic: Testing the test framework itself.\r
+ PASS success is reported like this\r
+...\r
+ PASS PATH is set to build directory\r
+ PASS notmuch is compiled with debugging symbols\r
+$ ./T070-insert.sh\r
+\r
+T070-insert: Testing "notmuch insert"\r
+ PASS Insert zero-length file\r
+...\r
+ FAIL Insert duplicate message\r
+ --- T070-insert.6.expected 2016-01-06 13:31:01.644676102 +0000\r
+ +++ T070-insert.6.output 2016-01-06 13:31:01.648675891 +0000\r
+ @@ -1 +1 @@\r
+ -2\r
+ + 2\r
+ PASS Duplicate message does not change tags\r
+ PASS Insert message, add tag\r
+...\r
+ PASS Tags starting with '-' in new.tags are forbidden\r
+ PASS Invalid tags set exit code\r
+ FAIL error exit when add_message returns OUT_OF_MEMORY\r
+ --- T070-insert.26.expected 2016-01-06 13:31:06.940397013 +0000\r
+ +++ T070-insert.26.output 2016-01-06 13:31:06.940397013 +0000\r
+ @@ -1 +1 @@\r
+ -1\r
+ +255\r
+warning: Unable to find libthread_db matching inferior's thread library, thread debugging will not be available.\r
+index-file-OUT_OF_MEMORY.gdb:7: Error in sourced command file:\r
+Return value type not available for selected stack frame.\r
+Please use an explicit cast of the value to return.\r
+ FAIL success exit with --keep when add_message returns OUT_OF_MEMORY\r
+...\r
+\r
+(The above is then repeated for all gdb using `insert` tests.)\r
+\r
+János\r
+\r