]> git.sur5r.net Git - u-boot/commitdiff
moveconfig: Output a list of failed boards
authorJoe Hershberger <joe.hershberger@ni.com>
Tue, 19 May 2015 18:21:22 +0000 (13:21 -0500)
committerMasahiro Yamada <yamada.masahiro@socionext.com>
Tue, 26 May 2015 23:39:16 +0000 (08:39 +0900)
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>
tools/moveconfig.py

index b1ea7069e20e7df10046bd4d04a778442386dbb4..2b2df8e7e55202dde96f98d906b6e5574f56c328 100755 (executable)
@@ -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.