diff options
author | Sam Thursfield <sam.thursfield@codethink.co.uk> | 2018-02-26 12:46:13 +0000 |
---|---|---|
committer | Tristan Van Berkom <tristan.van.berkom@gmail.com> | 2018-02-28 09:17:45 +0000 |
commit | 5ebb78240e674afb4ae86ecf41f9ca03192a6dba (patch) | |
tree | 15991e45e0924898bbada67faeceaba46bd56b8d /conftest.py | |
parent | ad0369fd1b1255407418d5789e83503f52fcd49b (diff) | |
download | buildstream-5ebb78240e674afb4ae86ecf41f9ca03192a6dba.tar.gz |
Modify how the INTEGRATION_CACHE environment var is interpreted
When specifying a location for the integration tests cache directory,
we would previously append '/integration-cache' to whatever path we
were given. This is regarded as confusing.
See: https://gitlab.com/BuildStream/buildstream/issues/267
Diffstat (limited to 'conftest.py')
-rwxr-xr-x | conftest.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/conftest.py b/conftest.py index ad42b70eb..ffe8fb3ae 100755 --- a/conftest.py +++ b/conftest.py @@ -40,7 +40,7 @@ def integration_cache(request): # Set the tempdir to the INTEGRATION_CACHE variable, or the # default if that is not set. if 'INTEGRATION_CACHE' in os.environ: - cache_dir = os.path.join(os.environ['INTEGRATION_CACHE'], 'integration-cache') + cache_dir = os.environ['INTEGRATION_CACHE'] else: cache_dir = os.path.abspath('./integration-cache') |