From 55983f1ca5f24b167c9ef76e2a0136fbf0ee37ce Mon Sep 17 00:00:00 2001 From: Daniel Dunbar Date: Thu, 25 Feb 2010 22:09:09 +0000 Subject: [PATCH] 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 --- test/lit.cfg | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test/lit.cfg b/test/lit.cfg index ad73e98bfe7..929871a1d22 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