
6 Jan
2021
6 Jan
'21
4:13 p.m.
Normally dtoc outputs to a file but it also offers a way to write output to stdout. At present the test for that does not actually check that the output is correct. Add this to the test.
This uses a member variable to hold the expected text, so it can be used in muitiple places.
Signed-off-by: Simon Glass sjg@chromium.org ---
tools/dtoc/test_dtoc.py | 37 ++++++++++++++++++++++--------------- 1 file changed, 22 insertions(+), 15 deletions(-)
Applied to u-boot-dm/next, thanks!