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