https://github.com/slydiman created https://github.com/llvm/llvm-project/pull/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. Use the local build dir instead. >From d16f016a3e5880b151d769ff7a8095c487a409d7 Mon Sep 17 00:00:00 2001 From: Dmitry Vasilyev <dvassil...@accesssoftek.com> Date: Mon, 13 May 2024 09:48:19 +0400 Subject: [PATCH] [lldb] Fixed the test TestSettings 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. Use the local build dir instead. --- lldb/test/API/commands/settings/TestSettings.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits