Author: adrian Date: Thu Aug 23 10:51:14 2018 New Revision: 340557 URL: http://llvm.org/viewvc/llvm-project?rev=340557&view=rev Log: Fix check for dictionary entry
Modified: lldb/trunk/lit/Suite/lldbtest.py Modified: lldb/trunk/lit/Suite/lldbtest.py URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/lit/Suite/lldbtest.py?rev=340557&r1=340556&r2=340557&view=diff ============================================================================== --- lldb/trunk/lit/Suite/lldbtest.py (original) +++ lldb/trunk/lit/Suite/lldbtest.py Thu Aug 23 10:51:14 2018 @@ -60,7 +60,7 @@ class LLDBTest(TestFormat): # The macOS system integrity protection (SIP) doesn't allow injecting # libraries into system binaries, but this can be worked around by # copying the binary into a different location. - if test.config.environment['DYLD_INSERT_LIBRARIES'] and \ + if 'DYLD_INSERT_LIBRARIES' in test.config.environment and \ sys.executable.startswith('/System/'): builddir = getBuildDir(cmd) assert(builddir) _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits