From mboxrd@z Thu Jan 1 00:00:00 1970 From: Achim Gratz Subject: Re: Temp files from testing are permanent... Date: Wed, 15 Feb 2012 19:38:28 +0100 Message-ID: <8739aceycb.fsf@Rainer.invalid> References: <8762f9w9l3.fsf@Rainer.invalid> <87sjidovpo.fsf@avasys.jp> <877gzof2e1.fsf@Rainer.invalid> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([140.186.70.92]:49811) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rxjki-0001k6-Vw for emacs-orgmode@gnu.org; Wed, 15 Feb 2012 13:38:57 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Rxjkd-0003Lt-4n for emacs-orgmode@gnu.org; Wed, 15 Feb 2012 13:38:52 -0500 Received: from plane.gmane.org ([80.91.229.3]:60804) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rxjkc-0003Li-Q1 for emacs-orgmode@gnu.org; Wed, 15 Feb 2012 13:38:47 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1Rxjka-0006LT-A7 for emacs-orgmode@gnu.org; Wed, 15 Feb 2012 19:38:44 +0100 Received: from pd9eb4aa6.dip.t-dialin.net ([217.235.74.166]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 15 Feb 2012 19:38:44 +0100 Received: from Stromeko by pd9eb4aa6.dip.t-dialin.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 15 Feb 2012 19:38:44 +0100 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: emacs-orgmode@gnu.org Brian Wightman writes: > Files created in the system $TMPDIR are not meant (caution: purist > view) to remain beyond the execution of the program (or set of > programs). You are preaching to the choir... :-) I'm still looking for some wisdom regarding the actual testsuite setup in orgmode, though. We have org-test-with-temp-text-in-file in org-test.el, which supposedly cleans up after itself. Other tests aren't as careful, specifically files with the following prefixes: awk-, C-bin-, C-src-, emacs, fortran-bin-, fortan-src-, maxima-, octave-, org-test (seems to be an HTML export from a temporary org file that does get removed), python-, scor and sh-. Barring any setup or options I might have missed, it looks like I will have to do two things: first, set TMPDIR to a newly created directory during the test runs and second, remove that directory after the test (with an option to keep it for inspection and removing only with "clean"). Regards, Achim. -- +<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+ SD adaptations for KORG EX-800 and Poly-800MkII V0.9: http://Synth.Stromeko.net/Downloads.html#KorgSDada