diff options
author | Daniel Dunbar <daniel@zuster.org> | 2010-06-23 18:06:16 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2010-06-23 18:06:16 +0000 |
commit | 238e73f9010e17e2f65c39d238971b30e346fbbd (patch) | |
tree | ec03815474bcde90b6f1767ccad4b4d998be160f /test/lit.cfg | |
parent | cbe762b5d165c565feb98b745e93b71d208a1e36 (diff) |
tests: Tweak lit.cfg to fix breakage with out-of-dir lookup.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@106638 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/lit.cfg')
-rw-r--r-- | test/lit.cfg | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/lit.cfg b/test/lit.cfg index 65e0dc7ea0..5e7e0e4449 100644 --- a/test/lit.cfg +++ b/test/lit.cfg @@ -49,7 +49,7 @@ if llvm_obj_root is not None: config.environment['HOME'] = os.environ['HOME'] # Propogate LLVM_SRC_ROOT into the environment. -config.environment['LLVM_SRC_ROOT'] = config.llvm_src_root +config.environment['LLVM_SRC_ROOT'] = getattr(config, 'llvm_src_root', '') # Propogate PYTHON_EXEUTABLE into the environment config.environment['PYTHON_EXECUTABLE'] = getattr(config, 'python_executable', |