summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/functionalities/load_unload/TestLoadUnload.py
diff options
context:
space:
mode:
authorJason Molenda <jmolenda@apple.com>2017-09-21 23:02:56 +0000
committerJason Molenda <jmolenda@apple.com>2017-09-21 23:02:56 +0000
commit2d5d71c0614a09aab981aa614264581bd83e4249 (patch)
treecd4499b83a6fc093626c6b4eb47011bab5f2702f /lldb/packages/Python/lldbsuite/test/functionalities/load_unload/TestLoadUnload.py
parent540a8c7fad15ba51c12a61e10a929f247dcd49ff (diff)
downloadbcm5719-llvm-2d5d71c0614a09aab981aa614264581bd83e4249.tar.gz
bcm5719-llvm-2d5d71c0614a09aab981aa614264581bd83e4249.zip
Revert this patch; I was emailing with Eugene and they have some other changes going
in today and don't want the two changes to confuse the situation with the build bots. I'll commit tomorrow once they're known good. llvm-svn: 313934
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/functionalities/load_unload/TestLoadUnload.py')
-rw-r--r--lldb/packages/Python/lldbsuite/test/functionalities/load_unload/TestLoadUnload.py12
1 files changed, 4 insertions, 8 deletions
diff --git a/lldb/packages/Python/lldbsuite/test/functionalities/load_unload/TestLoadUnload.py b/lldb/packages/Python/lldbsuite/test/functionalities/load_unload/TestLoadUnload.py
index 8e548e11658..027968a727f 100644
--- a/lldb/packages/Python/lldbsuite/test/functionalities/load_unload/TestLoadUnload.py
+++ b/lldb/packages/Python/lldbsuite/test/functionalities/load_unload/TestLoadUnload.py
@@ -56,14 +56,10 @@ class LoadUnloadTestCase(TestBase):
Does nothing in case of non-remote platforms.
"""
if lldb.remote_platform:
- ext = 'so'
- if self.platformIsDarwin():
- ext = 'dylib'
-
- shlibs = ['libloadunload_a.' + ext, 'libloadunload_b.' + ext,
- 'libloadunload_c.' + ext, 'libloadunload_d.' + ext]
- wd = lldb.remote_platform.GetWorkingDirectory()
cwd = os.getcwd()
+ shlibs = ['libloadunload_a.so', 'libloadunload_b.so',
+ 'libloadunload_c.so', 'libloadunload_d.so']
+ wd = lldb.remote_platform.GetWorkingDirectory()
for f in shlibs:
err = lldb.remote_platform.Put(
lldb.SBFileSpec(os.path.join(cwd, f)),
@@ -73,7 +69,7 @@ class LoadUnloadTestCase(TestBase):
"Unable copy '%s' to '%s'.\n>>> %s" %
(f, wd, err.GetCString()))
if hidden_dir:
- shlib = 'libloadunload_d.' + ext
+ shlib = 'libloadunload_d.so'
hidden_dir = os.path.join(wd, 'hidden')
hidden_file = os.path.join(hidden_dir, shlib)
err = lldb.remote_platform.MakeDirectory(hidden_dir)
OpenPOWER on IntegriCloud