]> git.dujemihanovic.xyz Git - u-boot.git/commit
test: Wrap assert macros in ({ ... }) and fix missing semicolons
authorMarek Vasut <marek.vasut+renesas@mailbox.org>
Fri, 10 Mar 2023 03:33:13 +0000 (04:33 +0100)
committerSimon Glass <sjg@chromium.org>
Tue, 14 Mar 2023 22:08:51 +0000 (16:08 -0600)
commitfa847bb409d6a07bbd923e7889b485e943d75689
tree88aa1717fd693549dec86e30d04803be976a812e
parent20aaff677d8bc3cc2d529d859aa1ea65f5a4db7d
test: Wrap assert macros in ({ ... }) and fix missing semicolons

Wrap the assert macros in ({ ... }) so they can be safely used both as
right side argument as well as in conditionals without curly brackets
around them. In the process, find a bunch of missing semicolons, fix
them.

Reviewed-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
include/test/ut.h
test/cmd/pwm.c
test/dm/acpigen.c
test/dm/misc.c
test/dm/phy.c
test/dm/scmi.c
test/lib/kconfig.c
test/lib/kconfig_spl.c
test/unicode_ut.c