Antwort: [PATCH v2] test: Use ut_asserteq_mem() where possible

Wolfgang Wallner wolfgang.wallner at br-automation.com
Tue May 12 14:08:01 CEST 2020


Hi Simon,

-----"Simon Glass" <sjg at chromium.org> schrieb: -----
>Betreff: [PATCH v2] test: Use ut_asserteq_mem() where possible
>
>Quite a few tests still use ut_assertok(memcmp(...)) and variants.
>Modify
>them to use the macro designed for this purpose.
>
>Suggested-by: Wolfgang Wallner <wolfgang.wallner at br-automation.com>
>
>Signed-off-by: Simon Glass <sjg at chromium.org>
>---
>
>Changes in v2:
>- Convert two more that were missed
>
> test/compression.c   |   8 +--
> test/dm/acpi.c       |   6 +-
> test/dm/axi.c        |   4 +-
> test/dm/dma.c        |   6 +-
> test/dm/eth.c        |  12 ++--
> test/dm/i2c.c        |  18 +++---
> test/dm/misc.c       |  10 ++--
> test/dm/osd.c        | 134
>+++++++++++++++++++++++--------------------
> test/dm/remoteproc.c |   6 +-
> test/dm/sf.c         |   4 +-
> test/unicode_ut.c    |   6 +-
> 11 files changed, 112 insertions(+), 102 deletions(-)

Reviewed-by: Wolfgang Wallner <wolfgang.wallner at br-automation.com>


More information about the U-Boot mailing list