summaryrefslogtreecommitdiff
path: root/morphlib/buildenvironment_tests.py
Commit message (Collapse)AuthorAgeFilesLines
* Fix default setting for compiler cache dir; update testsJannis Pohlmann2012-12-171-8/+0
| | | | Reviewed-by: Lars Wirzenius <lars.wirzenius@codethink.co.uk>
* python scripts: pep8ize codebaseRichard Maw2012-08-011-0/+1
| | | | | | | | | This was done with the aid of the pep8 script, available by running `easy_install pep8`. It may be worth making this part of ./check, but that will require putting pep8 into the development tools stratum. This should be easy, given pep8 has no external dependencies.
* Fix how we set TMPDIR in the build environmentLars Wirzenius2012-04-261-0/+1
|
* buildenvironment: fix whitespaceRichard Maw2012-04-121-3/+3
|
* morphlib: add buildenvironment and testsRichard Maw2012-04-121-0/+137
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.