From d6824de00ec656e2c6d7b7d69d6b58c9c33fa448 Mon Sep 17 00:00:00 2001 From: Peter Collingbourne Date: Mon, 20 Jun 2011 19:06:45 +0000 Subject: 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 --- lldb/test/help/TestHelp.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lldb/test/help/TestHelp.py') 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: -- cgit v1.2.3