summaryrefslogtreecommitdiffstats
path: root/lldb/test/functionalities
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/functionalities
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/functionalities')
-rw-r--r--lldb/test/functionalities/plugins/commands/TestPluginCommands.py6
1 files changed, 0 insertions, 6 deletions
diff --git a/lldb/test/functionalities/plugins/commands/TestPluginCommands.py b/lldb/test/functionalities/plugins/commands/TestPluginCommands.py
index 50146c9d006..79654e0d56d 100644
--- a/lldb/test/functionalities/plugins/commands/TestPluginCommands.py
+++ b/lldb/test/functionalities/plugins/commands/TestPluginCommands.py
@@ -16,12 +16,6 @@ class PluginCommandTestCase(TestBase):
mydir = TestBase.compute_mydir(__file__)
- def setUp(self):
- # Call super's setUp().
- TestBase.setUp(self)
- self.lib_dir = os.environ["LLDB_LIB_DIR"]
- self.implib_dir = os.environ["LLDB_IMPLIB_DIR"]
-
@skipIfNoSBHeaders
@skipIfHostIncompatibleWithRemote # Requires a compatible arch and platform to link against the host's built lldb lib.
@expectedFailureWindows("llvm.org/pr24778")
OpenPOWER on IntegriCloud