Browse Source

moveconfig: Output a list of failed boards

If boards fail, output that list to a file so that it can easily be
passed back into moveconfig.py using the -d option.

Signed-off-by: Joe Hershberger <joe.hershberger@ni.com>
Acked-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Joe Hershberger 10 năm trước cách đây
mục cha
commit
2559cd8961
1 tập tin đã thay đổi với 4 bổ sung0 xóa
  1. 4 0
      tools/moveconfig.py

+ 4 - 0
tools/moveconfig.py

@@ -716,6 +716,10 @@ class Slots:
                 print >> sys.stderr, color_text(self.options.color,
                                                 COLOR_LIGHT_RED, line)
 
+            with open('moveconfig.failed', 'w') as f:
+                for board in failed_boards:
+                    f.write(board + '\n')
+
 def move_config(config_attrs, options):
     """Move config options to defconfig files.