From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juanma Barranquero Newsgroups: gmane.emacs.bugs Subject: bug#21816: elisp-mode-tests fails on a case-preserving filesystem Date: Tue, 3 Nov 2015 02:19:54 +0100 Message-ID: References: <83vb9kwahe.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a11c37ec8507e04052398b372 X-Trace: ger.gmane.org 1446513680 16903 80.91.229.3 (3 Nov 2015 01:21:20 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 3 Nov 2015 01:21:20 +0000 (UTC) Cc: 21816@debbugs.gnu.org, Stephen Leake To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Nov 03 02:21:11 2015 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1ZtQHe-00052H-CM for geb-bug-gnu-emacs@m.gmane.org; Tue, 03 Nov 2015 02:21:10 +0100 Original-Received: from localhost ([::1]:45104 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZtQHd-0004lt-OK for geb-bug-gnu-emacs@m.gmane.org; Mon, 02 Nov 2015 20:21:09 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:59404) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZtQHZ-0004lg-R7 for bug-gnu-emacs@gnu.org; Mon, 02 Nov 2015 20:21:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZtQHW-0004Ut-NE for bug-gnu-emacs@gnu.org; Mon, 02 Nov 2015 20:21:05 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:59467) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZtQHW-0004Un-Jw for bug-gnu-emacs@gnu.org; Mon, 02 Nov 2015 20:21:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1ZtQHW-0002V2-5K for bug-gnu-emacs@gnu.org; Mon, 02 Nov 2015 20:21:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Juanma Barranquero Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 03 Nov 2015 01:21:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 21816 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 21816-submit@debbugs.gnu.org id=B21816.14465136449572 (code B ref 21816); Tue, 03 Nov 2015 01:21:02 +0000 Original-Received: (at 21816) by debbugs.gnu.org; 3 Nov 2015 01:20:44 +0000 Original-Received: from localhost ([127.0.0.1]:50175 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZtQHD-0002UJ-R9 for submit@debbugs.gnu.org; Mon, 02 Nov 2015 20:20:44 -0500 Original-Received: from mail-lf0-f54.google.com ([209.85.215.54]:35906) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZtQH4-0002U4-Sf for 21816@debbugs.gnu.org; Mon, 02 Nov 2015 20:20:36 -0500 Original-Received: by lffz202 with SMTP id z202so1669454lff.3 for <21816@debbugs.gnu.org>; Mon, 02 Nov 2015 17:20:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=Jw6aXbEOg/cIWVehw2aBx80WwR17YNIze9DsL/Wdn2E=; b=oswE1EIRxNF5qXgWP7vgo1aJ4qbYIPQWSrtK8vMsDxV6N0hCCviBVPF14WD11sfn11 /VRR7d5Up6gpwncprzrzqTsOfgBwCgaUrzqAl7hYyd1CZkde/3dLNFUwyKtut/I8nZaT O9Sxdgit3v+o7E8m/xfgA2+ZWje72iEQbJoj4d55pNpj8gytASCPvWK40DsbphTDkDL9 CXatNpKF9y6f59JO6ny0YN6XpVlomlBcdZepo6sul73UdTx+ZbEOhvA5UZwEoQ/oWq2r eDtRraWqNFA50b/KsWE5ZWQGzENgSA3Y0Dd1LRZDSJW/EWJHEEX+/MtiAn0AuQyhSB74 vQ8Q== X-Received: by 10.112.190.99 with SMTP id gp3mr3725593lbc.117.1446513633949; Mon, 02 Nov 2015 17:20:33 -0800 (PST) Original-Received: by 10.25.217.132 with HTTP; Mon, 2 Nov 2015 17:19:54 -0800 (PST) In-Reply-To: X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:108333 Archived-At: --001a11c37ec8507e04052398b372 Content-Type: text/plain; charset=UTF-8 On Mon, Nov 2, 2015 at 7:20 PM, Juanma Barranquero wrote: > to defining a new comparing function, specific to this test. Which I suppose I'll eventually do. An additional complication is that file-equal-p is intended to compare existing files ("If FILE1 or FILE2 does not exist, the return value is unspecified."), but the xref-elisp-location values do not seem to be so constrained. In elisp-mode-tests.el there are examples like (xref-make "(defun xref-find-definitions)" (xref-make-elisp-location 'xref-find-definitions nil (expand-file-name "../../lisp/progmodes/xref.el" emacs-test-dir))))) but also (xref-make "(defun buffer-live-p)" (xref-make-elisp-location 'buffer-live-p nil "src/buffer.c")))) --001a11c37ec8507e04052398b372 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
On Mon, Nov 2, 2015 at 7:20 PM, Juanma Barranquero <lekktu@gmail.com> wrote:

> to defining a new comparing function, specific to this test. Which I= suppose I'll eventually do.

An additional complicati= on is that file-equal-p is intended to compare existing files ("If FIL= E1 or FILE2 does not exist, the return value is unspecified."), but th= e xref-elisp-location values do not seem to be so constrained. In elisp-mod= e-tests.el there are examples like

=C2=A0 =C2= =A0(xref-make "(defun xref-find-definitions)"
=C2=A0 =C2=A0 =C2=A0(xref-make-e= lisp-location
= =C2=A0 =C2=A0 =C2=A0 'xref-find-definitions nil
=C2=A0 =C2=A0 =C2=A0 (expand-file-= name "../../lisp/progmodes/xref.el" emacs-test-dir)))))

but also

=C2=A0 =C2=A0(= xref-make "(defun buffer-live-p)"
=C2=A0 =C2=A0 =C2=A0(xref-make-elisp-locatio= n 'buffer-live-p nil "src/buffer.c"))))

<= /div>

--001a11c37ec8507e04052398b372--