unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Stefan Kangas <stefankangas@gmail.com>
To: Juanma Barranquero <lekktu@gmail.com>, emacs-devel@gnu.org
Subject: Re: master 2772ebe366: Do not prune native-compiled system directories (bug#59658)
Date: Wed, 30 Nov 2022 09:34:58 -0800	[thread overview]
Message-ID: <CADwFkmmpqErvCeBunEcMnqOoZcX15LTeW8Q3tb==Fw_L+J9kwg@mail.gmail.com> (raw)
In-Reply-To: <20221128164705.366A7C004B6@vcs2.savannah.gnu.org>

Juanma Barranquero <lekktu@gmail.com> writes:

> branch: master
> commit 2772ebe3667f28cefd0d6134204ce6a3c7a8c323
> Author: Juanma Barranquero <lekktu@gmail.com>
> Commit: Juanma Barranquero <lekktu@gmail.com>
>
>     Do not prune native-compiled system directories (bug#59658)
>
>     * lisp/emacs-lisp/comp.el (native-compile-prune-cache):
>     Skip last directory in `native-comp-eln-load-path'.

It seems like this leads to a failing test:

Running 3 tests (2022-11-30 18:26:07+0100, selector ‘(not (or (tag
:expensive-test) (tag :unstable)))’)
Cache cleared
Test test-native-compile-prune-cache backtrace:
  signal(ert-test-failed (((should-not (file-directory-p c2)) :form (f
  ert-fail(((should-not (file-directory-p c2)) :form (file-directory-p
  #f(compiled-function () #<bytecode -0x8ca32608ded3464>)()
  ert--run-test-internal(#s(ert--test-execution-info :test #s(ert-test
  ert-run-test(#s(ert-test :name test-native-compile-prune-cache :docu
  ert-run-or-rerun-test(#s(ert--stats :selector (not (or (tag :expensi
  ert-run-tests((not (or (tag :expensive-test) (tag :unstable))) #f(co
  ert-run-tests-batch((not (or (tag :expensive-test) (tag :unstable)))
  ert-run-tests-batch-and-exit((not (or (tag :expensive-test) (tag :un
  command-line-1(("-L" ":." "-l" "ert" "-l" "lisp/emacs-lisp/comp-test
  command-line()
  normal-top-level()
Test test-native-compile-prune-cache condition:
    (ert-test-failed
     ((should-not
       (file-directory-p c2))
      :form
      (file-directory-p "/tmp/emacs-test-MHYUZK-comp/eln-cache/29.0.50-old")
      :value t))
   FAILED  1/3  test-native-compile-prune-cache (0.003363 sec) at
lisp/emacs-lisp/comp-tests.el:46
Cache cleared
   passed  2/3  test-native-compile-prune-cache/delete-only-eln (0.002607 sec)
Cache cleared
   passed  3/3
test-native-compile-prune-cache/dont-delete-in-parent-of-cache
(0.002566 sec)

Ran 3 tests, 2 results as expected, 1 unexpected (2022-11-30
18:26:07+0100, 0.132447 sec)

1 unexpected results:
   FAILED  test-native-compile-prune-cache

make[3]: *** [Makefile:174: lisp/emacs-lisp/comp-tests.log] Error 1



       reply	other threads:[~2022-11-30 17:34 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <166965402487.18442.18379860639913355185@vcs2.savannah.gnu.org>
     [not found] ` <20221128164705.366A7C004B6@vcs2.savannah.gnu.org>
2022-11-30 17:34   ` Stefan Kangas [this message]
2022-12-01  1:05     ` master 2772ebe366: Do not prune native-compiled system directories (bug#59658) Juanma Barranquero
2022-12-01  3:49       ` Stefan Kangas
2022-12-01  3:57         ` Juanma Barranquero
2022-12-01  7:18         ` Eli Zaretskii
2022-12-01 16:56           ` Juanma Barranquero
2022-12-03 11:25             ` Juanma Barranquero

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CADwFkmmpqErvCeBunEcMnqOoZcX15LTeW8Q3tb==Fw_L+J9kwg@mail.gmail.com' \
    --to=stefankangas@gmail.com \
    --cc=emacs-devel@gnu.org \
    --cc=lekktu@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).