From: Joe Hershberger Date: Tue, 19 May 2015 18:21:22 +0000 (-0500) Subject: moveconfig: Output a list of failed boards X-Git-Tag: v2015.07-rc2~90 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=2559cd89613e3756288e25642f89e9896083b42a;p=u-boot 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 Acked-by: Masahiro Yamada --- diff --git a/tools/moveconfig.py b/tools/moveconfig.py index b1ea7069e2..2b2df8e7e5 100755 --- a/tools/moveconfig.py +++ b/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.