summaryrefslogtreecommitdiffstats
path: root/lldb
diff options
context:
space:
mode:
Diffstat (limited to 'lldb')
-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