diff options
author | Tamas Berghammer <tberghammer@google.com> | 2015-12-03 11:02:10 +0000 |
---|---|---|
committer | Tamas Berghammer <tberghammer@google.com> | 2015-12-03 11:02:10 +0000 |
commit | f9a52f044cd65a7b6f77e371a8330bbad40fd074 (patch) | |
tree | b162a2315a46a6acad9bfc296a0576c4581ef94c /lldb/packages/Python/lldbsuite/test/functionalities/load_unload/TestLoadUnload.py | |
parent | f642e88342e71ec77a930cc8d65b974b9a8bb6d1 (diff) | |
download | bcm5719-llvm-f9a52f044cd65a7b6f77e371a8330bbad40fd074.tar.gz bcm5719-llvm-f9a52f044cd65a7b6f77e371a8330bbad40fd074.zip |
Fix TestLoadUnload for Windows -> POSIX remote debugging
Previously we used sys.os.path for appending target pathes what failed
when cased dlopen to fail on the target because of the '\'.
The fix won't work for local Windows tests but dlopen don't available
on Windows anyway so the test don't make sense in that context.
llvm-svn: 254602
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.py | 3 |
1 files changed, 2 insertions, 1 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 a672e8ba8ee..2afb8edf82c 100644 --- a/lldb/packages/Python/lldbsuite/test/functionalities/load_unload/TestLoadUnload.py +++ b/lldb/packages/Python/lldbsuite/test/functionalities/load_unload/TestLoadUnload.py @@ -211,7 +211,8 @@ class LoadUnloadTestCase(TestBase): dylibName = 'libloadunload_a.so' if lldb.remote_platform: - dylibPath = os.path.join(shlib_dir, dylibName) + # Don't use os.path.join as we have to use the path separator for the target + dylibPath = shlib_dir + '/' + dylibName else: dylibPath = dylibName |