summaryrefslogtreecommitdiff
path: root/morphlib/artifactresolver_tests.py
diff options
context:
space:
mode:
authorRichard Maw <richard.maw@codethink.co.uk>2012-04-12 16:56:44 +0100
committerRichard Maw <richard.maw@codethink.co.uk>2012-04-12 17:36:27 +0100
commite0d0662ccc0c26c30d417888ca3f2e5ab68bcb04 (patch)
tree6d9db3be18296975a2d573421ed5a59c19921c7a /morphlib/artifactresolver_tests.py
parent82e9a58b550731e5a5d367bb2b67c104f1b04ef2 (diff)
downloadmorph-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