From mboxrd@z Thu Jan 1 00:00:00 1970 From: Joe Hershberger Date: Tue, 19 May 2015 13:21:22 -0500 Subject: [U-Boot] [PATCH v5 6/9] moveconfig: Output a list of failed boards In-Reply-To: <1432059685-3018-1-git-send-email-joe.hershberger@ni.com> References: <1431726052-6519-1-git-send-email-joe.hershberger@ni.com> <1432059685-3018-1-git-send-email-joe.hershberger@ni.com> Message-ID: <1432059685-3018-6-git-send-email-joe.hershberger@ni.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 --- Changes in v5: -Changed file handling to use with/as Changes in v4: None Changes in v3: None Changes in v2: None tools/moveconfig.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tools/moveconfig.py b/tools/moveconfig.py index f38dac1..8b8eed6 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. -- 1.7.11.5