[Lldb-commits] [lldb] r349861 - Fix typo
Adrian Prantl via lldb-commits
lldb-commits at lists.llvm.org
Thu Dec 20 15:50:32 PST 2018
Author: adrian
Date: Thu Dec 20 15:50:32 2018
New Revision: 349861
URL: http://llvm.org/viewvc/llvm-project?rev=349861&view=rev
Log:
Fix typo
Modified:
lldb/trunk/packages/Python/lldbsuite/test/decorators.py
Modified: lldb/trunk/packages/Python/lldbsuite/test/decorators.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/decorators.py?rev=349861&r1=349860&r2=349861&view=diff
==============================================================================
--- lldb/trunk/packages/Python/lldbsuite/test/decorators.py (original)
+++ lldb/trunk/packages/Python/lldbsuite/test/decorators.py Thu Dec 20 15:50:32 2018
@@ -810,6 +810,6 @@ def skipUnlessFeature(feature):
def skipIfSanitized(func):
"""Skip this test if the environment is set up to run LLDB itself under ASAN."""
def is_sanitized():
- return (('DYLD_INSERT_LIBRARIES' in os.env) and
- 'libclang_rt.asan' in os.env['DYLD_INSERT_LIBRARIES'])
+ return (('DYLD_INSERT_LIBRARIES' in os.environ) and
+ 'libclang_rt.asan' in os.environ['DYLD_INSERT_LIBRARIES'])
return skipTestIfFn(is_sanitized)(func)
More information about the lldb-commits
mailing list