Skip to content

Commit ea6d0c4

Browse files
committed
One further tweak for realpathing filepath to match dyld
I missed one place I need to realpath the build artifact path, to make it match the path we get back from dyld.
1 parent ad73ce3 commit ea6d0c4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lldb/test/API/commands/platform/sdk/TestPlatformSDK.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ def cleanup():
8585
lldbutil.wait_for_file_on_target(self, token)
8686

8787
# Move the binary into the 'SDK'.
88-
rel_exe_path = os.path.relpath(exe, '/')
88+
rel_exe_path = os.path.relpath(os.path.realpath(exe), '/')
8989
exe_sdk_path = os.path.join(symbols_dir, rel_exe_path)
9090
lldbutil.mkdir_p(os.path.dirname(exe_sdk_path))
9191
shutil.move(exe, exe_sdk_path)

0 commit comments

Comments
 (0)