From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Andrea Corallo via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#48060: "make check" leaves temporary files after native-comp merge Date: Wed, 28 Apr 2021 19:31:04 +0000 Message-ID: References: <87im47cywr.fsf@gmx.de> <8735vad6dc.fsf@gmx.de> Reply-To: Andrea Corallo Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="5556"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: 48060@debbugs.gnu.org, Stefan Kangas To: Michael Albinus Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Apr 28 21:32:57 2021 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 1lbpvd-0001LS-EP for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 28 Apr 2021 21:32:57 +0200 Original-Received: from localhost ([::1]:47102 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lbpvc-0005MI-G0 for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 28 Apr 2021 15:32:56 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:53966) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lbpuk-0004uc-ER for bug-gnu-emacs@gnu.org; Wed, 28 Apr 2021 15:32:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:42570) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lbpuk-0003Ug-66 for bug-gnu-emacs@gnu.org; Wed, 28 Apr 2021 15:32:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lbpuk-0006o2-2P for bug-gnu-emacs@gnu.org; Wed, 28 Apr 2021 15:32:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Andrea Corallo Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 28 Apr 2021 19:32:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48060 X-GNU-PR-Package: emacs Original-Received: via spool by 48060-submit@debbugs.gnu.org id=B48060.161963826726078 (code B ref 48060); Wed, 28 Apr 2021 19:32:02 +0000 Original-Received: (at 48060) by debbugs.gnu.org; 28 Apr 2021 19:31:07 +0000 Original-Received: from localhost ([127.0.0.1]:54112 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lbptq-0006mY-PQ for submit@debbugs.gnu.org; Wed, 28 Apr 2021 15:31:06 -0400 Original-Received: from mx.sdf.org ([205.166.94.24]:55465) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lbptp-0006mR-Ns for 48060@debbugs.gnu.org; Wed, 28 Apr 2021 15:31:06 -0400 Original-Received: from mab (ma.sdf.org [205.166.94.33]) by mx.sdf.org (8.15.2/8.14.5) with ESMTPS id 13SJV4Rr024678 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits) verified NO); Wed, 28 Apr 2021 19:31:05 GMT In-Reply-To: <8735vad6dc.fsf@gmx.de> (Michael Albinus's message of "Wed, 28 Apr 2021 12:57:03 +0200") 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:205136 Archived-At: Michael Albinus writes: > Andrea Corallo writes: > >> Hi Michael, > > Hi Andrea, > >> the issue is that here is not really the test function that is creating >> this folder, but Emacs it-self that to operate needs a folder to store >> and retrieve eln files. > > I know. > >> For the test-suite we moved to a different folder than the one we use >> for normal runs to have a clean environment to run the test-suite on. > > Couldn't you create this different folder inside an ert-deftest, and > remove it at test-case end? No, Emacs needs to be able if necessary to depose .eln files even before a test is run (this is not specific to native-comp tests), and given we set HOME to a non existent directory the conventional "~/.emacs.d/eln-cache" can't be used. Regards Andrea