GNU bug report logs - #27880
25.2; elisp-mode-tests may downcase too aggressively

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Reported by: Rob Browning <rlb@HIDDEN>; merged with #25534; dated Sun, 30 Jul 2017 16:22:02 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.
Merged 25534 27880. Request was from npostavs@HIDDEN to control <at> debbugs.gnu.org. Full text available.

Message received at 27880 <at> debbugs.gnu.org:


Received: (at 27880) by debbugs.gnu.org; 30 Jul 2017 20:39:38 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Jul 30 16:39:38 2017
Received: from localhost ([127.0.0.1]:34569 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1dbuzy-0006b2-1o
	for submit <at> debbugs.gnu.org; Sun, 30 Jul 2017 16:39:38 -0400
Received: from mail-it0-f50.google.com ([209.85.214.50]:35115)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <npostavs@HIDDEN>)
 id 1dbuzt-0006ac-T5; Sun, 30 Jul 2017 16:39:34 -0400
Received: by mail-it0-f50.google.com with SMTP id h199so116882306ith.0;
 Sun, 30 Jul 2017 13:39:33 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=sender:from:to:cc:subject:references:date:in-reply-to:message-id
 :user-agent:mime-version;
 bh=FFa13b266YGLuwPKvYH+/NkGYMY0/4P1r7J3ipM0sew=;
 b=R+IlArcCyIz4NNZlHzicsYsqlqqNGmFldFpvHL/r0BZTvFYXdIrXi0ctu7QGaAUzMQ
 AN1bSFN5Wp5gVIB1ti/w/zTG9EO8bbHanwG625emHP60Fn/BFLiEj6U4AQgb4GseaiYq
 CuLae3i3MgmtuGm/l33+0+JzhC29AJC6VFjKKE34jpEw3jyj1N8ypoD94f1GMcuvIlI6
 jz1R4iEohbr84iW0cTwtqTBaDRchpZ1/61kZa4W4xl2jD2CzAOPw+HIXBqlNHRaATLop
 QmFkRLhuPsdN098VsCUPKmAiHPY4dArZ0PNq8yyW7i88FEbxi/yM1Sd9K/O8FwlOBGm4
 P81A==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:sender:from:to:cc:subject:references:date
 :in-reply-to:message-id:user-agent:mime-version;
 bh=FFa13b266YGLuwPKvYH+/NkGYMY0/4P1r7J3ipM0sew=;
 b=keU4IJ4YZKICwseq+9dkHTGhX0cv8Hm4+pkSxaeK1yI37jeqYl+5U78lqt6BuUy+bt
 UCA2aq4yzYH5HleJS4E/jpucaNQyVXiWs49SxV8YU5HKoUWnP30ufJiNZQjZE17ZcILz
 2qLFNCvXbhvAJz6Id97jA5rQO0hPaKJ0FHZE+Z/Y/fxR1i8gh86AX6JFZRm4DWa4UCDF
 02XUvBYuJrc4t8G7YLa7V9LsO8FcyPwNWNeBn82WFvQvENYgC6HiOQtzRUUWRHgjsZEu
 IRWO4DXjEmbfxbY5ptw8xoKWaV3aAAkAs207nvuRIA2gYjpkZAGj/Moq+00Hp9NvjFqx
 wzJg==
X-Gm-Message-State: AIVw112TSqJIf7Coyd3QNzQZY+wbiY6L+S5eYsWs717TqNUeHAQPDM2x
 ZL3mKLcf11JaTlvX
X-Received: by 10.36.48.198 with SMTP id q189mr16154750itq.61.1501447167922;
 Sun, 30 Jul 2017 13:39:27 -0700 (PDT)
Received: from zony ([45.2.7.65])
 by smtp.googlemail.com with ESMTPSA id p65sm4708022itb.33.2017.07.30.13.39.27
 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256);
 Sun, 30 Jul 2017 13:39:27 -0700 (PDT)
From: npostavs@HIDDEN
To: Rob Browning <rlb@HIDDEN>
Subject: Re: bug#27880: 25.2; elisp-mode-tests may downcase too aggressively
References: <87fudd6gkr.fsf@HIDDEN>
Date: Sun, 30 Jul 2017 16:41:08 -0400
In-Reply-To: <87fudd6gkr.fsf@HIDDEN> (Rob Browning's message
 of "Sun, 30 Jul 2017 11:21:40 -0500")
Message-ID: <87zibl7j4r.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 27880
Cc: 27880 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.0 (/)

merge 27880 25534
quit

Rob Browning <rlb@HIDDEN> writes:

> [Refiling as a bug report from a list thread.]
>
> It looks like (in 25.2, and perhaps master too) elisp-mode-tests.el
> downcases the xref path (location) for comparison in
> xref-elisp-test-run, but that seems to also affect the filesystem lookup
> lower down (in xref--goto-location) such that a handful of tests fail if
> the build path contains uppercase characters.  i.e. it tries to read the
> downcased path, which of course (on ext4) doesn't exist.
>
> In any case, I've hacked up a temporary fix by keeping the original as
> "real-xref" and cloning that (and copying the location) to produce the
> xref used by the modification and comparison.
>
> Thanks

This is the same as Bug#25534 "xref ERT tests fail when the source path
is mixed case", right?




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#27880; Package emacs. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 30 Jul 2017 16:21:55 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Jul 30 12:21:55 2017
Received: from localhost ([127.0.0.1]:34438 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1dbqyZ-0000Rv-By
	for submit <at> debbugs.gnu.org; Sun, 30 Jul 2017 12:21:55 -0400
Received: from eggs.gnu.org ([208.118.235.92]:58137)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <rlb@HIDDEN>) id 1dbqyX-0000Rd-Bw
 for submit <at> debbugs.gnu.org; Sun, 30 Jul 2017 12:21:53 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <rlb@HIDDEN>) id 1dbqyR-0005ax-BD
 for submit <at> debbugs.gnu.org; Sun, 30 Jul 2017 12:21:48 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=disabled
 version=3.3.2
Received: from lists.gnu.org ([2001:4830:134:3::11]:45730)
 by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <rlb@HIDDEN>)
 id 1dbqyR-0005al-7v
 for submit <at> debbugs.gnu.org; Sun, 30 Jul 2017 12:21:47 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:49101)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <rlb@HIDDEN>) id 1dbqyQ-0006dJ-3a
 for bug-gnu-emacs@HIDDEN; Sun, 30 Jul 2017 12:21:47 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <rlb@HIDDEN>) id 1dbqyN-0005Xz-01
 for bug-gnu-emacs@HIDDEN; Sun, 30 Jul 2017 12:21:46 -0400
Received: from defaultvalue.org ([70.85.129.156]:47514)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <rlb@HIDDEN>) id 1dbqyM-0005XY-R0
 for bug-gnu-emacs@HIDDEN; Sun, 30 Jul 2017 12:21:42 -0400
Received: from trouble.defaultvalue.org (localhost [127.0.0.1])
 (Authenticated sender: rlb@HIDDEN)
 by defaultvalue.org (Postfix) with ESMTPSA id EB7AF200A5
 for <bug-gnu-emacs@HIDDEN>; Sun, 30 Jul 2017 11:21:40 -0500 (CDT)
Received: by trouble.defaultvalue.org (Postfix, from userid 1000)
 id 2108214E0AD; Sun, 30 Jul 2017 11:21:40 -0500 (CDT)
From: Rob Browning <rlb@HIDDEN>
To: bug-gnu-emacs@HIDDEN
Subject: 25.2; elisp-mode-tests may downcase too aggressively
Date: Sun, 30 Jul 2017 11:21:40 -0500
Message-ID: <87fudd6gkr.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
 [fuzzy]
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 2001:4830:134:3::11
X-Spam-Score: -5.0 (-----)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -5.0 (-----)


[Refiling as a bug report from a list thread.]

It looks like (in 25.2, and perhaps master too) elisp-mode-tests.el
downcases the xref path (location) for comparison in
xref-elisp-test-run, but that seems to also affect the filesystem lookup
lower down (in xref--goto-location) such that a handful of tests fail if
the build path contains uppercase characters.  i.e. it tries to read the
downcased path, which of course (on ext4) doesn't exist.

In any case, I've hacked up a temporary fix by keeping the original as
"real-xref" and cloning that (and copying the location) to produce the
xref used by the modification and comparison.

Thanks
-- 
Rob Browning
rlb @defaultvalue.org and @debian.org
GPG as of 2011-07-10 E6A9 DA3C C9FD 1FF8 C676 D2C4 C0F0 39E9 ED1B 597A
GPG as of 2002-11-03 14DD 432F AE39 534D B592 F9A0 25C8 D377 8C7E 73A4




Acknowledgement sent to Rob Browning <rlb@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#27880; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Sun, 30 Jul 2017 20:45:01 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.