diff options
author | Richard Maw <richard.maw@codethink.co.uk> | 2012-04-12 16:56:44 +0100 |
---|---|---|
committer | Richard Maw <richard.maw@codethink.co.uk> | 2012-04-12 17:36:27 +0100 |
commit | e0d0662ccc0c26c30d417888ca3f2e5ab68bcb04 (patch) | |
tree | 6d9db3be18296975a2d573421ed5a59c19921c7a /morphlib/artifactresolver_tests.py | |
parent | 82e9a58b550731e5a5d367bb2b67c104f1b04ef2 (diff) | |
download | morph-e0d0662ccc0c26c30d417888ca3f2e5ab68bcb04.tar.gz |
morphlib: add buildenvironment and tests
BuildEnvironment should contain all the information about whatever
settings affect the build. A subset of these will affect the cache
key, but CacheKeyComputer filters them itself.
BuildEnvironment has consumed the purpose of Morph.clean_env() because
the build environment is a good place to store this information.
The environment variables are decided based on the current settings.
The current environment can be accessed by the env attribute.
The tests are a little invasive because it reads environment variables
and most of the work is done in the constructor, but they should test
everything useful.
Diffstat (limited to 'morphlib/artifactresolver_tests.py')
0 files changed, 0 insertions, 0 deletions