From 85b991af5a62c7b1957fe561055af3e5f2d61a77 Mon Sep 17 00:00:00 2001 From: Pieter De Gendt Date: Tue, 19 Nov 2024 16:03:48 +0100 Subject: [PATCH] tests: bindesc: reading: Remove usage of deprecated global CSTD Replace global CSTD property with kconfig options. Signed-off-by: Pieter De Gendt --- tests/subsys/bindesc/reading/testcase.yaml | 21 +++++++++++++++------ 1 file changed, 15 insertions(+), 6 deletions(-) diff --git a/tests/subsys/bindesc/reading/testcase.yaml b/tests/subsys/bindesc/reading/testcase.yaml index 78d665eafa7..76fdaa78e80 100644 --- a/tests/subsys/bindesc/reading/testcase.yaml +++ b/tests/subsys/bindesc/reading/testcase.yaml @@ -10,14 +10,23 @@ tests: - native_posix - native_sim bindesc.read.c99: - extra_args: CSTD="c99" + extra_configs: + - CONFIG_STD_C99=y bindesc.read.c11: - extra_args: CSTD="c11" + extra_configs: + - CONFIG_STD_C11=y bindesc.read.c17: - extra_args: CSTD="c17" + extra_configs: + - CONFIG_STD_C17=y bindesc.read.gnu99: - extra_args: CSTD="gnu99" + extra_configs: + - CONFIG_STD_C99=y + - CONFIG_GNU_C_EXTENSIONS=y bindesc.read.gnu11: - extra_args: CSTD="gnu11" + extra_configs: + - CONFIG_STD_C11=y + - CONFIG_GNU_C_EXTENSIONS=y bindesc.read.gnu17: - extra_args: CSTD="gnu17" + extra_configs: + - CONFIG_STD_C17=y + - CONFIG_GNU_C_EXTENSIONS=y