Skip to content

Commit 493a579

Browse files
committed
[lldb][NFC] use platform independent path separator.
The build bot was failing when connecting from windows to linux. Signed-off-by: Ebuka Ezike <[email protected]>
1 parent 09feaa9 commit 493a579

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

lldb/test/API/commands/settings/TestSettings.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1018,7 +1018,9 @@ def test_settings_api(self):
10181018

10191019
# Test OptionValueFileSpec and OptionValueFileSpecList
10201020
setting_path = "target.debug-file-search-paths"
1021-
setting_value = ["/tmp" "/tmp2"]
1021+
path1 = os.path.join(self.getSourceDir(), "tmp")
1022+
path2 = os.path.join(self.getSourceDir(), "tmp2")
1023+
setting_value = [path1, path2]
10221024
self.runCmd("settings set %s %s" % (setting_path, " ".join(setting_value)))
10231025
settings_json = self.get_setting_json(setting_path)
10241026
self.assertEqual(settings_json, setting_value)

0 commit comments

Comments
 (0)