From mboxrd@z Thu Jan 1 00:00:00 1970 From: Achim Gratz Subject: Re: Temp files from testing are permanent... Date: Thu, 16 Feb 2012 21:47:50 +0100 Message-ID: <87lio2y07d.fsf@Rainer.invalid> References: <8762f9w9l3.fsf@Rainer.invalid> <87sjidovpo.fsf@avasys.jp> <877gzof2e1.fsf@Rainer.invalid> <8739aceycb.fsf@Rainer.invalid> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([140.186.70.92]:43475) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ry8FR-0003q3-Ii for emacs-orgmode@gnu.org; Thu, 16 Feb 2012 15:48:14 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Ry8FL-0002bZ-Jo for emacs-orgmode@gnu.org; Thu, 16 Feb 2012 15:48:13 -0500 Received: from plane.gmane.org ([80.91.229.3]:43795) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ry8FL-0002bP-9F for emacs-orgmode@gnu.org; Thu, 16 Feb 2012 15:48:07 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1Ry8FI-0004WZ-Oi for emacs-orgmode@gnu.org; Thu, 16 Feb 2012 21:48:04 +0100 Received: from pd9eb5c9e.dip.t-dialin.net ([217.235.92.158]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 16 Feb 2012 21:48:04 +0100 Received: from Stromeko by pd9eb5c9e.dip.t-dialin.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 16 Feb 2012 21:48:04 +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 Achim Gratz writes: > 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"). Done and pushed to my Makefile fork on repo.or.cz. Temporary test files automatically vaporize when the test suite successfully runs and are left for inspection otherwise. If you need to keep them regardless of the test result, define TEST_NO_AUTOCLEAN non-empty. A new target cleantest can be used to remove the temporary test directory and all its content whenever necessary, this is also done when doing a "cleanall". The location of the temporary test directory follows $TMPDIR and can be overriden in local.mk via variable testdir. TMPDIR, if not already present in the environment, will default to /tmp, which incidentally should resolve a bug in my tricky build environment at work. Regards, Achim. -- +<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+ SD adaptations for Waldorf Q V3.00R3 and Q+ V3.54R2: http://Synth.Stromeko.net/Downloads.html#WaldorfSDada