[PATCH 1 of 2] run-tests: make --tmpdir option more useful
Martin Geisler
mg at lazybytes.net
Thu Jul 23 12:35:11 UTC 2009
Augie Fackler <durin42 at gmail.com> writes:
> On Jul 23, 2009, at 7:26 AM, Martin Geisler wrote:
>
>> Right -- I believe you want the first bullet with no explicit options
>> to run-tests.py. Instead you implicitly move the tmpdir to your
>> ramdisk by exporting the TMP environment variable (tempfile.mkdtemp
>> will use it).
>
> Ah, righto - I'm just dense. That'll work just fine. Sorry for the
> trouble. :)
No worries :-) It is a little sneaky to do it like this, especially when
the --tmpdir option is right there and seems to do the right thing.
I'll look at it again tonight and see if there has been other opinions
in the mean time.
--
Martin Geisler
VIFF (Virtual Ideal Functionality Framework) brings easy and efficient
SMPC (Secure Multiparty Computation) to Python. See: http://viff.dk/.
More information about the Mercurial-devel
mailing list