summaryrefslogtreecommitdiffstats
path: root/lldb/test/help/TestHelp.py
diff options
context:
space:
mode:
authorPeter Collingbourne <peter@pcc.me.uk>2011-06-20 19:06:45 +0000
committerPeter Collingbourne <peter@pcc.me.uk>2011-06-20 19:06:45 +0000
commitd6824de00ec656e2c6d7b7d69d6b58c9c33fa448 (patch)
treebb5bbaea35bd509005cb4f9fb340fad98859623c /lldb/test/help/TestHelp.py
parent7477e10dc8303874d2847edfb318c2cb7611e250 (diff)
downloadbcm5719-llvm-d6824de00ec656e2c6d7b7d69d6b58c9c33fa448.tar.gz
bcm5719-llvm-d6824de00ec656e2c6d7b7d69d6b58c9c33fa448.zip
Modify TestHelp to search for LLDB-Info.plist in the correct place
This is required to run the test suite outside of the source tree or on a case sensitive file system. llvm-svn: 133460
Diffstat (limited to 'lldb/test/help/TestHelp.py')
-rw-r--r--lldb/test/help/TestHelp.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/test/help/TestHelp.py b/lldb/test/help/TestHelp.py
index 77142e19dbe..999fa40e2fc 100644
--- a/lldb/test/help/TestHelp.py
+++ b/lldb/test/help/TestHelp.py
@@ -20,7 +20,7 @@ class HelpCommandTestCase(TestBase):
def version_number_string(self):
"""Helper function to find the version number string of lldb."""
- plist = os.path.join(os.getcwd(), os.pardir, os.pardir, "resources", "LLDB-info.plist")
+ plist = os.path.join(os.environ["LLDB_SRC"], "resources", "LLDB-Info.plist")
try:
CFBundleVersionSegFound = False
with open(plist, 'r') as f:
OpenPOWER on IntegriCloud