From: Daniel Dunbar Date: Thu, 25 Feb 2010 22:09:09 +0000 (+0000) Subject: tests: Propogate the HOME environment variable through to tests. I'm ambivalent X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=55983f1ca5f24b167c9ef76e2a0136fbf0ee37ce;p=oota-llvm.git 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 --- 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