zephyr/tests/ztest
Bradley Bolen 2323319866 tests: ztest: Use #if defined()
This compile test should be checking if a symbol has been defined,
otherwise it is using the kconfig value directly.  This fixes a warning

../src/main.c:115:37: warning: "CONFIG_SOC_QEMU_ARC" is not defined,
evaluates to 0 [-Wundef]

when using the -Wundef flag.

Signed-off-by: Bradley Bolen <bbolen@lexmark.com>
2021-05-26 14:12:01 -05:00
..
base
custom_output
error_hook tests: ztest: Use #if defined() 2021-05-26 14:12:01 -05:00
mock tests: ztest: Added return data test case 2021-03-09 07:09:13 -05:00