<rdar://problem/12500212> Test case for the new plugin feature
git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@166453 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/dotest.py b/test/dotest.py
index 1379428..36678c2 100755
--- a/test/dotest.py
+++ b/test/dotest.py
@@ -827,6 +827,9 @@
print relPath + ', or ' + baiPath
sys.exit(-1)
+ # If tests need to find LLDB_FRAMEWORK, now they can do it
+ os.environ["LLDB_FRAMEWORK"] = os.path.dirname(os.path.dirname(lldbPath))
+
# This is to locate the lldb.py module. Insert it right after sys.path[0].
sys.path[1:1] = [lldbPath]
if dumpSysPath: