Repository navigation
Make tests never use normal cache/config dir - #283
Conversation
There was a problem hiding this comment.
Do you mean distutils instead of sphinx?
|
@eteq - since I fell a bit behind on understanding this, could you explain briefly what is happening here - specifically, are you distinguishing between running tests via: and ? Why do the temporary environment variables only need to be set in one case? |
|
@astrofrog - Yeah, it's a bit confusing - in both cases, the environment variables that override the cache/config dirs are replaced by temporary directories while the tests are running. The difference is that in the So the result for the tests is the same (config and cache dirs are temporary dirs), but the implementation is different due to the before/after needs. |
|
If there are no objections, I'll merge this at the end of the day. |
There was a problem hiding this comment.
just spotted another typo - sphinx
Make tests never use normal cache/config dir
Make tests never use normal cache/config dir
Running cron build for only one version
This overwrites the environment variables used to specify the configuration and cache directories so that running the tests doesn't have any chance of messing with those directories. Instead, they get redirectred to temporary directories. Before this, even though the config tests don't write to them, they were still read for configuration information, which might mess up tests in some cases.
This closes #134 and closes #196