From f9a52f044cd65a7b6f77e371a8330bbad40fd074 Mon Sep 17 00:00:00 2001 From: Tamas Berghammer Date: Thu, 3 Dec 2015 11:02:10 +0000 Subject: 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 --- .../lldbsuite/test/functionalities/load_unload/TestLoadUnload.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lldb/packages/Python/lldbsuite/test/functionalities/load_unload/TestLoadUnload.py') 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 -- cgit v1.2.3