unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Andrea Corallo <akrl@sdf.org>
Cc: 48060@debbugs.gnu.org, stefan@marxist.se
Subject: bug#48060: "make check" leaves temporary files after native-comp merge
Date: Tue, 27 Apr 2021 20:35:30 +0300	[thread overview]
Message-ID: <83tunrhbq5.fsf@gnu.org> (raw)
In-Reply-To: <xjfczuf3bzm.fsf@sdf.org> (bug-gnu-emacs@gnu.org)

> Cc: 48060@debbugs.gnu.org
> Date: Tue, 27 Apr 2021 16:53:33 +0000
> From:  Andrea Corallo via "Bug reports for GNU Emacs,
>  the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org>
> 
> I guess the correct way to do it would be in the Makefile when tests are
> done, am I correct?
> 
> The other option would be to have Emacs to clean-up this directory
> before exiting, but in case of a crash it wouldn't work.

We usually do the latter.  Crashes in the test suite should be rare.

> The last option would be to convince `make-temp-file' we call at
> startup.el:553 to create the directory in "/tmp/" or equivalent (not
> sure that's possible).

That's only a good solution on platforms where /tmp is periodically
cleaned up, or even disappears when the user logs off.





  reply	other threads:[~2021-04-27 17:35 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-04-27 14:27 bug#48060: "make check" leaves temporary files after native-comp merge Stefan Kangas
2021-04-27 15:15 ` Glenn Morris
2021-04-27 16:53 ` Andrea Corallo via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-04-27 17:35   ` Eli Zaretskii [this message]
2021-04-27 21:36     ` Andrea Corallo via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-04-27 19:25   ` Michael Albinus
2021-04-27 20:34     ` Andrea Corallo via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-04-28 10:57       ` Michael Albinus
2021-04-28 19:31         ` Andrea Corallo via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-05-02  8:30           ` Lars Ingebrigtsen
2021-05-02 21:28             ` Andrea Corallo via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-05-24 12:21 ` Lars Ingebrigtsen

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=83tunrhbq5.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=48060@debbugs.gnu.org \
    --cc=akrl@sdf.org \
    --cc=stefan@marxist.se \
    /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).