]> git.baikalelectronics.ru Git - uboot.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)
commitdb7ff668282289ca67f88ea7f345b7cb43de67bf
tree88aa1717fd693549dec86e30d04803be976a812e
parent2e0fb155ca9c52034cbd5c621bd19fb317672a4d
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