================
@@ -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)))
----------------
labath wrote:
```suggestion
self.runCmd("settings set %s '%s' '%s'" % (setting_path, path1, path2))
```
Might as well quote, just in case.
https://github.com/llvm/llvm-project/pull/132392
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits