From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Colin Baxter Newsgroups: gmane.emacs.devel Subject: Re: data-tests-logcount Failure Date: Tue, 24 Oct 2017 20:01:53 +0100 Message-ID: <87inf4nzdq.fsf@yandex.com> References: <87o9owg8ow.fsf@yandex.com> <7b839a97-dee5-2930-4c6d-a3c36a91a235@cs.ucla.edu> <87mv4go301.fsf@yandex.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Trace: blaine.gmane.org 1508871783 31760 195.159.176.226 (24 Oct 2017 19:03:03 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 24 Oct 2017 19:03:03 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) Cc: Mark Oteiza , , emacs-devel@gnu.org To: Paul Eggert Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Oct 24 21:02:54 2017 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e74TM-0005pN-Nn for ged-emacs-devel@m.gmane.org; Tue, 24 Oct 2017 21:02:44 +0200 Original-Received: from localhost ([::1]:45165 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e74TR-0002Mv-B8 for ged-emacs-devel@m.gmane.org; Tue, 24 Oct 2017 15:02:49 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:58011) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e74Sj-0002LO-7q for emacs-devel@gnu.org; Tue, 24 Oct 2017 15:02:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e74Se-00007L-WD for emacs-devel@gnu.org; Tue, 24 Oct 2017 15:02:05 -0400 Original-Received: from forward102o.mail.yandex.net ([37.140.190.182]:49492) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1e74Se-000064-Jh for emacs-devel@gnu.org; Tue, 24 Oct 2017 15:02:00 -0400 Original-Received: from mxback19j.mail.yandex.net (mxback19j.mail.yandex.net [IPv6:2a02:6b8:0:1619::95]) by forward102o.mail.yandex.net (Yandex) with ESMTP id DADEA5A06964; Tue, 24 Oct 2017 22:01:56 +0300 (MSK) Original-Received: from smtp2o.mail.yandex.net (smtp2o.mail.yandex.net [2a02:6b8:0:1a2d::26]) by mxback19j.mail.yandex.net (nwsmtp/Yandex) with ESMTP id 8qiJzTp4mh-1uhOlqOq; Tue, 24 Oct 2017 22:01:56 +0300 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.com; s=mail; t=1508871716; bh=L299/Mhn7yNx9ig5GNpdQ94kj4DivE0S0DmDg0p2Mgw=; h=From:To:Cc:Cc:Subject:References:Date:In-Reply-To:Message-ID; b=sBkKxLQ5Ww7EDNirn0FNLkORZsK8XB2oSepu+7aYTi/MAtPXgeDvp+7nhC+30V8H5 vUbIr+rw9EnK7N0cw3Lw8hwiZnxWbXYwEXBeHLx/ec5pDoVUgO42nZdSDuphtZ/Rif tGDYXUQc+cIM4d7uGHdG8/ReOa7IAShRbaZ/pzVU= Original-Received: by smtp2o.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id ACHIIE9k2q-1sGqkS7f; Tue, 24 Oct 2017 22:01:55 +0300 (using TLSv1.2 with cipher AES128-SHA256 (128/128 bits)) (Client certificate not present) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.com; s=mail; t=1508871715; bh=L299/Mhn7yNx9ig5GNpdQ94kj4DivE0S0DmDg0p2Mgw=; h=From:To:Cc:Cc:Subject:References:Date:In-Reply-To:Message-ID; b=sOhglQFxh+mC0W+XNowRm9bh0e3BSsoJzqiLKx2PUUd1j5Gqv+N5+el7SaOwopioK uef3eoWNfurzCHBguCwWOrvSS5fDdUCuo+y93C2VE9p40CNYLKYj+4+oy8pK+rwJwt 3v0umpZFpiXyVnwNUnY4rvv11qUjun34/n0RW0/U= Authentication-Results: smtp2o.mail.yandex.net; dkim=pass header.i=@yandex.com X-Face: -P+89ASh_wrs;AUGm`!l[}/o-lyK}5W.gq\fkJ{#d6Gu,hWrZNz::iMm5PJb} __A96]-LUrl)X=uF=V|\3-\9/sXvBs/H In-Reply-To: (Paul Eggert's message of "Tue, 24 Oct 2017 11:02:02 -0700") Face: iVBORw0KGgoAAAANSUhEUgAAACwAAAAMCAIAAACWSshgAAAABmJLR0QA/wD/AP+gvaeTAAAA q0lEQVQ4je3UsQ1CMRADUOfuPisgUUIHM1Ayxx+WGaCjRWIGiE0DiNIp6Ej9dHESK+2wntEajHVd Xk7boyMB7M771W1jUakiKlo4ODORZgZkZsXkSIpVMZkhIhPW2Bf2Q1jb/3oVRUAOFYnuzhVJWZpS SZ2w7kPCQAiBoicZ1iW8/YC1sYDBYi7cCP9ifuGhYrLD+jEljRRT3SsmpKLukvUo5sk+uPPhyAY+ AY/zZeWqEtDJAAAAAElFTkSuQmCC X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 37.140.190.182 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:219727 Archived-At: --=-=-= Content-Type: text/plain >>>>> Paul Eggert writes: > On 10/24/2017 10:43 AM, Colin Baxter wrote: >> 2231 val = (XSUBR (fun)->function.a1 (argvals[0])); Value >> returned is $1 = 46 (gdb) cont Continuing. >> >> Breakpoint 5, Flogcount (value=39998) at data.c:3078 3078 { (gdb) >> fin Run till exit from #0 Flogcount (value=39998) at data.c:3078 >> 0x081a1bdd in eval_sub (form=form@entry=143591699) at eval.c:2231 >> 2231 val = (XSUBR (fun)->function.a1 (argvals[0])); Value >> returned is $2 = 34 > These are the correct values: 46 is the Emacs representation for > 11, and 34 is the Emacs representation for 8. So I'm puzzled as to > why the tests failed. > What is in test/data/data-tests.log? Do you mean test/src/data-tests.log? --=-=-= Content-Type: message/external-body; name="/home/redknight/git/emacs/test/src/data-tests.log"; access-type=local-file Content-Type: application/octet-stream Content-ID: <87h8uonzdq.fsf@yandex.com> Content-Transfer-Encoding: binary --=-=-= Content-Type: text/plain > What is the output of the following shell command? > src/emacs -Q -batch -eval '(message "%S %S" (logcount 9727) > (logcount 9999))' > It should be "11 8". It is. Colin. --=-=-=--