summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJim Ingham <jingham@apple.com>2013-05-15 01:11:30 +0000
committerJim Ingham <jingham@apple.com>2013-05-15 01:11:30 +0000
commitbd4a5eccd640b8b18e10593e4da054dda29a9d79 (patch)
tree7ab40b1b0db232196481e052ecdb7aae26fb4c3e
parent9e57dcd3598d549c2e8697728d0f3f7291f5baf3 (diff)
downloadbcm5719-llvm-bd4a5eccd640b8b18e10593e4da054dda29a9d79.tar.gz
bcm5719-llvm-bd4a5eccd640b8b18e10593e4da054dda29a9d79.zip
Need to add the LLDB.framework directory to the rpath for the driver programs or they won't run.
llvm-svn: 181857
-rw-r--r--lldb/test/api/multithreaded/TestMultithreaded.py2
-rw-r--r--lldb/test/lldbtest.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/lldb/test/api/multithreaded/TestMultithreaded.py b/lldb/test/api/multithreaded/TestMultithreaded.py
index 48471498edb..283a1e5c484 100644
--- a/lldb/test/api/multithreaded/TestMultithreaded.py
+++ b/lldb/test/api/multithreaded/TestMultithreaded.py
@@ -56,7 +56,7 @@ class SBBreakpointCallbackCase(TestBase):
def build_and_test(self, sources, test_name, args = None):
""" Build LLDB test from sources, and run expecting 0 exit code """
self.buildDriver(sources, test_name)
- self.addTearDownHook(lambda: os.remove(test_name))
+ #self.addTearDownHook(lambda: os.remove(test_name))
exe = [os.path.join(os.getcwd(), test_name), self.inferior]
diff --git a/lldb/test/lldbtest.py b/lldb/test/lldbtest.py
index 2a5cd7c2f43..aa370d68ac6 100644
--- a/lldb/test/lldbtest.py
+++ b/lldb/test/lldbtest.py
@@ -1181,7 +1181,7 @@ class Base(unittest2.TestCase):
'EXE' : exe_name,
'CFLAGS_EXTRAS' : "%s -stdlib=libc++" % stdflag,
'FRAMEWORK_INCLUDES' : "-F%s" % self.lib_dir,
- 'LD_EXTRAS' : dsym,
+ 'LD_EXTRAS' : "%s -rpath %s" % (dsym, self.lib_dir),
}
elif sys.platform.startswith("linux") or os.environ.get('LLDB_BUILD_TYPE') == 'Makefile':
d = {'CXX_SOURCES' : sources,
OpenPOWER on IntegriCloud