]> git.baikalelectronics.ru Git - uboot.git/commitdiff
buildman: Correct overwriting of settings file
authorSimon Glass <sjg@chromium.org>
Mon, 27 Mar 2023 21:47:37 +0000 (10:47 +1300)
committerSimon Glass <sjg@chromium.org>
Thu, 30 Mar 2023 19:32:52 +0000 (08:32 +1300)
The toolchain test causes the settings file to be overwritten, which is
annoying for local development. Fix it by passing None as the filename.

Signed-off-by: Simon Glass <sjg@chromium.org>
tools/buildman/toolchain.py

index ea1ad1bcb8381dfc9db124ddc32e4b3f6a54f91e..6bae913197157b4550098bd35b0a6e6af7a430eb 100644 (file)
@@ -420,7 +420,7 @@ class Toolchains:
         Returns:
             Resolved string
 
-        >>> bsettings.Setup()
+        >>> bsettings.Setup(None)
         >>> tcs = Toolchains()
         >>> tcs.Add('fred', False)
         >>> var_dict = {'oblique' : 'OBLIQUE', 'first' : 'fi${second}rst', \