[Lldb-commits] [lldb] 710d95d - [lldb] Fixed the test TestSettings when run with a remote target (#91915)
via lldb-commits
lldb-commits at lists.llvm.org
Mon May 13 04:55:23 PDT 2024
Author: Dmitry Vasilyev
Date: 2024-05-13T15:55:20+04:00
New Revision: 710d95d1ecb4b6d69507cb910274ef3077ddc9c9
URL: https://github.com/llvm/llvm-project/commit/710d95d1ecb4b6d69507cb910274ef3077ddc9c9
DIFF: https://github.com/llvm/llvm-project/commit/710d95d1ecb4b6d69507cb910274ef3077ddc9c9.diff
LOG: [lldb] Fixed the test TestSettings when run with a remote target (#91915)
The setting `platform.module-cache-directory` is a local path on the
host. It cannot be set to a working directory from the remote target.
This test failed in case of Windows host and Linux target because of the
incompatible path. Use the local build dir instead.
Added:
Modified:
lldb/test/API/commands/settings/TestSettings.py
Removed:
################################################################################
diff --git a/lldb/test/API/commands/settings/TestSettings.py b/lldb/test/API/commands/settings/TestSettings.py
index 104a9f09788c3..385acceb7a8b5 100644
--- a/lldb/test/API/commands/settings/TestSettings.py
+++ b/lldb/test/API/commands/settings/TestSettings.py
@@ -953,7 +953,7 @@ def test_settings_api(self):
# Test OptionValueFileSpec
self.verify_setting_value_json(
- "platform.module-cache-directory", self.get_process_working_directory()
+ "platform.module-cache-directory", self.getBuildDir()
)
# Test OptionValueArray
More information about the lldb-commits
mailing list