Make toxworkdir configurable and default to /tmp/v 28/11728/1
authorTrevor Bramwell <tbramwell@linuxfoundation.org>
Wed, 11 Jul 2018 16:01:45 +0000 (09:01 -0700)
committerTrevor Bramwell <tbramwell@linuxfoundation.org>
Wed, 11 Jul 2018 16:01:45 +0000 (09:01 -0700)
commit8f930852bc197279a3904c59dc315928d269c7bb
tree5bb0ba64668d716216039a8ba3615bcdb395372f
parent4fdaf41e7654b24f14e0ee0a9210810fb0bbf5b9
Make toxworkdir configurable and default to /tmp/v

By default tox environment will now be installed under /tmp/v/{envname},
but configurable through the CLI environment by specifying TOX_WORK_DIR.

This will allow users dynamically specify where the toxworkdir should
live, like so:

> TOX_WORK_DIR=$(mktemp -d -t gjjb-XXX) tox -e ...

Change-Id: I3daa4dc3538c61fb80a464a1b7e07d7b48fd7a1c
Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
tox.ini