aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2010-02-25 22:09:09 +0000
committerDaniel Dunbar <daniel@zuster.org>2010-02-25 22:09:09 +0000
commit55983f1ca5f24b167c9ef76e2a0136fbf0ee37ce (patch)
treeaf2d62580dbaf1d0a0fd4e7467835afa7751eb1e
parent7c78dbb4939c0bbf5809115912bb7ccf71bb2e5b (diff)
tests: Propogate the HOME environment variable through to tests. I'm ambivalent
about this, but it can be useful for users who use ccache, since the LLVMC tests are fond of calling gcc. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@97171 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--test/lit.cfg3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/lit.cfg b/test/lit.cfg
index ad73e98bfe..929871a1d2 100644
--- a/test/lit.cfg
+++ b/test/lit.cfg
@@ -45,6 +45,9 @@ if llvm_obj_root is not None:
config.environment['PATH']))
config.environment['PATH'] = path
+# Propogate 'HOME' through the environment.
+config.environment['HOME'] = os.environ['HOME']
+
###
import os