From 4d1ae8ce59a63aaaeeaea85708685620e7728c9d Mon Sep 17 00:00:00 2001 From: Pieter De Gendt Date: Mon, 15 Apr 2024 21:12:26 +0200 Subject: [PATCH] tests: bindesc: Replace CSTD definition with Kconfig symbols Replace the bindesc testcase CSTD definitions with the newly introduced kconfig symbols. Signed-off-by: Pieter De Gendt --- tests/subsys/bindesc/definition/testcase.yaml | 21 +++++++++++++------ 1 file changed, 15 insertions(+), 6 deletions(-) diff --git a/tests/subsys/bindesc/definition/testcase.yaml b/tests/subsys/bindesc/definition/testcase.yaml index 6e1884ee0b..1d51ee82fc 100644 --- a/tests/subsys/bindesc/definition/testcase.yaml +++ b/tests/subsys/bindesc/definition/testcase.yaml @@ -22,14 +22,23 @@ tests: - qemu_riscv32e - qemu_riscv64 bindesc.define.c99: - extra_args: CSTD="c99" + extra_configs: + - CONFIG_STD_C99=y bindesc.define.c11: - extra_args: CSTD="c11" + extra_configs: + - CONFIG_STD_C11=y bindesc.define.c17: - extra_args: CSTD="c17" + extra_configs: + - CONFIG_STD_C17=y bindesc.define.gnu99: - extra_args: CSTD="gnu99" + extra_configs: + - CONFIG_STD_C99=y + - CONFIG_GNU_C_EXTENSIONS=y bindesc.define.gnu11: - extra_args: CSTD="gnu11" + extra_configs: + - CONFIG_STD_C11=y + - CONFIG_GNU_C_EXTENSIONS=y bindesc.define.gnu17: - extra_args: CSTD="gnu17" + extra_configs: + - CONFIG_STD_C17=y + - CONFIG_GNU_C_EXTENSIONS=y