Add -Wno-error=shadow build option for kdbus tests 23/270723/1
authorHyotaek Shim <hyotaek.shim@samsung.com>
Tue, 8 Feb 2022 05:40:17 +0000 (14:40 +0900)
committerHyotaek Shim <hyotaek.shim@samsung.com>
Tue, 8 Feb 2022 05:28:41 +0000 (05:28 +0000)
commitec65f2c1bf7342034f571be11b1f70aa30bcd44b
treee94195fc506401fc43bccffcc2b63f6c2666a50f
parentf4b84d16e34d5b75a98d742ca6ac64b020a0a417
Add -Wno-error=shadow build option for kdbus tests

In some different build environment (e.g., product divisions),
several strict compilation options can be added like -Werror=shadow.
Shadowing is intentional and not a bug in tests so that we avoid this build error
by adding -Wno-error=shadow

[  105s] kdbus-test.h:42:20: error: declaration of '_ASSERT_RETURN_VAL_val0_' shadows
a previous local [-Werror=shadow]
[  105s]    42 |  __auto_type const _ASSERT_RETURN_VAL_val0_ = (val0);\

Change-Id: Ia4f8a746dce0b39c896daf2e4cd1c87f62a8dadd
Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
(cherry picked from commit 614454cc441948f3c8c68ac2408fa86d7a716fa8)
tests/kdbus/Makefile