From: Rafael Espindola Date: Mon, 3 Nov 2014 21:24:43 +0000 (+0000) Subject: [lit] Forward LD_PRELOAD to tests. X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=6199c0cf17b3c88b67c249b607004806b6df26c3;p=oota-llvm.git [lit] Forward LD_PRELOAD to tests. With this patch I can use asan to test the gold plugin without having to build gold itself with asan. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@221183 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/utils/lit/lit/TestingConfig.py b/utils/lit/lit/TestingConfig.py index eb890674a74..1006a285962 100644 --- a/utils/lit/lit/TestingConfig.py +++ b/utils/lit/lit/TestingConfig.py @@ -24,6 +24,7 @@ class TestingConfig: 'SYSTEMROOT' : os.environ.get('SYSTEMROOT',''), 'TERM' : os.environ.get('TERM',''), 'LLVM_DISABLE_CRASH_REPORT' : '1', + 'LD_PRELOAD' : os.environ.get('LD_PRELOAD',''), } if sys.platform == 'win32':