https://github.com/da-viper created 
https://github.com/llvm/llvm-project/pull/132392

The build bot was failing when running remote test from windows to linux.

>From 493a5798524361442ab19be4b0a8077910984ffc Mon Sep 17 00:00:00 2001
From: Ebuka Ezike <yerimy...@gmail.com>
Date: Fri, 21 Mar 2025 13:04:29 +0000
Subject: [PATCH] [lldb][NFC] use platform independent path separator.

The build bot was failing when connecting from windows to linux.

Signed-off-by: Ebuka Ezike <yerimy...@gmail.com>
---
 lldb/test/API/commands/settings/TestSettings.py | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/lldb/test/API/commands/settings/TestSettings.py 
b/lldb/test/API/commands/settings/TestSettings.py
index 6b89ff76a2900..045b93dab2e2a 100644
--- a/lldb/test/API/commands/settings/TestSettings.py
+++ b/lldb/test/API/commands/settings/TestSettings.py
@@ -1018,7 +1018,9 @@ def test_settings_api(self):
 
         # Test OptionValueFileSpec and OptionValueFileSpecList
         setting_path = "target.debug-file-search-paths"
-        setting_value = ["/tmp" "/tmp2"]
+        path1 = os.path.join(self.getSourceDir(), "tmp")
+        path2 = os.path.join(self.getSourceDir(), "tmp2")
+        setting_value = [path1, path2]
         self.runCmd("settings set %s %s" % (setting_path, " 
".join(setting_value)))
         settings_json = self.get_setting_json(setting_path)
         self.assertEqual(settings_json, setting_value)

_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to