Skip to content

Commit 00bffa9

Browse files
author
git apple-llvm automerger
committed
Merge commit '5286511adc94' from llvm.org/main into next
2 parents 3b64a45 + 5286511 commit 00bffa9

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

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

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1018,8 +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"]
1022-
self.runCmd("settings set %s %s" % (setting_path, " ".join(setting_value)))
1021+
path1 = os.path.join(self.getSourceDir(), "tmp")
1022+
path2 = os.path.join(self.getSourceDir(), "tmp2")
1023+
self.runCmd("settings set %s '%s' '%s'" % (setting_path, path1, path2))
10231024
settings_json = self.get_setting_json(setting_path)
10241025
self.assertEqual(settings_json, setting_value)
10251026

0 commit comments

Comments
 (0)