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: Tue, 27 Apr 2021 20:34:23 +0000 Message-ID: References: <87im47cywr.fsf@gmx.de> Reply-To: Andrea Corallo Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="38718"; 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 Tue Apr 27 22:35:18 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 1lbUQP-0009vv-9T for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 27 Apr 2021 22:35:17 +0200 Original-Received: from localhost ([::1]:55002 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lbUQN-0003zY-S4 for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 27 Apr 2021 16:35:15 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:57468) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lbUQA-0003zG-SP for bug-gnu-emacs@gnu.org; Tue, 27 Apr 2021 16:35:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:39477) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lbUQA-0005yd-K1 for bug-gnu-emacs@gnu.org; Tue, 27 Apr 2021 16:35:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lbUQA-0007IK-GB for bug-gnu-emacs@gnu.org; Tue, 27 Apr 2021 16:35: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: Tue, 27 Apr 2021 20:35: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.161955566827997 (code B ref 48060); Tue, 27 Apr 2021 20:35:02 +0000 Original-Received: (at 48060) by debbugs.gnu.org; 27 Apr 2021 20:34:28 +0000 Original-Received: from localhost ([127.0.0.1]:51023 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lbUPb-0007HV-Pt for submit@debbugs.gnu.org; Tue, 27 Apr 2021 16:34:28 -0400 Original-Received: from mx.sdf.org ([205.166.94.24]:60388) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lbUPZ-0007HM-4k for 48060@debbugs.gnu.org; Tue, 27 Apr 2021 16:34:26 -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 13RKYNe8017475 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits) verified NO); Tue, 27 Apr 2021 20:34:23 GMT In-Reply-To: <87im47cywr.fsf@gmx.de> (Michael Albinus's message of "Tue, 27 Apr 2021 21:25:56 +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:205055 Archived-At: Michael Albinus writes: > Andrea Corallo via "Bug reports for GNU Emacs, the Swiss army knife of > text editors" writes: > > Hi Andrea, > >>> The content of one of these directories is: >>> >>> emacs-testsuite-xdgMCK >>> =E2=94=94=E2=94=80=E2=94=80 28.0.50-d25e21f7 >>> =E2=94=94=E2=94=80=E2=94=80 subr--trampoline-63616c6c2d70726f6365= 7373_call_process_0.eln >>> >>> 1 directory, 1 file >>> >>> Others are empty: >>> >>> emacs-testsuite-1HQfjD >>> >>> 0 directories, 0 files >>> >>> Every time I run "make -j8 check", I get another 584 of these directori= es. >>> >>> Could we do something to ensure these directories are always deleted? >> >> 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. > > Not an Emacs cleanup. Usually, test functions are responsible for their > own cleanup. You could put the whole test body in an unwind-protect > bodyform, and perform the cleanup in one of the unwindforms. Hi Michael, 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. 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. Regards Andrea