aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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