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

2018-07-09 Thread Simon Glass
On 6 July 2018 at 10:27, Simon Glass 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

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

2018-07-06 Thread Simon Glass
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