commit | 2323319866fc190bc6eed44e9f8675fad3c0b207 | [log] [tgz] |
---|---|---|
author | Bradley Bolen <bbolen@lexmark.com> | Mon May 10 11:15:27 2021 -0400 |
committer | Kumar Gala <kumar.gala@gmail.com> | Wed May 26 14:12:01 2021 -0500 |
tree | 76aa7e3219347f9c3f84ddfeaf3315e770add765 | |
parent | 505c22ee79ee81ee91ae1de882af2817808eef50 [diff] |
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>