summaryrefslogtreecommitdiffstats
path: root/lldb/test/api/multithreaded/TestMultithreaded.py
diff options
context:
space:
mode:
authorGreg Clayton <gclayton@apple.com>2015-10-26 17:52:16 +0000
committerGreg Clayton <gclayton@apple.com>2015-10-26 17:52:16 +0000
commit22fd3b1deeb447d2ecac8711b6e75ab4413336de (patch)
treed07c927ca5b73c0206c6f4a875484e22e20715ec /lldb/test/api/multithreaded/TestMultithreaded.py
parent2f929b4093662935a75121dbe9dcf79aa844ce5e (diff)
downloadbcm5719-llvm-22fd3b1deeb447d2ecac8711b6e75ab4413336de.tar.gz
bcm5719-llvm-22fd3b1deeb447d2ecac8711b6e75ab4413336de.zip
Fixed the test suite on MacOSX so that "test/api/multithreaded/TestMultithreaded.py" works without errors.
The problem was that the @skipIfNoSBHeaders on darwin was trying to use self.lib_dir when it hadn't been set yet. I looked at the code and places were required to set "self.lib_dir" for no real reason as all places that used it just used the LLDB_LIB_DIR environment variable. So I removed all uses of self.lib_dir and replaced them to use 'os.environ["LLDB_LIB_DIR"]'. Did the same for self.implib_dir. llvm-svn: 251315
Diffstat (limited to 'lldb/test/api/multithreaded/TestMultithreaded.py')
-rw-r--r--lldb/test/api/multithreaded/TestMultithreaded.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/lldb/test/api/multithreaded/TestMultithreaded.py b/lldb/test/api/multithreaded/TestMultithreaded.py
index 9ac25df6927..6be4bc14aa2 100644
--- a/lldb/test/api/multithreaded/TestMultithreaded.py
+++ b/lldb/test/api/multithreaded/TestMultithreaded.py
@@ -69,8 +69,6 @@ class SBBreakpointCallbackCase(TestBase):
if self.getLldbArchitecture() != self.getArchitecture():
self.skipTest("This test is only run if the target arch is the same as the lldb binary arch")
- self.lib_dir = os.environ["LLDB_LIB_DIR"]
- self.implib_dir = os.environ["LLDB_IMPLIB_DIR"]
self.inferior = 'inferior_program'
self.buildProgram('inferior.cpp', self.inferior)
self.addTearDownHook(lambda: os.remove(self.inferior))
OpenPOWER on IntegriCloud