From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stephen Berman Newsgroups: gmane.emacs.bugs Subject: bug#43004: 28.0.50; Test failures due to symlinked Emacs sources Date: Fri, 16 Oct 2020 22:54:21 +0200 Message-ID: <87ft6dzybm.fsf@gmx.net> References: <87o8n1aw9k.fsf@gmx.net> <87imbamuw9.fsf@gnus.org> <87r1pyz27k.fsf@gmx.net> <871rhy5j9h.fsf@gnus.org> <87mu0mz0op.fsf@gmx.net> <7002ef78-2d34-a812-5d38-5b4423d3068e@yandex.ru> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="9113"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: Lars Ingebrigtsen , 43004@debbugs.gnu.org To: Dmitry Gutov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Oct 16 22:55:46 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kTWlO-0002FT-6J for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 16 Oct 2020 22:55:46 +0200 Original-Received: from localhost ([::1]:42334 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kTWlM-0005o0-Ud for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 16 Oct 2020 16:55:44 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:60964) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kTWkh-0005nd-D2 for bug-gnu-emacs@gnu.org; Fri, 16 Oct 2020 16:55:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:49464) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kTWkg-00033B-EM for bug-gnu-emacs@gnu.org; Fri, 16 Oct 2020 16:55:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kTWkg-0006kv-BV for bug-gnu-emacs@gnu.org; Fri, 16 Oct 2020 16:55:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stephen Berman Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 16 Oct 2020 20:55:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 43004 X-GNU-PR-Package: emacs Original-Received: via spool by 43004-submit@debbugs.gnu.org id=B43004.160288167625934 (code B ref 43004); Fri, 16 Oct 2020 20:55:02 +0000 Original-Received: (at 43004) by debbugs.gnu.org; 16 Oct 2020 20:54:36 +0000 Original-Received: from localhost ([127.0.0.1]:32777 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kTWkF-0006kD-RI for submit@debbugs.gnu.org; Fri, 16 Oct 2020 16:54:36 -0400 Original-Received: from mout.gmx.net ([212.227.17.20]:56385) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kTWkD-0006jz-2W for 43004@debbugs.gnu.org; Fri, 16 Oct 2020 16:54:34 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1602881666; bh=Ny5s3T3XB3rvswhcz9K4Xf4BZ+zhEyDwXtA9HxcLG6s=; h=X-UI-Sender-Class:From:To:Cc:Subject:References:Date:In-Reply-To; b=P61uDR4h47hi5AodnnANbMhkeroXwg2otd1Drm/ffJ/zDmYhIyVhe3BpTLf7wQzPZ BSqj081bcCsoM3kDSs04F/MU4z7nQDSbqIjYfwXdsO7BKrIXk57mq3k55+//fwyqbh zG7xrcFo8sLk8tfK3Nmj6WdnXQS0sp4X2TSKDibQ= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Original-Received: from strobe-jhalfs ([178.6.213.172]) by mail.gmx.com (mrgmx104 [212.227.17.168]) with ESMTPSA (Nemesis) id 1Ma20q-1kzYAg0aKC-00Vx6q; Fri, 16 Oct 2020 22:54:26 +0200 In-Reply-To: <7002ef78-2d34-a812-5d38-5b4423d3068e@yandex.ru> (Dmitry Gutov's message of "Fri, 16 Oct 2020 23:20:19 +0300") X-Provags-ID: V03:K1:j6BUXyMx8VCvy1OB2TvoYVEqqNQiwSHAYyK3NOhR0r3pEbgqunK L8tw5SLZLmj4QdB+h/UFELRXEfbsOT2UJ7qwzjpSlf0esYdymE23b4+z79pHRjfGlDm5gaB boprxmN1yaa9Vo8UjlhuIj27fq6WEVknYvhGuuZ+1TBvZErXTQYlCDMQhcWy9jwlHULMxSF 8QJzFaM6iBO6bbKHdexMg== X-UI-Out-Filterresults: notjunk:1;V03:K0:cWxJ7AXEoFY=:A5OgOGizEH6BY+SdlTvYRz vEzsPuTkzjNpNl+8b09NvVrJrcGhTceoJ5KPULtph9bN8H+8MEJZ+3ZBI9TPWhRhkxBBJfjnd oxbEvcM5WK8a3WZxxa1XWxTrpsZ3LvLGKfvm1OHKs1LQVYcDo560PwCh27pIMQOga6cOnF+Si Q7Bj4k4+kJYwlaLaIRsfOHloMI5NZxl/9W195UruBiSly+Xz/ZPDlyX4cZaRWE709q27pbpWV 3jNQZY82SyEqN9GUs83sf1XgjJLpC+nqedQvJNifTTLWHQhpeHoTWTVdLLtnUYYxI/ZdbRyE5 HQENygyqW+1OUY1LknsWIsCEyuZnJDos0rX8Bm6vTJqdmg3/1DRSmAPuwBwnBsjnbugOniAIp 0TcS0TdCWUGnhQiYJccZxwWv9iP5+reBcz5WsmW+pZMX6k1X573anZrOjAjA7jiL23Jwo8k+G hJfh8fR9Tiv120naw1UEThdslk4FSAbdECYqXcWcdZnGUNzmTop/vGipE2ttnyHNCWStpJkbV RdSspkDRj5aL9pqhHF1WqwKaWj1P+5iKiZR2+CBjv+P17RcvHmFRpeolXvti5eqY/b9eZ0lEz NaLViXNkX63INk2A9tXAj7Cw32SM8CZT8+r3TGy6MMOcp6LT3CIpJwRXHbLTz89SdX54uw6/T F+9vUudsbAZWBU6csqqaqDtYkm0HRtz9L5Se/WsjB8e6BVrA82be8n+oddyTz9smcCqJ0WJbG zbUSHPNsAJKcq/SPJK5a4NID/3/0NwyPH8fn++ul++xOXMSnkZ8inYPBrByzXxz8qrGLFuNS X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:190742 Archived-At: --=-=-= Content-Type: text/plain On Fri, 16 Oct 2020 23:20:19 +0300 Dmitry Gutov wrote: > On 16.10.2020 17:48, Stephen Berman wrote: >> Yes, please. I also just realized that I had run the patched batch mode >> tests from my home directory, i.e., following the symlink. When I run >> them from the source directory without following the symlink, I get the >> same five failures again (i.e., with the patch) that I had gotten before >> without the patch. So much for that attempt. > > So... the patch doesn't work? > > I'm not sure what would be the best change here, or whether your usage is > something we absolutely need to support in 'make check' (Lars? do we?), but > one thing that should help is the exact examples of strings ( absolute file > names) that mismatch. I've attached the output of two batch runs using the patched elisp-mode-tests.el. The first run was executed from my home directory, the second run was executed from the partition the file is really located on, which is symlinked from my home directory: (expand-file-name "~/src/emacs/emacs-master/test/lisp/progmodes/elisp-mode-tests.el") => "/home/steve/src/emacs/emacs-master/test/lisp/progmodes/elisp-mode-tests.el" (file-truename "/home/steve/src/emacs/emacs-master/test/lisp/progmodes/elisp-mode-tests.el") => "/datadisk/steve/src/emacs/emacs-master/test/lisp/progmodes/elisp-mode-tests.el" On the first run there are no unexpected failures, on the second, there are five unexpected failures. Steve Berman --=-=-= Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename=xref-tests Content-Transfer-Encoding: quoted-printable Content-Description: elisp-mode-tests.el batch runs steve [ ~ ]$ cd ~/src/emacs/emacs-master/test/lisp/progmodes/ steve [ ~/src/emacs/emacs-master/test/lisp/progmodes ]$ emacs-master -batch= -l ert -l elisp-mode-tests.el -f ert-run-tests-batch-and-exit Running 46 tests (2020-10-16 22:31:08+0200, selector =E2=80=98t=E2=80=99) passed 1/46 elisp--highlight-function-argument-indexed (0.000164 sec) passed 2/46 elisp--highlight-function-argument-keyed-1 (0.000199 sec) passed 3/46 elisp--highlight-function-argument-keyed-2 (0.000163 sec) passed 4/46 elisp--preceding-sexp--char-name (0.000108 sec) passed 5/46 elisp-completes-anything-quoted (0.010978 sec) passed 6/46 elisp-completes-functions (0.001097 sec) passed 7/46 elisp-completes-functions-after-hash-quote (0.000085 sec) passed 8/46 elisp-completes-functions-after-let-bindings (0.001057 se= c) passed 9/46 elisp-completes-functions-in-special-macros (0.002016 sec) passed 10/46 elisp-completes-local-variables (0.001070 sec) passed 11/46 elisp-completes-variables (0.001058 sec) passed 12/46 elisp-completes-variables-unquoted (0.003069 sec) passed 13/46 elisp-completest-variables-in-let-bindings (0.002225 sec) Indenting region...=20 Indenting region...done passed 14/46 elisp-indent-basic (0.000288 sec) passed 15/46 eval-last-sexp-print-format-large-int (0.000165 sec) skipped 16/46 eval-last-sexp-print-format-large-int-echo (0.000091 sec) passed 17/46 eval-last-sexp-print-format-small-int (0.000090 sec) skipped 18/46 eval-last-sexp-print-format-small-int-echo (0.000125 sec) passed 19/46 eval-last-sexp-print-format-sym (0.000055 sec) skipped 20/46 eval-last-sexp-print-format-sym-echo (0.000072 sec) passed 21/46 xref-elisp-test-find-defs-constructor (0.030686 sec) passed 22/46 xref-elisp-test-find-defs-defalias-defun-el (0.013515 sec) passed 23/46 xref-elisp-test-find-defs-defgeneric-co-located-default (= 0.010218 sec) passed 24/46 xref-elisp-test-find-defs-defgeneric-el (0.015510 sec) passed 25/46 xref-elisp-test-find-defs-defgeneric-eval (0.000188 sec) passed 26/46 xref-elisp-test-find-defs-defgeneric-implicit-generic (0.= 001169 sec) passed 27/46 xref-elisp-test-find-defs-defgeneric-no-default (0.001111= sec) passed 28/46 xref-elisp-test-find-defs-defgeneric-no-methods (0.000652= sec) passed 29/46 xref-elisp-test-find-defs-defgeneric-separate-default (0.= 014258 sec) passed 30/46 xref-elisp-test-find-defs-define-overload-co-located-defa= ult (0.005824 sec) passed 31/46 xref-elisp-test-find-defs-define-overload-no-default (0.0= 03958 sec) passed 32/46 xref-elisp-test-find-defs-define-overload-no-methods (0.0= 02439 sec) passed 33/46 xref-elisp-test-find-defs-define-overload-separate-defaul= t (0.003328 sec) passed 34/46 xref-elisp-test-find-defs-defun-c (0.097183 sec) passed 35/46 xref-elisp-test-find-defs-defun-c-defvar-c (0.027612 sec) passed 36/46 xref-elisp-test-find-defs-defun-defvar-el (0.009292 sec) passed 37/46 xref-elisp-test-find-defs-defun-el (0.001261 sec) passed 38/46 xref-elisp-test-find-defs-defun-el-defvar-c (0.009443 sec) passed 39/46 xref-elisp-test-find-defs-defun-eval (0.000340 sec) passed 40/46 xref-elisp-test-find-defs-defvar-c (0.002124 sec) passed 41/46 xref-elisp-test-find-defs-defvar-el (0.000751 sec) passed 42/46 xref-elisp-test-find-defs-defvar-eval (0.000117 sec) passed 43/46 xref-elisp-test-find-defs-face-el (0.022559 sec) passed 44/46 xref-elisp-test-find-defs-face-eval (0.000318 sec) passed 45/46 xref-elisp-test-find-defs-feature-el (0.000655 sec) passed 46/46 xref-elisp-test-find-defs-feature-eval (0.001085 sec) Ran 46 tests, 43 results as expected, 0 unexpected, 3 skipped (2020-10-16 2= 2:31:08+0200, 0.301689 sec) 3 skipped results: SKIPPED eval-last-sexp-print-format-large-int-echo SKIPPED eval-last-sexp-print-format-small-int-echo SKIPPED eval-last-sexp-print-format-sym-echo steve [ ~/src/emacs/emacs-master/test/lisp/progmodes ]$ cd /datadisk/steve/= src/emacs/emacs-master/test/lisp/progmodes/ steve [ /datadisk/steve/src/emacs/emacs-master/test/lisp/progmodes ]$ emacs= -master -batch -l ert -l elisp-mode-tests.el -f ert-run-tests-batch-and-exit Running 46 tests (2020-10-16 22:32:16+0200, selector =E2=80=98t=E2=80=99) passed 1/46 elisp--highlight-function-argument-indexed (0.000149 sec) passed 2/46 elisp--highlight-function-argument-keyed-1 (0.000199 sec) passed 3/46 elisp--highlight-function-argument-keyed-2 (0.000161 sec) passed 4/46 elisp--preceding-sexp--char-name (0.000106 sec) passed 5/46 elisp-completes-anything-quoted (0.009869 sec) passed 6/46 elisp-completes-functions (0.001164 sec) passed 7/46 elisp-completes-functions-after-hash-quote (0.000056 sec) passed 8/46 elisp-completes-functions-after-let-bindings (0.001062 se= c) passed 9/46 elisp-completes-functions-in-special-macros (0.002005 sec) passed 10/46 elisp-completes-local-variables (0.001122 sec) passed 11/46 elisp-completes-variables (0.001043 sec) passed 12/46 elisp-completes-variables-unquoted (0.003025 sec) passed 13/46 elisp-completest-variables-in-let-bindings (0.001980 sec) Indenting region...=20 Indenting region...done passed 14/46 elisp-indent-basic (0.000274 sec) passed 15/46 eval-last-sexp-print-format-large-int (0.000108 sec) skipped 16/46 eval-last-sexp-print-format-large-int-echo (0.000090 sec) passed 17/46 eval-last-sexp-print-format-small-int (0.000085 sec) skipped 18/46 eval-last-sexp-print-format-small-int-echo (0.000089 sec) passed 19/46 eval-last-sexp-print-format-sym (0.000056 sec) skipped 20/46 eval-last-sexp-print-format-sym-echo (0.000072 sec) passed 21/46 xref-elisp-test-find-defs-constructor (0.027042 sec) passed 22/46 xref-elisp-test-find-defs-defalias-defun-el (0.014630 sec) passed 23/46 xref-elisp-test-find-defs-defgeneric-co-located-default (= 0.007012 sec) Test xref-elisp-test-find-defs-defgeneric-el backtrace: signal(ert-test-failed (((should (equal xref expected-xref)) :form ( ert-fail(((should (equal xref expected-xref)) :form (equal # #) ((#) (#) (#) ((#