From mboxrd@z Thu Jan 1 00:00:00 1970 From: Brian Wightman Subject: Re: Temp files from testing are permanent... Date: Wed, 15 Feb 2012 12:02:49 -0600 Message-ID: References: <8762f9w9l3.fsf@Rainer.invalid> <87sjidovpo.fsf@avasys.jp> <877gzof2e1.fsf@Rainer.invalid> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([140.186.70.92]:36269) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RxjBw-0000hp-7m for emacs-orgmode@gnu.org; Wed, 15 Feb 2012 13:03:00 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RxjBr-0004hd-3J for emacs-orgmode@gnu.org; Wed, 15 Feb 2012 13:02:56 -0500 Received: from mail-pw0-f41.google.com ([209.85.160.41]:36189) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RxjBq-0004hZ-NQ for emacs-orgmode@gnu.org; Wed, 15 Feb 2012 13:02:51 -0500 Received: by pbcwz17 with SMTP id wz17so1733257pbc.0 for ; Wed, 15 Feb 2012 10:02:49 -0800 (PST) In-Reply-To: <877gzof2e1.fsf@Rainer.invalid> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Org Mode List On Wed, Feb 15, 2012 at 11:11 AM, Achim Gratz wrote: > Olaf Meeuwissen writes: >> If running `make check` (or similar) creates these files, `make clean` >> (or similar) should clean them up. > > I was asking that question to decide whether I do need to extend my > Makefile fork to handle the cleanup or if the testsuite needs to be > called differently to avoid leaving these stale files. =A0... =A0It would > also seem logical that for debugging purposes one could leave the files > around. If created with make-temp-file, and created in the system-configured $TMPDIR directory, I would urge (wearing my sysadmin hat) that they get purged at the end of the test run, unless told to do otherwise. If created in the build/test directory, then either make clean or immediate purge seems reasonable. Files created in the system $TMPDIR are not meant (caution: purist view) to remain beyond the execution of the program (or set of programs). Some OS variants are set up to purge the $TMPDIR on reboot, login, or at other times, and some even store it in a virtual memory backed filesystem. When performing as a sysadmin, finding that an application has littered a (usually) limited system resource such as the system $TMPDIR with files that are no longer useful is a minor irritant at best, to a crash-inducing resource consumer at worst. Just my $0.02 if you are taking donations. Brian