[U-Boot] [PATCH v2 12/29] dtoc: Update tests to write failures to /tmp

Simon Glass sjg at chromium.org
Mon Jul 9 19:52:34 UTC 2018


On 6 July 2018 at 10:27, Simon Glass <sjg at chromium.org> wrote:
> When a test fails due to an output mismatch (e.g. due to a new property
> being adding to a test file) it is currently hard to update the test to
> the new output. In particular the tabs in the file are written as \t in
> the Python tests.
>
> To make this easier, write both the expected and actual results to /tmp
> to allow use of meld, and copying into the test.
>
> Signed-off-by: Simon Glass <sjg at chromium.org>
> ---
>
> Changes in v2: None
>
>  tools/dtoc/test_dtoc.py | 56 ++++++++++++++++++++++++++++++-----------
>  1 file changed, 42 insertions(+), 14 deletions(-)

Applied to u-boot-dm


More information about the U-Boot mailing list